capstone/tests/details
Giovanni 81a6ba0389
MIPS: Fix MIPS16 decoding, wrong flags and ghost registers (#2665)
* Disable Mips_FeatureUseIndirectJumpsHazard

Mips_FeatureUseIndirectJumpsHazard is only used for jalr when used in
mips32 configs.

* DDIV test

* Fix details on instructions that contains ghost registers.

* Add missing MIPS tables & Fix mips16 and JrcRa16/AddiuSpImmX16 decoding.

Mips16 decoding of JrcRa16 & AddiuSpImmX16 was expecting the wrong bits.

Implement DecodeCPU16RegsRegisterClass for Mips16

Adds missing mips decoding tables:
- DecoderTableNanoMips_Conflict_Space16
- DecoderTableMicroMipsR6_Ambiguous32
- DecoderTableMicroMipsDSP32
- DecoderTable16
- DecoderTable32
- DecoderTableMips32r6_64r6_Ambiguous32
- DecoderTableMips32r6_64r6_BranchZero32
- DecoderTableMipsDSP32

* Patch details only when details are request.

* Fix wrong tests

* Address comments

* Add mips DSP test

* microMips32r3 DSP

* Test Conflict_Space16

* Test Conflict_Space16
2025-04-04 13:40:01 +08:00
..
README.md Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
aarch64.yaml Enhance shift value and types of shift instructions. (#2638) 2025-03-09 22:11:53 +08:00
alpha.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
arc.yaml Rebased #2570 (#2614) 2025-01-28 22:34:24 +08:00
arm.yaml Arm regressions (#2556) 2024-12-05 19:27:41 +08:00
bpf.yaml Update BPF arch (#2568) 2024-12-15 20:46:45 +08:00
cs_common_details.yaml MIPS: Fix MIPS16 decoding, wrong flags and ghost registers (#2665) 2025-04-04 13:40:01 +08:00
evm.yaml Apply new EVM opcode updates (#2602) 2025-01-28 20:51:43 +08:00
hppa.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
loongarch.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
m68k.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
m680x.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
mips.yaml Auto-Sync Mips (#2410) 2024-09-07 22:30:47 +08:00
mos65xx.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
ppc.yaml PPC regressions (#2575) 2024-12-15 14:05:26 +08:00
riscv.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
sh.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
sparc.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
systemz.yaml SystemZ Auto-Sync refactor (#2462) 2024-09-14 16:57:54 +08:00
tms320c64x.yaml Tms32c64x Little Endian (#2648) 2025-03-22 21:49:54 +08:00
tricore.yaml Add tricore tc1.8 instructions (#2595) 2025-01-28 20:50:43 +08:00
wasm.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
x86.yaml x86: update read/write registers for transfer instructions (#2578) 2024-12-15 21:14:17 +08:00
xcore.yaml Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
xtensa.yaml xtensa: update to espressif/llvm-project (#2533) 2024-11-10 21:55:40 +08:00

README.md

Test instruction details

This directory contains test cases for the cs_detail struct. Test files are consumed by the cstest tool (see: suite/cstest).