Files
ircolib/tests/MC/AArch64/SVE2/whilehs.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

201 lines
4.6 KiB
YAML

test_cases:
-
input:
bytes: [ 0xef, 0x1b, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.b, xzr, x0"
-
input:
bytes: [ 0x0f, 0x18, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.b, x0, xzr"
-
input:
bytes: [ 0xef, 0x0b, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.b, wzr, w0"
-
input:
bytes: [ 0x0f, 0x08, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.b, w0, wzr"
-
input:
bytes: [ 0x0f, 0x18, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.h, x0, xzr"
-
input:
bytes: [ 0x0f, 0x08, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.h, w0, wzr"
-
input:
bytes: [ 0x0f, 0x18, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.s, x0, xzr"
-
input:
bytes: [ 0x0f, 0x08, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.s, w0, wzr"
-
input:
bytes: [ 0x0f, 0x08, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.d, w0, wzr"
-
input:
bytes: [ 0x0f, 0x18, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "whilehs p15.d, x0, xzr"
-
input:
bytes: [ 0xef, 0x1b, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.b, xzr, x0"
-
input:
bytes: [ 0x0f, 0x18, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.b, x0, xzr"
-
input:
bytes: [ 0xef, 0x0b, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.b, wzr, w0"
-
input:
bytes: [ 0x0f, 0x08, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.b, w0, wzr"
-
input:
bytes: [ 0x0f, 0x18, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.h, x0, xzr"
-
input:
bytes: [ 0x0f, 0x08, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.h, w0, wzr"
-
input:
bytes: [ 0x0f, 0x18, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.s, x0, xzr"
-
input:
bytes: [ 0x0f, 0x08, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.s, w0, wzr"
-
input:
bytes: [ 0x0f, 0x08, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.d, w0, wzr"
-
input:
bytes: [ 0x0f, 0x18, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilehs p15.d, x0, xzr"