[PATCH] D16889: [mips] Addition of the immediate cases for the instructions [d]div, [d]divu
Srdjan Obucina via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 06:20:50 PDT 2016
obucina marked 7 inline comments as done.
================
Comment at: test/MC/Mips/macro-ddiv.s:185-189
@@ +184,7 @@
+# CHECK-TRAP: addiu $1, $zero, 15 # encoding: [0x24,0x01,0x00,0x0f]
+# CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
+# CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
+# CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
+# CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
+# CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
+# CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
----------------
With MTI toolchain everything works fine.
http://reviews.llvm.org/D16889
More information about the llvm-commits
mailing list