Files
jak-project/third-party/capstone/tests/MC/ARM/neon-reverse-encoding.s.yaml
Tyler Wilding bfc4c18ada goalc: replicate tests for the majority of ARM64 non-simd cases (#4377)
- Adds `capstone` as a disassembling library that could eventually
replace Zydis (for now left that alone)
- Replicates all of the existing x86 tests to ARM64, fixed a bunch of
underlying issues along the way
- There are a very small handful of tests remaining that need to be
enabled / fixed
2026-08-16 15:34:37 -04:00

33 lines
1.0 KiB
YAML
Vendored
Generated

test_cases:
-
input:
bytes: [ 0x20, 0x00, 0xf0, 0xf3, 0x20, 0x00, 0xf4, 0xf3, 0x20, 0x00, 0xf8, 0xf3, 0x60, 0x00, 0xf0, 0xf3, 0x60, 0x00, 0xf4, 0xf3, 0x60, 0x00, 0xf8, 0xf3, 0xa0, 0x00, 0xf0, 0xf3, 0xa0, 0x00, 0xf4, 0xf3, 0xe0, 0x00, 0xf0, 0xf3, 0xe0, 0x00, 0xf4, 0xf3, 0x20, 0x01, 0xf0, 0xf3, 0x60, 0x01, 0xf0, 0xf3 ]
arch: "CS_ARCH_ARM"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_MODE_ARM" ]
expected:
insns:
-
asm_text: "vrev64.8 d16, d16"
-
asm_text: "vrev64.16 d16, d16"
-
asm_text: "vrev64.32 d16, d16"
-
asm_text: "vrev64.8 q8, q8"
-
asm_text: "vrev64.16 q8, q8"
-
asm_text: "vrev64.32 q8, q8"
-
asm_text: "vrev32.8 d16, d16"
-
asm_text: "vrev32.16 d16, d16"
-
asm_text: "vrev32.8 q8, q8"
-
asm_text: "vrev32.16 q8, q8"
-
asm_text: "vrev16.8 d16, d16"
-
asm_text: "vrev16.8 q8, q8"