fp.isa (8270:34d2cb97a7a8) fp.isa (8301:858384f3af1c)
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

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

2069 }
2070 if (rt == 0xf) {
2071 CPSR cpsrMask = 0;
2072 cpsrMask.n = 1;
2073 cpsrMask.z = 1;
2074 cpsrMask.c = 1;
2075 cpsrMask.v = 1;
2076 if (specReg == MISCREG_FPSCR) {
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

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

2069 }
2070 if (rt == 0xf) {
2071 CPSR cpsrMask = 0;
2072 cpsrMask.n = 1;
2073 cpsrMask.z = 1;
2074 cpsrMask.c = 1;
2075 cpsrMask.v = 1;
2076 if (specReg == MISCREG_FPSCR) {
2077 return new VmrsApsrFpscr(machInst, INTREG_CONDCODES,
2077 return new VmrsApsrFpscr(machInst, INTREG_CONDCODES_F,
2078 (IntRegIndex)specReg, (uint32_t)cpsrMask);
2079 } else {
2078 (IntRegIndex)specReg, (uint32_t)cpsrMask);
2079 } else {
2080 return new VmrsApsr(machInst, INTREG_CONDCODES,
2081 (IntRegIndex)specReg, (uint32_t)cpsrMask);
2080 return new Unknown(machInst);
2082 }
2083 } else if (specReg == MISCREG_FPSCR) {
2084 return new VmrsFpscr(machInst, rt, (IntRegIndex)specReg);
2085 } else {
2086 return new Vmrs(machInst, rt, (IntRegIndex)specReg);
2087 }
2088 }
2089 } else {

--- 423 unchanged lines hidden ---
2081 }
2082 } else if (specReg == MISCREG_FPSCR) {
2083 return new VmrsFpscr(machInst, rt, (IntRegIndex)specReg);
2084 } else {
2085 return new Vmrs(machInst, rt, (IntRegIndex)specReg);
2086 }
2087 }
2088 } else {

--- 423 unchanged lines hidden ---