Files
ircolib/tests/MC/AArch64/neon-scalar-saturating-shift.s.yaml
T
iris 802798ce3c Squashed 'external/capstone/' content from commit e46f64fa
git-subtree-dir: external/capstone
git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
2026-05-11 11:55:07 +02:00

81 lines
1.9 KiB
YAML

test_cases:
-
input:
bytes: [ 0x20, 0x4c, 0x22, 0x5e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sqshl b0, b1, b2"
-
input:
bytes: [ 0x6a, 0x4d, 0x6c, 0x5e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sqshl h10, h11, h12"
-
input:
bytes: [ 0xb4, 0x4e, 0xa2, 0x5e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sqshl s20, s21, s2"
-
input:
bytes: [ 0xf1, 0x4f, 0xe8, 0x5e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sqshl d17, d31, d8"
-
input:
bytes: [ 0x20, 0x4c, 0x22, 0x7e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "uqshl b0, b1, b2"
-
input:
bytes: [ 0x6a, 0x4d, 0x6c, 0x7e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "uqshl h10, h11, h12"
-
input:
bytes: [ 0xb4, 0x4e, 0xa2, 0x7e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "uqshl s20, s21, s2"
-
input:
bytes: [ 0xf1, 0x4f, 0xe8, 0x7e ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "uqshl d17, d31, d8"