Files
jak-project/third-party/capstone/tests/MC/ARM/neont2-absdiff-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

85 lines
3.0 KiB
YAML
Vendored
Generated

test_cases:
-
input:
bytes: [ 0x40, 0xef, 0xa1, 0x07, 0x50, 0xef, 0xa1, 0x07, 0x60, 0xef, 0xa1, 0x07, 0x40, 0xff, 0xa1, 0x07, 0x50, 0xff, 0xa1, 0x07, 0x60, 0xff, 0xa1, 0x07, 0x60, 0xff, 0xa1, 0x0d, 0x40, 0xef, 0xe2, 0x07, 0x50, 0xef, 0xe2, 0x07, 0x60, 0xef, 0xe2, 0x07, 0x40, 0xff, 0xe2, 0x07, 0x50, 0xff, 0xe2, 0x07, 0x60, 0xff, 0xe2, 0x07, 0x60, 0xff, 0xe2, 0x0d, 0xc0, 0xef, 0xa1, 0x07, 0xd0, 0xef, 0xa1, 0x07, 0xe0, 0xef, 0xa1, 0x07, 0xc0, 0xff, 0xa1, 0x07, 0xd0, 0xff, 0xa1, 0x07, 0xe0, 0xff, 0xa1, 0x07, 0x42, 0xef, 0xb1, 0x07, 0x52, 0xef, 0xb1, 0x07, 0x62, 0xef, 0xb1, 0x07, 0x42, 0xff, 0xb1, 0x07, 0x52, 0xff, 0xb1, 0x07, 0x62, 0xff, 0xb1, 0x07, 0x40, 0xef, 0xf4, 0x27, 0x50, 0xef, 0xf4, 0x27, 0x60, 0xef, 0xf4, 0x27, 0x40, 0xff, 0xf4, 0x27, 0x50, 0xff, 0xf4, 0x27, 0x60, 0xff, 0xf4, 0x27, 0xc3, 0xef, 0xa2, 0x05, 0xd3, 0xef, 0xa2, 0x05, 0xe3, 0xef, 0xa2, 0x05, 0xc3, 0xff, 0xa2, 0x05, 0xd3, 0xff, 0xa2, 0x05, 0xe3, 0xff, 0xa2, 0x05 ]
arch: "CS_ARCH_ARM"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_MODE_THUMB" ]
expected:
insns:
-
asm_text: "vabd.s8 d16, d16, d17"
-
asm_text: "vabd.s16 d16, d16, d17"
-
asm_text: "vabd.s32 d16, d16, d17"
-
asm_text: "vabd.u8 d16, d16, d17"
-
asm_text: "vabd.u16 d16, d16, d17"
-
asm_text: "vabd.u32 d16, d16, d17"
-
asm_text: "vabd.f32 d16, d16, d17"
-
asm_text: "vabd.s8 q8, q8, q9"
-
asm_text: "vabd.s16 q8, q8, q9"
-
asm_text: "vabd.s32 q8, q8, q9"
-
asm_text: "vabd.u8 q8, q8, q9"
-
asm_text: "vabd.u16 q8, q8, q9"
-
asm_text: "vabd.u32 q8, q8, q9"
-
asm_text: "vabd.f32 q8, q8, q9"
-
asm_text: "vabdl.s8 q8, d16, d17"
-
asm_text: "vabdl.s16 q8, d16, d17"
-
asm_text: "vabdl.s32 q8, d16, d17"
-
asm_text: "vabdl.u8 q8, d16, d17"
-
asm_text: "vabdl.u16 q8, d16, d17"
-
asm_text: "vabdl.u32 q8, d16, d17"
-
asm_text: "vaba.s8 d16, d18, d17"
-
asm_text: "vaba.s16 d16, d18, d17"
-
asm_text: "vaba.s32 d16, d18, d17"
-
asm_text: "vaba.u8 d16, d18, d17"
-
asm_text: "vaba.u16 d16, d18, d17"
-
asm_text: "vaba.u32 d16, d18, d17"
-
asm_text: "vaba.s8 q9, q8, q10"
-
asm_text: "vaba.s16 q9, q8, q10"
-
asm_text: "vaba.s32 q9, q8, q10"
-
asm_text: "vaba.u8 q9, q8, q10"
-
asm_text: "vaba.u16 q9, q8, q10"
-
asm_text: "vaba.u32 q9, q8, q10"
-
asm_text: "vabal.s8 q8, d19, d18"
-
asm_text: "vabal.s16 q8, d19, d18"
-
asm_text: "vabal.s32 q8, d19, d18"
-
asm_text: "vabal.u8 q8, d19, d18"
-
asm_text: "vabal.u16 q8, d19, d18"
-
asm_text: "vabal.u32 q8, d19, d18"