]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/testsuite/sim/or1k/div.S
or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / or1k / div.S
index e1e28d562131de9d8b5e65aea8badbe54ba0cbb1..a3202e9f8c72b47bc3ef7412ec8258e87f97a18a 100644 (file)
 # output: report(0x0000000c);\n
 # output: report(0x00000000);\n
 # output: report(0xfffffffd);\n
-# output: report(0x00000001);\n
 # output: report(0x00000000);\n
+# output: report(0x00000001);\n
 # output: report(0x00000000);\n
 # output: \n
 # output: report(0xfffffff4);\n
 # output: report(0x00000000);\n
 # output: report(0xfffffffd);\n
-# output: report(0x00000001);\n
 # output: report(0x00000000);\n
+# output: report(0x00000001);\n
 # output: report(0x00000000);\n
 # output: \n
 # output: report(0x0000000c);\n
 # output: report(0x00000000);\n
 # output: report(0xfffffffd);\n
-# output: report(0x00000001);\n
 # output: report(0x00000000);\n
 # output: report(0x00000001);\n
+# output: report(0x00000001);\n
 # output: \n
 # output: report(0xfffffff4);\n
 # output: report(0x00000000);\n
 # output: report(0xfffffffd);\n
-# output: report(0x00000001);\n
 # output: report(0x00000000);\n
 # output: report(0x00000001);\n
+# output: report(0x00000001);\n
 # output: \n
 # output: report(0x0000000c);\n
 # output: report(0x00000003);\n
@@ -233,7 +233,7 @@ start_tests:
        TEST_INST_I32_I32 l.div, 0x0000000c, 0xfffffffd
        TEST_INST_I32_I32 l.div, 0x0000000b, 0xfffffffd
 
-       /* Divide by zero.  This will set the carry flag.  */
+       /* Divide by zero.  This will set the overflow flag.  */
        TEST_INST_I32_I32 l.div, 0x0000000c, 0x00000000
        TEST_INST_I32_I32 l.div, 0xfffffff4, 0x00000000
 
@@ -241,7 +241,7 @@ start_tests:
 
        SET_SPR_SR_FLAGS SPR_SR_OVE, r2, r3
 
-       /* Divide by zero.  This will set the carry flag and trigger an
+       /* Divide by zero.  This will set the overflow flag and trigger an
           exception.  */
        TEST_INST_I32_I32 l.div, 0x0000000c, 0x00000000
        TEST_INST_I32_I32 l.div, 0xfffffff4, 0x00000000