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
--- 48 unchanged lines hidden (view full) ---
57 if (!vfpEnabled(Cpacr, Cpsr))
58 if (op1 != (int)MISCREG_FPEXC && op1 != (int)MISCREG_FPSID &&
59 op1 != (int)MISCREG_MVFR0 && op1 != (int)MISCREG_MVFR1)
60 return disabledFault();
61 if (!inPrivilegedMode(Cpsr))
62 if (op1 != (int)MISCREG_FPSCR)
63 return disabledFault();
64 '''
65}};
66
67def template FpRegRegOpDeclare {{
68class %(class_name)s : public %(base_class)s
69{
70 public:
71 // Constructor
72 %(class_name)s(ExtMachInst machInst,
--- 107 unchanged lines hidden ---
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
--- 48 unchanged lines hidden (view full) ---
57 if (!vfpEnabled(Cpacr, Cpsr))
58 if (op1 != (int)MISCREG_FPEXC && op1 != (int)MISCREG_FPSID &&
59 op1 != (int)MISCREG_MVFR0 && op1 != (int)MISCREG_MVFR1)
60 return disabledFault();
61 if (!inPrivilegedMode(Cpsr))
62 if (op1 != (int)MISCREG_FPSCR)
63 return disabledFault();
64 '''
65}};
66
67def template FpRegRegOpDeclare {{
68class %(class_name)s : public %(base_class)s
69{
70 public:
71 // Constructor
72 %(class_name)s(ExtMachInst machInst,
--- 107 unchanged lines hidden ---