summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Disassembler/Mips/mips32/valid-fp64.txt
blob: 08e7e54c4c0e7a6a9f06007025ee1265c7ec6ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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
OpenPOWER on IntegriCloud