llvm-for-llvmta/test/MC/Disassembler/Mips/mips32/valid-fp64.txt

18 lines
748 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc --disassemble -arch=mips -mcpu=mips32 -mattr=+fp64 %s | \
# RUN: FileCheck %s
0x46 0x00 0x60 0x04 # CHECK: sqrt.s $f0, $f12
0x46 0x00 0x60 0x05 # CHECK: abs.s $f0, $f12
0x46 0x20 0x60 0x04 # CHECK: sqrt.d $f0, $f12
0x46 0x20 0x60 0x05 # CHECK: abs.d $f0, $f12
0x46 0x24 0x10 0x00 # CHECK: add.d $f0, $f2, $f4
0x46 0x24 0x10 0x01 # CHECK: sub.d $f0, $f2, $f4
0x46 0x24 0x10 0x02 # CHECK: mul.d $f0, $f2, $f4
0x46 0x24 0x10 0x03 # CHECK: div.d $f0, $f2, $f4
0x46 0x20 0x10 0x06 # CHECK: mov.d $f0, $f2
0x46 0x20 0x10 0x07 # CHECK: neg.d $f0, $f2
0x46 0x20 0x10 0x24 # CHECK: cvt.w.d $f0, $f2
0x46 0x00 0x10 0x21 # CHECK: cvt.d.s $f0, $f2
0x46 0x80 0x10 0x21 # CHECK: cvt.d.w $f0, $f2
0x46 0x20 0x10 0x20 # CHECK: cvt.s.d $f0, $f2