30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
# RUN: llvm-mc --disassemble -arch=mips -mcpu=mips32r2 -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
|
|
0x46 0xa0 0x81 0x21 # CHECK: cvt.d.l $f4, $f16
|
|
0x46 0xa0 0xf3 0xe0 # CHECK: cvt.s.l $f15, $f30
|
|
0x46 0xc0 0xd3 0xa0 # CHECK: cvt.s.pu $f14, $f26
|
|
0x46 0x14 0x90 0xa6 # CHECK: cvt.ps.s $f2, $f18, $f20
|
|
0x46 0xc0 0x17 0xa8 # CHECK: cvt.s.pl $f30, $f2
|
|
0x46 0xde 0x46 0x2c # CHECK: pll.ps $f24, $f8, $f30
|
|
0x46 0xdc 0xd0 0x2d # CHECK: plu.ps $f0, $f26, $f28
|
|
0x44 0xe4 0x00 0x00 # CHECK: mthc1 $4, $f0
|
|
0x44 0x64 0x00 0x00 # CHECK: mfhc1 $4, $f0
|
|
0x46 0xda 0x71 0x00 # CHECK: add.ps $f4, $f14, $f26
|
|
0x46 0xda 0x71 0x01 # CHECK: sub.ps $f4, $f14, $f26
|
|
0x46 0xda 0x71 0x02 # CHECK: mul.ps $f4, $f14, $f26
|