Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit a2c5fcb

Browse files
Hrvoje VargaHrvoje Varga
authored andcommitted
[mips][micromips] Written missing test for CEIL.L.S, CEIL.L.D, FLOOR.L.S and FLOOR.L.D instructions
Differential Revision: http://reviews.llvm.org/D17192 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260673 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 268499a commit a2c5fcb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/MC/Mips/micromips64r6/valid.s

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,9 @@ a:
150150
di # CHECK: di # encoding: [0x00,0x00,0x47,0x7c]
151151
di $0 # CHECK: di # encoding: [0x00,0x00,0x47,0x7c]
152152
di $15 # CHECK: di $15 # encoding: [0x00,0x0f,0x47,0x7c]
153+
ceil.l.s $f1, $f3 # CHECK: ceil.l.s $f1, $f3 # encoding: [0x54,0x23,0x13,0x3b]
154+
ceil.l.d $f1, $f3 # CHECK: ceil.l.d $f1, $f3 # encoding: [0x54,0x23,0x53,0x3b]
155+
floor.l.s $f1, $f3 # CHECK: floor.l.s $f1, $f3 # encoding: [0x54,0x23,0x03,0x3b]
156+
floor.l.d $f1, $f3 # CHECK: floor.l.d $f1, $f3 # encoding: [0x54,0x23,0x43,0x3b]
153157

154158
1:

0 commit comments

Comments
 (0)