It is possible to configure the build process such that decoding of 32 bit and 64 bit instructions can be chosen at runtime using an additional parameter of the decode function. The header file is now entirely architecture-independent and no longer required any previous defines. Decoding x86-64 still requires a 64-bit pointer size.
2 lines
73 B
Meson
2 lines
73 B
Meson
option('archmode', type: 'combo', choices: ['both', 'only32', 'only64'])
|