VirtualBox

Changeset 105808 in vbox


Ignore:
Timestamp:
Aug 22, 2024 7:42:49 AM (5 weeks ago)
Author:
vboxsync
Message:

Disassembler/ARMv8: Rework the disassembler tables to allow for an arbitrary number of decode steps and make the tables a bit more compact, bugref:10394 [build fix]

Location:
trunk/src/VBox/Disassembler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmInternal-armv8.h

    r105807 r105808  
    197197                                                                 a_fFixedInsn, a_fClass, a_enmOpcDecode, a_fMask, a_cShift, \
    198198                                                                 { a_enmParamType1, a_enmParamType2, a_enmParamType3, a_enmParamType4 }, \
    199                                                                  & g_aArmV8A64Insn ## a_Name ## Decode[0] };
     199                                                                 & g_aArmV8A64Insn ## a_Name ## Decode[0] }
    200200#define DIS_ARMV8_DECODE_INSN_CLASS_DEFINE_END_PARAMS_3(a_Name, a_fFixedInsn, a_fClass, a_enmOpcDecode, a_fMask, a_cShift, \
    201201                                                        a_enmParamType1, a_enmParamType2, a_enmParamType3) \
  • trunk/src/VBox/Disassembler/DisasmTables-armv8-a64.cpp

    r105807 r105808  
    6363    DIS_ARMV8_INSN_DECODE(kDisParmParseImm,    0, 16, 0 /*idxParam*/),
    6464DIS_ARMV8_DECODE_INSN_CLASS_DEFINE_END_PARAMS_1(Rsvd, 0xffff0000 /*fFixedInsn*/, 0 /*fClass*/,
    65                                             kDisArmV8OpcDecodeNop, 0xffff0000, 16,
    66                                             kDisArmv8OpParmImm);
     65                                                kDisArmV8OpcDecodeNop, 0xffff0000, 16,
     66                                                kDisArmv8OpParmImm);
    6767
    6868/* ADR/ADRP */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette