- test_mulhsu_0 = test_op(Funct3.MULHSU, 0x00000000, 0x00000000, result=0x00000000)
- test_mulhsu_1 = test_op(Funct3.MULHSU, 0x00000000, 0x00000001, result=0x00000000)
- test_mulhsu_2 = test_op(Funct3.MULHSU, 0x00000000, 0xffffffff, result=0x00000000)
- test_mulhsu_3 = test_op(Funct3.MULHSU, 0x00000000, 0x7fffffff, result=0x00000000)
- test_mulhsu_4 = test_op(Funct3.MULHSU, 0x00000000, 0x80000000, result=0x00000000)
-
- test_mulhsu_5 = test_op(Funct3.MULHSU, 0x00000001, 0x00000000, result=0x00000000)
- test_mulhsu_6 = test_op(Funct3.MULHSU, 0x00000001, 0x00000001, result=0x00000000)
- test_mulhsu_7 = test_op(Funct3.MULHSU, 0x00000001, 0xffffffff, result=0x00000000)
- test_mulhsu_8 = test_op(Funct3.MULHSU, 0x00000001, 0x7fffffff, result=0x00000000)
- test_mulhsu_9 = test_op(Funct3.MULHSU, 0x00000001, 0x80000000, result=0x00000000)
-
- test_mulhsu_10 = test_op(Funct3.MULHSU, 0xffffffff, 0x00000000, result=0x00000000)
- test_mulhsu_11 = test_op(Funct3.MULHSU, 0xffffffff, 0x00000001, result=0xffffffff)
- test_mulhsu_12 = test_op(Funct3.MULHSU, 0xffffffff, 0xffffffff, result=0xffffffff)
- test_mulhsu_13 = test_op(Funct3.MULHSU, 0xffffffff, 0x7fffffff, result=0xffffffff)
- test_mulhsu_14 = test_op(Funct3.MULHSU, 0xffffffff, 0x80000000, result=0xffffffff)
-
- test_mulhsu_15 = test_op(Funct3.MULHSU, 0x7fffffff, 0x00000000, result=0x00000000)
- test_mulhsu_16 = test_op(Funct3.MULHSU, 0x7fffffff, 0x00000001, result=0x00000000)
- test_mulhsu_17 = test_op(Funct3.MULHSU, 0x7fffffff, 0xffffffff, result=0x7ffffffe)
- test_mulhsu_18 = test_op(Funct3.MULHSU, 0x7fffffff, 0x7fffffff, result=0x3fffffff)
- test_mulhsu_19 = test_op(Funct3.MULHSU, 0x7fffffff, 0x80000000, result=0x3fffffff)
-
- test_mulhsu_20 = test_op(Funct3.MULHSU, 0x80000000, 0x00000000, result=0x00000000)
- test_mulhsu_21 = test_op(Funct3.MULHSU, 0x80000000, 0x00000001, result=0xffffffff)
- test_mulhsu_22 = test_op(Funct3.MULHSU, 0x80000000, 0xffffffff, result=0x80000000)
- test_mulhsu_23 = test_op(Funct3.MULHSU, 0x80000000, 0x7fffffff, result=0xc0000000)
- test_mulhsu_24 = test_op(Funct3.MULHSU, 0x80000000, 0x80000000, result=0xc0000000)
+ test_mulhsu_0 = tst_op(Funct3.MULHSU, 0x00000000,
+ 0x00000000, result=0x00000000)
+ test_mulhsu_1 = tst_op(Funct3.MULHSU, 0x00000000,
+ 0x00000001, result=0x00000000)
+ test_mulhsu_2 = tst_op(Funct3.MULHSU, 0x00000000,
+ 0xffffffff, result=0x00000000)
+ test_mulhsu_3 = tst_op(Funct3.MULHSU, 0x00000000,
+ 0x7fffffff, result=0x00000000)
+ test_mulhsu_4 = tst_op(Funct3.MULHSU, 0x00000000,
+ 0x80000000, result=0x00000000)
+
+ test_mulhsu_5 = tst_op(Funct3.MULHSU, 0x00000001,
+ 0x00000000, result=0x00000000)
+ test_mulhsu_6 = tst_op(Funct3.MULHSU, 0x00000001,
+ 0x00000001, result=0x00000000)
+ test_mulhsu_7 = tst_op(Funct3.MULHSU, 0x00000001,
+ 0xffffffff, result=0x00000000)
+ test_mulhsu_8 = tst_op(Funct3.MULHSU, 0x00000001,
+ 0x7fffffff, result=0x00000000)
+ test_mulhsu_9 = tst_op(Funct3.MULHSU, 0x00000001,
+ 0x80000000, result=0x00000000)
+
+ test_mulhsu_10 = tst_op(Funct3.MULHSU, 0xffffffff,
+ 0x00000000, result=0x00000000)
+ test_mulhsu_11 = tst_op(Funct3.MULHSU, 0xffffffff,
+ 0x00000001, result=0xffffffff)
+ test_mulhsu_12 = tst_op(Funct3.MULHSU, 0xffffffff,
+ 0xffffffff, result=0xffffffff)
+ test_mulhsu_13 = tst_op(Funct3.MULHSU, 0xffffffff,
+ 0x7fffffff, result=0xffffffff)
+ test_mulhsu_14 = tst_op(Funct3.MULHSU, 0xffffffff,
+ 0x80000000, result=0xffffffff)
+
+ test_mulhsu_15 = tst_op(Funct3.MULHSU, 0x7fffffff,
+ 0x00000000, result=0x00000000)
+ test_mulhsu_16 = tst_op(Funct3.MULHSU, 0x7fffffff,
+ 0x00000001, result=0x00000000)
+ test_mulhsu_17 = tst_op(Funct3.MULHSU, 0x7fffffff,
+ 0xffffffff, result=0x7ffffffe)
+ test_mulhsu_18 = tst_op(Funct3.MULHSU, 0x7fffffff,
+ 0x7fffffff, result=0x3fffffff)
+ test_mulhsu_19 = tst_op(Funct3.MULHSU, 0x7fffffff,
+ 0x80000000, result=0x3fffffff)
+
+ test_mulhsu_20 = tst_op(Funct3.MULHSU, 0x80000000,
+ 0x00000000, result=0x00000000)
+ test_mulhsu_21 = tst_op(Funct3.MULHSU, 0x80000000,
+ 0x00000001, result=0xffffffff)
+ test_mulhsu_22 = tst_op(Funct3.MULHSU, 0x80000000,
+ 0xffffffff, result=0x80000000)
+ test_mulhsu_23 = tst_op(Funct3.MULHSU, 0x80000000,
+ 0x7fffffff, result=0xc0000000)
+ test_mulhsu_24 = tst_op(Funct3.MULHSU, 0x80000000,
+ 0x80000000, result=0xc0000000)