capstone/arch/PowerPC/PPCGenCSFeatureName.inc
Rot127 93a104c009
PPC LLVM 18 (#2540)
* Update PPC module to LLVM 18.

**New**

(According to LLVM changelog)

- Added DFP instruction.
- Added the SCV instruction.

**Changes**

- Memory decoder were simplified by decoding disponent and base reg separately.
- `DFORM` -> `DFORM_BASE`
- Use inverted `MCInstDesc` table.
- Replace the many declared printer in PPCInstPrinter with `static inlines`.
- Renamed groups to upper case.
- Switched to `ARCH_add_cs_detail_X()` function names.
- Remove `PPCInstPrinter.h` because it is no longer used.

* Fix: Use correct directory name.

* Fix segfaults and add asserts for these NULL cases.

* Allow to map a single LLVM option to multiple CS options

* Add default endian option to the MCUpdater

* Fix setter for Little endian

* Add SPE option to cstool

* Fix QPX instructions.

Due to 4b43ef3e5c
the names of the operands were matched.
Because FRT dosn't exist in the XForm_1 class,
the generated tables didn't decoded them.

* Fix: AbsAddr should be printed as unsigned.

* Fix S12 immediate printing for PC memory operands

* Fix MCUpdater tests

* Update PPCRegisterInfo_stripRegisterPrefix

* Add support for selection of Power versions

* Run clang-format

* Fix feature check

* Allow to overwrite in multi-mode

* Add some more flags

* Fix order and map name

* Add new test files.

* Fix checks for features.

Only enables PowerX feature checks of a Power architecture is enabled
and the feature is in the list of it.

* Print byte sequence with space between comma.

This helps with copy and search of the byte string in the test files.

* Fix tests broken due to feature toggles

* Shorten generated names.

* Update bindings
2024-12-05 19:26:33 +08:00

43 lines
1.6 KiB
C

/* Capstone Disassembly Engine, https://www.capstone-engine.org */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2022, */
/* Rot127 <unisono@quyllur.org> 2022-2024 */
/* Automatically generated file by Capstone's LLVM TableGen Disassembler Backend. */
/* LLVM-commit: <commit> */
/* LLVM-tag: <tag> */
/* Do not edit. */
/* Capstone's LLVM TableGen Backends: */
/* https://github.com/capstone-engine/llvm-capstone */
{ PPC_FEATURE_HASPS, "HasPS" },
{ PPC_FEATURE_IN32BITMODE, "In32BitMode" },
{ PPC_FEATURE_IN64BITMODE, "In64BitMode" },
{ PPC_FEATURE_ISBOOKE, "IsBookE" },
{ PPC_FEATURE_ISNOTBOOKE, "IsNotBookE" },
{ PPC_FEATURE_HASONLYMSYNC, "HasOnlyMSYNC" },
{ PPC_FEATURE_HASSYNC, "HasSYNC" },
{ PPC_FEATURE_ISPPC4XX, "IsPPC4xx" },
{ PPC_FEATURE_ISPPC6XX, "IsPPC6xx" },
{ PPC_FEATURE_ISE500, "IsE500" },
{ PPC_FEATURE_HASSPE, "HasSPE" },
{ PPC_FEATURE_HASICBT, "HasICBT" },
{ PPC_FEATURE_HASPARTWORDATOMICS, "HasPartwordAtomics" },
{ PPC_FEATURE_HASQUADWORDATOMICS, "HasQuadwordAtomics" },
{ PPC_FEATURE_NONANSFPMATH, "NoNaNsFPMath" },
{ PPC_FEATURE_NANSFPMATH, "NaNsFPMath" },
{ PPC_FEATURE_HASBPERMD, "HasBPERMD" },
{ PPC_FEATURE_HASEXTDIV, "HasExtDiv" },
{ PPC_FEATURE_ISISA2_06, "IsISA2_06" },
{ PPC_FEATURE_ISISA2_07, "IsISA2_07" },
{ PPC_FEATURE_ISISA3_0, "IsISA3_0" },
{ PPC_FEATURE_HASFPU, "HasFPU" },
{ PPC_FEATURE_PCRELATIVEMEMOPS, "PCRelativeMemops" },
{ PPC_FEATURE_ISNOTISA3_1, "IsNotISA3_1" },
{ PPC_FEATURE_MODERNAS, "ModernAs" },
{ PPC_FEATURE_ISAIX, "IsAIX" },
{ PPC_FEATURE_NOTAIX, "NotAIX" },
{ PPC_FEATURE_ISISAFUTURE, "IsISAFuture" },
{ PPC_FEATURE_ISNOTISAFUTURE, "IsNotISAFuture" },
{ PPC_FEATURE_HASQPX, "HasQPX" },