data.isa (8782:10c9297e14d5) | data.isa (8909:7fa0a081f12f) |
---|---|
1// Copyright (c) 2010 ARM Limited 2// All rights reserved 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 1026 unchanged lines hidden (view full) --- 1035 case 0x0: 1036 return new AddReg(machInst, rdn, rdn, rm, 0, LSL); 1037 case 0x1: 1038 return new CmpRegCc(machInst, INTREG_ZERO, rdn, rm, 0, LSL); 1039 case 0x2: 1040 return new MovReg(machInst, rdn, INTREG_ZERO, rm, 0, LSL); 1041 case 0x3: 1042 if (bits(machInst, 7) == 0) { | 1// Copyright (c) 2010 ARM Limited 2// All rights reserved 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 1026 unchanged lines hidden (view full) --- 1035 case 0x0: 1036 return new AddReg(machInst, rdn, rdn, rm, 0, LSL); 1037 case 0x1: 1038 return new CmpRegCc(machInst, INTREG_ZERO, rdn, rm, 0, LSL); 1039 case 0x2: 1040 return new MovReg(machInst, rdn, INTREG_ZERO, rm, 0, LSL); 1041 case 0x3: 1042 if (bits(machInst, 7) == 0) { |
1043 ConditionCode condCode; 1044 if(machInst.itstateMask) { 1045 condCode = (ConditionCode)(uint8_t)machInst.itstateCond; 1046 } else { 1047 condCode = COND_UC; 1048 } | |
1049 return new BxReg(machInst, 1050 (IntRegIndex)(uint32_t)bits(machInst, 6, 3), | 1043 return new BxReg(machInst, 1044 (IntRegIndex)(uint32_t)bits(machInst, 6, 3), |
1051 condCode); | 1045 COND_UC); |
1052 } else { | 1046 } else { |
1053 ConditionCode condCode; 1054 if(machInst.itstateMask) { 1055 condCode = (ConditionCode)(uint8_t)machInst.itstateCond; 1056 } else { 1057 condCode = COND_UC; 1058 } | |
1059 return new BlxReg(machInst, 1060 (IntRegIndex)(uint32_t)bits(machInst, 6, 3), | 1047 return new BlxReg(machInst, 1048 (IntRegIndex)(uint32_t)bits(machInst, 6, 3), |
1061 condCode); | 1049 COND_UC); |
1062 } 1063 } 1064 } 1065 ''' 1066}}; 1067 1068def format Thumb16Adr() {{ 1069 decode_block = ''' --- 477 unchanged lines hidden --- | 1050 } 1051 } 1052 } 1053 ''' 1054}}; 1055 1056def format Thumb16Adr() {{ 1057 decode_block = ''' --- 477 unchanged lines hidden --- |