XenonRecomp/thirdparty/capstone/tests/MC/AArch64/neon-shift-left-long.s.yaml
2024-09-07 18:15:29 +06:00

121 lines
2.9 KiB
YAML

test_cases:
-
input:
bytes: [ 0x20, 0xa4, 0x0b, 0x0f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sshll v0.8h, v1.8b, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x13, 0x0f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sshll v0.4s, v1.4h, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x23, 0x0f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sshll v0.2d, v1.2s, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x0b, 0x4f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sshll2 v0.8h, v1.16b, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x13, 0x4f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sshll2 v0.4s, v1.8h, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x23, 0x4f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "sshll2 v0.2d, v1.4s, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x0b, 0x2f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "ushll v0.8h, v1.8b, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x13, 0x2f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "ushll v0.4s, v1.4h, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x23, 0x2f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "ushll v0.2d, v1.2s, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x0b, 0x6f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "ushll2 v0.8h, v1.16b, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x13, 0x6f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "ushll2 v0.4s, v1.8h, #3"
-
input:
bytes: [ 0x20, 0xa4, 0x23, 0x6f ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
expected:
insns:
-
asm_text: "ushll2 v0.2d, v1.4s, #3"