[PATCH] D17192: [mips][micromips] Written missing test for CEIL.L.S, CEIL.L.D, FLOOR.L.S and FLOOR.L.D instructions

Hrvoje Varga via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 01:42:12 PST 2016


hvarga created this revision.
hvarga added reviewers: dsanders, zoran.jovanovic, zbuljan.
hvarga added subscribers: llvm-commits, petarj.
Herald added a reviewer: vkalintiris.
Herald added a subscriber: dsanders.

This patch intruduces a few missing assembler tests for microMIPS64r6.

http://reviews.llvm.org/D17192

Files:
  test/MC/Mips/micromips64r6/valid.s

Index: test/MC/Mips/micromips64r6/valid.s
===================================================================
--- test/MC/Mips/micromips64r6/valid.s
+++ test/MC/Mips/micromips64r6/valid.s
@@ -150,5 +150,9 @@
         di                       # CHECK: di                      # encoding: [0x00,0x00,0x47,0x7c]
         di $0                    # CHECK: di                      # encoding: [0x00,0x00,0x47,0x7c]
         di $15                   # CHECK: di $15                  # encoding: [0x00,0x0f,0x47,0x7c]
+        ceil.l.s $f1, $f3        # CHECK: ceil.l.s $f1, $f3       # encoding: [0x54,0x23,0x13,0x3b]
+        ceil.l.d $f1, $f3        # CHECK: ceil.l.d $f1, $f3       # encoding: [0x54,0x23,0x53,0x3b]
+        floor.l.s $f1, $f3       # CHECK: floor.l.s $f1, $f3      # encoding: [0x54,0x23,0x03,0x3b]
+        floor.l.d $f1, $f3       # CHECK: floor.l.d $f1, $f3      # encoding: [0x54,0x23,0x43,0x3b]
 
 1:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17192.47780.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160212/538b9df8/attachment.bin>


More information about the llvm-commits mailing list