vfp.isa (7396:53454ef35b46) vfp.isa (7640:5286a8a469c5)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 23 unchanged lines hidden (view full) ---

32// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37//
38// Authors: Gabe Black
39
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 23 unchanged lines hidden (view full) ---

32// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37//
38// Authors: Gabe Black
39
40let {{
41 vfpEnabledCheckCode = '''
42 if (!vfpEnabled(Cpacr, Cpsr, Fpexc))
43 return disabledFault();
44 '''
45
46 vmsrrsEnabledCheckCode = '''
47 if (!vfpEnabled(Cpacr, Cpsr))
48 return disabledFault();
49 '''
50}};
51
40def template FpRegRegOpDeclare {{
41class %(class_name)s : public %(base_class)s
42{
43 public:
44 // Constructor
45 %(class_name)s(ExtMachInst machInst,
46 IntRegIndex _dest, IntRegIndex _op1,
47 VfpMicroMode mode = VfpNotAMicroop);

--- 85 unchanged lines hidden ---
52def template FpRegRegOpDeclare {{
53class %(class_name)s : public %(base_class)s
54{
55 public:
56 // Constructor
57 %(class_name)s(ExtMachInst machInst,
58 IntRegIndex _dest, IntRegIndex _op1,
59 VfpMicroMode mode = VfpNotAMicroop);

--- 85 unchanged lines hidden ---