mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 23:13:54 +00:00
Initial Commit
This commit is contained in:
208
thirdparty/capstone/tests/MC/LoongArch/d-comp.s.yaml
vendored
Normal file
208
thirdparty/capstone/tests/MC/LoongArch/d-comp.s.yaml
vendored
Normal file
@@ -0,0 +1,208 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x10, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.caf.s $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x20, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.caf.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x24, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cun.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x22, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.ceq.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x26, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cueq.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x21, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.clt.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x25, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cult.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x23, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cle.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x27, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cule.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x28, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cne.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x2a, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cor.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x04, 0x2c, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.cune.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x20, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.saf.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x24, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sun.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x22, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.seq.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x26, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sueq.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x21, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.slt.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x25, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sult.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x23, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sle.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x27, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sule.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x28, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sne.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x2a, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sor.d $fcc0, $fa0, $fa1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0x84, 0x2c, 0x0c ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "fcmp.sune.d $fcc0, $fa0, $fa1"
|
Reference in New Issue
Block a user