forked from OSchip/llvm-project
20 lines
838 B
Plaintext
20 lines
838 B
Plaintext
# RUN: llvm-mc --disassemble -arch=mipsel -mcpu=mips32r5 -mattr=+fp64 %s | \
|
|
# RUN: FileCheck %s
|
|
|
|
0x04 0x60 0x00 0x46 # CHECK: sqrt.s $f0, $f12
|
|
0x05 0x60 0x00 0x46 # CHECK: abs.s $f0, $f12
|
|
0x04 0x60 0x20 0x46 # CHECK: sqrt.d $f0, $f12
|
|
0x05 0x60 0x20 0x46 # CHECK: abs.d $f0, $f12
|
|
0x00 0x10 0x24 0x46 # CHECK: add.d $f0, $f2, $f4
|
|
0x01 0x10 0x24 0x46 # CHECK: sub.d $f0, $f2, $f4
|
|
0x02 0x10 0x24 0x46 # CHECK: mul.d $f0, $f2, $f4
|
|
0x03 0x10 0x24 0x46 # CHECK: div.d $f0, $f2, $f4
|
|
0x06 0x10 0x20 0x46 # CHECK: mov.d $f0, $f2
|
|
0x07 0x10 0x20 0x46 # CHECK: neg.d $f0, $f2
|
|
0x24 0x10 0x20 0x46 # CHECK: cvt.w.d $f0, $f2
|
|
0x21 0x10 0x00 0x46 # CHECK: cvt.d.s $f0, $f2
|
|
0x21 0x10 0x80 0x46 # CHECK: cvt.d.w $f0, $f2
|
|
0x20 0x10 0x20 0x46 # CHECK: cvt.s.d $f0, $f2
|
|
0x00 0x00 0xe4 0x44 # CHECK: mthc1 $4, $f0
|
|
0x00 0x00 0x64 0x44 # CHECK: mfhc1 $4, $f0
|