Changeset 106626 in vbox for trunk/src/VBox/Disassembler/DisasmCore-armv8.cpp
- Timestamp:
- Oct 23, 2024 4:54:39 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmCore-armv8.cpp
r106618 r106626 80 80 static FNDISPARSEARMV8 disArmV8ParseImmZero; 81 81 static FNDISPARSEARMV8 disArmV8ParseGprZr; 82 static FNDISPARSEARMV8 disArmV8ParseGprZr32; 83 static FNDISPARSEARMV8 disArmV8ParseGprZr64; 82 84 static FNDISPARSEARMV8 disArmV8ParseGprSp; 83 85 static FNDISPARSEARMV8 disArmV8ParseGprOff; … … 129 131 disArmV8ParseImmZero, 130 132 disArmV8ParseGprZr, 133 disArmV8ParseGprZr32, 134 disArmV8ParseGprZr64, 131 135 disArmV8ParseGprSp, 132 136 disArmV8ParseGprOff, … … 306 310 307 311 312 static int disArmV8ParseGprZr32(PDISSTATE pDis, uint32_t u32Insn, PCDISARMV8OPCODE pOp, PCDISARMV8INSNCLASS pInsnClass, PDISOPPARAM pParam, PCDISARMV8INSNPARAM pInsnParm, bool *pf64Bit) 313 { 314 RT_NOREF(pDis, pOp, pInsnClass, pf64Bit); 315 pParam->armv8.Op.Reg.idReg = disArmV8ExtractBitVecFromInsn(u32Insn, pInsnParm->idxBitStart, pInsnParm->cBits); 316 pParam->armv8.Op.Reg.enmRegType = kDisOpParamArmV8RegType_Gpr_32Bit; 317 return VINF_SUCCESS; 318 } 319 320 321 static int disArmV8ParseGprZr64(PDISSTATE pDis, uint32_t u32Insn, PCDISARMV8OPCODE pOp, PCDISARMV8INSNCLASS pInsnClass, PDISOPPARAM pParam, PCDISARMV8INSNPARAM pInsnParm, bool *pf64Bit) 322 { 323 RT_NOREF(pDis, pOp, pInsnClass, pf64Bit); 324 pParam->armv8.Op.Reg.idReg = disArmV8ExtractBitVecFromInsn(u32Insn, pInsnParm->idxBitStart, pInsnParm->cBits); 325 pParam->armv8.Op.Reg.enmRegType = kDisOpParamArmV8RegType_Gpr_64Bit; 326 return VINF_SUCCESS; 327 } 328 329 308 330 static int disArmV8ParseGprSp(PDISSTATE pDis, uint32_t u32Insn, PCDISARMV8OPCODE pOp, PCDISARMV8INSNCLASS pInsnClass, PDISOPPARAM pParam, PCDISARMV8INSNPARAM pInsnParm, bool *pf64Bit) 309 331 { … … 950 972 int rc = VINF_SUCCESS; 951 973 PCDISARMV8INSNPARAM pDecode = &pInsnClass->paParms[0]; 974 if (pOp->paDecode) 975 pDecode = &pOp->paDecode[0]; 952 976 while ( (pDecode->idxParse != kDisParmParseNop) 953 977 && RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.