Kaizen/external/capstone/tests/MC/AArch64/SVE/sunpkhi.s.yaml

60 lines
1.4 KiB
YAML

test_cases:
-
input:
bytes: [ 0xff, 0x3b, 0x71, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sunpkhi z31.h, z31.b"
-
input:
bytes: [ 0xff, 0x3b, 0xb1, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sunpkhi z31.s, z31.h"
-
input:
bytes: [ 0xff, 0x3b, 0xf1, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sunpkhi z31.d, z31.s"
-
input:
bytes: [ 0xff, 0x3b, 0x71, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sunpkhi z31.h, z31.b"
-
input:
bytes: [ 0xff, 0x3b, 0xb1, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sunpkhi z31.s, z31.h"
-
input:
bytes: [ 0xff, 0x3b, 0xf1, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sunpkhi z31.d, z31.s"