fp.isa (8301:858384f3af1c) | fp.isa (8303:5a95f1d2494e) |
---|---|
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 --- 2054 unchanged lines hidden (view full) --- 2063 break; 2064 case 8: 2065 specReg = MISCREG_FPEXC; 2066 break; 2067 default: 2068 return new Unknown(machInst); 2069 } 2070 if (rt == 0xf) { | 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 --- 2054 unchanged lines hidden (view full) --- 2063 break; 2064 case 8: 2065 specReg = MISCREG_FPEXC; 2066 break; 2067 default: 2068 return new Unknown(machInst); 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) { | 2071 if (specReg == MISCREG_FPSCR) { |
2077 return new VmrsApsrFpscr(machInst, INTREG_CONDCODES_F, 2078 (IntRegIndex)specReg, (uint32_t)cpsrMask); | 2072 return new VmrsApsrFpscr(machInst); |
2079 } else { 2080 return new Unknown(machInst); 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 } --- 425 unchanged lines hidden --- | 2073 } else { 2074 return new Unknown(machInst); 2075 } 2076 } else if (specReg == MISCREG_FPSCR) { 2077 return new VmrsFpscr(machInst, rt, (IntRegIndex)specReg); 2078 } else { 2079 return new Vmrs(machInst, rt, (IntRegIndex)specReg); 2080 } --- 425 unchanged lines hidden --- |