Files
ircolib/tests/MC/AArch64/SVE/trn2.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

161 lines
3.7 KiB
YAML

test_cases:
-
input:
bytes: [ 0xff, 0x77, 0x3f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 z31.b, z31.b, z31.b"
-
input:
bytes: [ 0xff, 0x77, 0x7f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 z31.h, z31.h, z31.h"
-
input:
bytes: [ 0xff, 0x77, 0xbf, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 z31.s, z31.s, z31.s"
-
input:
bytes: [ 0xff, 0x77, 0xff, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 z31.d, z31.d, z31.d"
-
input:
bytes: [ 0xef, 0x55, 0x2f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 p15.b, p15.b, p15.b"
-
input:
bytes: [ 0xef, 0x55, 0xaf, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 p15.s, p15.s, p15.s"
-
input:
bytes: [ 0xef, 0x55, 0x6f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 p15.h, p15.h, p15.h"
-
input:
bytes: [ 0xef, 0x55, 0xef, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "trn2 p15.d, p15.d, p15.d"
-
input:
bytes: [ 0xff, 0x77, 0x3f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 z31.b, z31.b, z31.b"
-
input:
bytes: [ 0xff, 0x77, 0x7f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 z31.h, z31.h, z31.h"
-
input:
bytes: [ 0xff, 0x77, 0xbf, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 z31.s, z31.s, z31.s"
-
input:
bytes: [ 0xff, 0x77, 0xff, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 z31.d, z31.d, z31.d"
-
input:
bytes: [ 0xef, 0x55, 0x2f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 p15.b, p15.b, p15.b"
-
input:
bytes: [ 0xef, 0x55, 0xaf, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 p15.s, p15.s, p15.s"
-
input:
bytes: [ 0xef, 0x55, 0x6f, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 p15.h, p15.h, p15.h"
-
input:
bytes: [ 0xef, 0x55, 0xef, 0x05 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "trn2 p15.d, p15.d, p15.d"