Files
ircolib/tests/MC/Sparc/sparcv9_atomic_instructions_v9_big_endian.txt.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

61 lines
1.4 KiB
YAML

test_cases:
-
input:
bytes: [ 0x81, 0x43, 0xe0, 0x0f ]
arch: "CS_ARCH_SPARC"
options: [ "CS_MODE_V9", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "membar #LoadLoad | #StoreLoad | #LoadStore | #StoreStore"
-
input:
bytes: [ 0x81, 0x43, 0xe0, 0x01 ]
arch: "CS_ARCH_SPARC"
options: [ "CS_MODE_V9", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "membar #LoadLoad"
-
input:
bytes: [ 0x81, 0x43, 0xe0, 0x09 ]
arch: "CS_ARCH_SPARC"
options: [ "CS_MODE_V9", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "membar #LoadLoad | #StoreStore"
-
input:
bytes: [ 0x81, 0x43, 0xe0, 0x7f ]
arch: "CS_ARCH_SPARC"
options: [ "CS_MODE_V9", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "membar #LoadLoad | #StoreLoad | #LoadStore | #StoreStore | #Lookaside | #MemIssue | #Sync"
-
input:
bytes: [ 0xd4, 0xfe, 0x20, 0x06 ]
arch: "CS_ARCH_SPARC"
options: [ "CS_MODE_V9", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "swapa [%i0+6] %asi, %o2"
-
input:
bytes: [ 0xc2, 0xee, 0x20, 0x02 ]
arch: "CS_ARCH_SPARC"
options: [ "CS_MODE_V9", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "ldstuba [%i0+2] %asi, %g1"