From e8789ee4b106d146945679c1e2cf6021ff2cc5b8 Mon Sep 17 00:00:00 2001 From: MuhammadHammad001 Date: Tue, 19 Sep 2023 02:26:42 +0500 Subject: [PATCH 1/2] Adding tests for covering registers as described in issue number 306 --- riscv-test-suite/rv32i_m/M/src/div-01.S | 3697 ++++++++++--------- riscv-test-suite/rv64i_m/M/src/div-01.S | 4458 ++++++++++++----------- 2 files changed, 4306 insertions(+), 3849 deletions(-) diff --git a/riscv-test-suite/rv32i_m/M/src/div-01.S b/riscv-test-suite/rv32i_m/M/src/div-01.S index c1274ff96..e50295203 100644 --- a/riscv-test-suite/rv32i_m/M/src/div-01.S +++ b/riscv-test-suite/rv32i_m/M/src/div-01.S @@ -1,11 +1,12 @@ // ----------- -// This file was generated by riscv_ctg (https://gitlab.com/incoresemi/riscv-compliance/riscv_ctg) -// version : 0.4.1 -// timestamp : Tue Dec 15 15:41:59 2020 GMT +// This file was generated by riscv_ctg (https://github.com/riscv-software-src/riscv-ctg) +// version : 0.11.1 +// timestamp : Mon Sep 18 19:38:51 2023 GMT // usage : riscv_ctg \ -// -- cgf ('/scratch/git-repo/incoresemi/riscv-compliance/riscv_ctg/sample_cgfs/dataset.cgf', '/scratch/git-repo/incoresemi/riscv-compliance/riscv_ctg/sample_cgfs/rv32im.cgf') \ -// -- xlen 32 \ +// -- cgf // --cgf /home/hammad/Ali_Tariq_solution/riscv-ctg/sample_cgfs/dataset.cgf \ +// --cgf /home/hammad/Ali_Tariq_solution/riscv-ctg/sample_cgfs/rv32im.cgf \ +// -- xlen 32 \ // ----------- // // ----------- @@ -13,7 +14,7 @@ // SPDX-License-Identifier: BSD-3-Clause // ----------- // -// This assembly file tests the div instruction of the RISC-V M extension for the div covergroup. +// This assembly file tests the div instruction of the RISC-V RV32M extension for the div covergroup. // #include "model_test.h" #include "arch_test.h" @@ -27,2962 +28,3084 @@ RVTEST_CODE_BEGIN #ifdef TEST_CASE_1 -RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*M.*);def TEST_CASE_1=True;",div) +RVTEST_CASE(0,"//check ISA:=regex(.*I.*M.*);def TEST_CASE_1=True;",div) -RVTEST_SIGBASE( x2,signature_x2_1) +RVTEST_SIGBASE(x1,signature_x1_1) inst_0: -// rs1 == rd != rs2, rs1==x0, rs2==x26, rd==x0, rs1_val > 0 and rs2_val > 0, rs1_val != rs2_val, rs2_val == 262144 -// opcode: div ; op1:x0; op2:x26; dest:x0; op1val:0x0; op2val:0x40000 -TEST_RR_OP(div, x0, x0, x26, 0, 0x0, 0x40000, x2, 0, x8) +// rs1 == rs2 == rd, rs1==x31, rs2==x31, rd==x31, rs1_val != rs2_val, rs1_val==46341 and rs2_val==-46339, rs1_val > 0 and rs2_val < 0 +// opcode: div ; op1:x31; op2:x31; dest:x31; op1val:0xb505; op2val:0xb505 +TEST_RR_OP(div, x31, x31, x31, 0x1, 0xb505, 0xb505, x1, 0*XLEN/8, x2) inst_1: -// rs1 == rs2 != rd, rs1==x17, rs2==x17, rd==x19, rs1_val > 0 and rs2_val < 0, rs1_val == 256, rs2_val == -3 -// opcode: div ; op1:x17; op2:x17; dest:x19; op1val:0x100; op2val:0x100 -TEST_RR_OP(div, x19, x17, x17, 0x1, 0x100, 0x100, x2, 4, x8) +// rs2 == rd != rs1, rs1==x29, rs2==x30, rd==x30, rs1_val < 0 and rs2_val < 0, rs1_val==-46339 and rs2_val==-46339, rs1_val == rs2_val +// opcode: div ; op1:x29; op2:x30; dest:x30; op1val:-0xb503; op2val:-0xb503 +TEST_RR_OP(div, x30, x29, x30, 0x1, -0xb503, -0xb503, x1, 1*XLEN/8, x2) inst_2: -// rs2 == rd != rs1, rs1==x26, rs2==x11, rd==x11, rs1_val < 0 and rs2_val < 0, rs1_val == -8193 -// opcode: div ; op1:x26; op2:x11; dest:x11; op1val:-0x2001; op2val:-0x1 -TEST_RR_OP(div, x11, x26, x11, 0x2001, -0x2001, -0x1, x2, 8, x8) +// rs1 == "x0" != rd, rs1==x0, rs2==x29, rd==x29, rs1_val < 0 and rs2_val > 0, rs1_val==-46339 and rs2_val==46341 +// opcode: div ; op1:x0; op2:x29; dest:x29; op1val:0x0; op2val:0xb505 +TEST_RR_OP(div, x29, x0, x29, 0x0, 0x0, 0xb505, x1, 2*XLEN/8, x2) inst_3: -// rs1 != rs2 and rs1 != rd and rs2 != rd, rs1==x30, rs2==x5, rd==x18, rs1_val < 0 and rs2_val > 0, rs1_val == -17, rs2_val == 65536 -// opcode: div ; op1:x30; op2:x5; dest:x18; op1val:-0x11; op2val:0x10000 -TEST_RR_OP(div, x18, x30, x5, 0x0, -0x11, 0x10000, x2, 12, x8) +// rs1 != rs2 and rs1 != rd and rs2 != rd, rs1==x30, rs1_val == (-2**(xlen-1)), rs1_val == -2147483648 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x80000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, -0xb504, -0x80000000, 0xb505, x1, 3*XLEN/8, x2) inst_4: -// rs1 == rs2 == rd, rs1==x10, rs2==x10, rd==x10, rs1_val == rs2_val, rs2_val == 524288, rs1_val == 524288 -// opcode: div ; op1:x10; op2:x10; dest:x10; op1val:0x80000; op2val:0x80000 -TEST_RR_OP(div, x10, x10, x10, 0x1, 0x80000, 0x80000, x2, 16, x8) +// rs1 == rd != rs2 and rd != "x0", rs1==x28, rs1_val == (2**(xlen-1)-1), rs1_val > 0 and rs2_val > 0, rs1_val == 2147483647 +// opcode: div ; op1:x28; op2:x31; dest:x28; op1val:0x7fffffff; op2val:0xb505 +TEST_RR_OP(div, x28, x28, x31, 0xb504, 0x7fffffff, 0xb505, x1, 4*XLEN/8, x2) inst_5: -// rs1==x29, rs2==x25, rd==x16, rs2_val == (-2**(xlen-1)), rs2_val == -2147483648, rs1_val == -257 -// opcode: div ; op1:x29; op2:x25; dest:x16; op1val:-0x101; op2val:-0x80000000 -TEST_RR_OP(div, x16, x29, x25, 0x0, -0x101, -0x80000000, x2, 20, x8) +// rs1 == rs2 != rd, rs1==x27, rs1_val == 0, rs1_val==0 and rs2_val==46341 +// opcode: div ; op1:x27; op2:x27; dest:x31; op1val:0x0; op2val:0x0 +TEST_RR_OP(div, x31, x27, x27, 0xFFFFFFFF, 0x0, 0x0, x1, 5*XLEN/8, x2) inst_6: -// rs1==x4, rs2==x0, rd==x17, rs2_val == 0, rs1_val == 128 -// opcode: div ; op1:x4; op2:x0; dest:x17; op1val:0x80; op2val:0x0 -TEST_RR_OP(div, x17, x4, x0, 0xFFFFFFFF, 0x80, 0x0, x2, 24, x8) +// rd == "x0" != rs1, rs1==x26, rs1_val==3 and rs2_val==3, +// opcode: div ; op1:x26; op2:x31; dest:x0; op1val:0x3; op2val:0x3 +TEST_RR_OP(div, x0, x26, x31, 0, 0x3, 0x3, x1, 6*XLEN/8, x2) inst_7: -// rs1==x31, rs2==x20, rd==x12, rs2_val == (2**(xlen-1)-1), rs2_val == 2147483647, rs1_val == 1431655765 -// opcode: div ; op1:x31; op2:x20; dest:x12; op1val:0x55555555; op2val:0x7fffffff -TEST_RR_OP(div, x12, x31, x20, 0x0, 0x55555555, 0x7fffffff, x2, 28, x8) +// rs1 == rd != rs2 and rd == "x0", rs1==x0, rs2_val == -2, +// opcode: div ; op1:x0; op2:x31; dest:x0; op1val:0x0; op2val:-0x2 +TEST_RR_OP(div, x0, x0, x31, 0, 0x0, -0x2, x1, 7*XLEN/8, x2) inst_8: -// rs1==x13, rs2==x29, rd==x21, rs2_val == 1, -// opcode: div ; op1:x13; op2:x29; dest:x21; op1val:-0xb503; op2val:0x1 -TEST_RR_OP(div, x21, x13, x29, 0xffff4afd, -0xb503, 0x1, x2, 32, x8) +// rs1==x25, rs2_val == -3, +// opcode: div ; op1:x25; op2:x30; dest:x31; op1val:0xb505; op2val:-0x3 +TEST_RR_OP(div, x31, x25, x30, -0x3c57, 0xb505, -0x3, x1, 8*XLEN/8, x2) inst_9: -// rs1==x20, rs2==x30, rd==x31, rs1_val == (-2**(xlen-1)), rs2_val == -1048577, rs1_val == -2147483648 -// opcode: div ; op1:x20; op2:x30; dest:x31; op1val:-0x80000000; op2val:-0x100001 -TEST_RR_OP(div, x31, x20, x30, 0x7ff, -0x80000000, -0x100001, x2, 36, x8) +// rs1==x24, rs2_val == -5, +// opcode: div ; op1:x24; op2:x30; dest:x31; op1val:0xb505; op2val:-0x5 +TEST_RR_OP(div, x31, x24, x30, -0x2434, 0xb505, -0x5, x1, 9*XLEN/8, x2) inst_10: -// rs1==x7, rs2==x13, rd==x20, rs1_val == 0, rs2_val == -9 -// opcode: div ; op1:x7; op2:x13; dest:x20; op1val:0x0; op2val:-0x9 -TEST_RR_OP(div, x20, x7, x13, 0x0, 0x0, -0x9, x2, 40, x8) +// rs1==x23, rs2_val == -9, +// opcode: div ; op1:x23; op2:x30; dest:x31; op1val:0xb505; op2val:-0x9 +TEST_RR_OP(div, x31, x23, x30, -0x141d, 0xb505, -0x9, x1, 10*XLEN/8, x2) inst_11: -// rs1==x5, rs2==x14, rd==x4, rs1_val == (2**(xlen-1)-1), rs1_val == 2147483647 -// opcode: div ; op1:x5; op2:x14; dest:x4; op1val:0x7fffffff; op2val:0x7fffffff -TEST_RR_OP(div, x4, x5, x14, 0x1, 0x7fffffff, 0x7fffffff, x2, 44, x8) +// rs1==x22, rs2_val == -17, +// opcode: div ; op1:x22; op2:x30; dest:x31; op1val:0xb505; op2val:-0x11 +TEST_RR_OP(div, x31, x22, x30, -0xaa5, 0xb505, -0x11, x1, 11*XLEN/8, x2) inst_12: -// rs1==x6, rs2==x23, rd==x1, rs1_val == 1, -// opcode: div ; op1:x6; op2:x23; dest:x1; op1val:0x1; op2val:0x5 -TEST_RR_OP(div, x1, x6, x23, 0x0, 0x1, 0x5, x2, 48, x8) +// rs1==x21, rs2_val == -33, +// opcode: div ; op1:x21; op2:x30; dest:x31; op1val:0xb505; op2val:-0x21 +TEST_RR_OP(div, x31, x21, x30, -0x57c, 0xb505, -0x21, x1, 12*XLEN/8, x2) inst_13: -// rs1==x22, rs2==x6, rd==x24, rs2_val == 2, rs1_val == -5 -// opcode: div ; op1:x22; op2:x6; dest:x24; op1val:-0x5; op2val:0x2 -TEST_RR_OP(div, x24, x22, x6, 0xfffffffe, -0x5, 0x2, x2, 52, x8) +// rs1==x20, rs2_val == -65, +// opcode: div ; op1:x20; op2:x30; dest:x31; op1val:0xb505; op2val:-0x41 +TEST_RR_OP(div, x31, x20, x30, -0x2c8, 0xb505, -0x41, x1, 13*XLEN/8, x2) inst_14: -// rs1==x27, rs2==x24, rd==x7, rs2_val == 4, -// opcode: div ; op1:x27; op2:x24; dest:x7; op1val:-0x8; op2val:0x4 -TEST_RR_OP(div, x7, x27, x24, 0xfffffffe, -0x8, 0x4, x2, 56, x8) +// rs1==x19, rs2_val == -129, +// opcode: div ; op1:x19; op2:x30; dest:x31; op1val:0xb505; op2val:-0x81 +TEST_RR_OP(div, x31, x19, x30, -0x167, 0xb505, -0x81, x1, 14*XLEN/8, x2) inst_15: -// rs1==x25, rs2==x9, rd==x29, rs2_val == 8, -// opcode: div ; op1:x25; op2:x9; dest:x29; op1val:0x0; op2val:0x8 -TEST_RR_OP(div, x29, x25, x9, 0x0, 0x0, 0x8, x2, 60, x8) +// rs1==x18, rs2_val == -257, +// opcode: div ; op1:x18; op2:x30; dest:x31; op1val:0xb505; op2val:-0x101 +TEST_RR_OP(div, x31, x18, x30, -0xb4, 0xb505, -0x101, x1, 15*XLEN/8, x2) inst_16: -// rs1==x28, rs2==x3, rd==x9, rs2_val == 16, rs1_val == 16384 -// opcode: div ; op1:x28; op2:x3; dest:x9; op1val:0x4000; op2val:0x10 -TEST_RR_OP(div, x9, x28, x3, 0x400, 0x4000, 0x10, x2, 64, x8) -RVTEST_SIGBASE( x17,signature_x17_0) +// rs1==x17, rs2_val == -513, +// opcode: div ; op1:x17; op2:x30; dest:x31; op1val:0xb505; op2val:-0x201 +TEST_RR_OP(div, x31, x17, x30, -0x5a, 0xb505, -0x201, x1, 16*XLEN/8, x2) inst_17: -// rs1==x21, rs2==x31, rd==x27, rs2_val == 32, -// opcode: div ; op1:x21; op2:x31; dest:x27; op1val:0x33333332; op2val:0x20 -TEST_RR_OP(div, x27, x21, x31, 0x1999999, 0x33333332, 0x20, x17, 0, x10) +// rs1==x16, rs2_val == -1025, +// opcode: div ; op1:x16; op2:x30; dest:x31; op1val:0xb505; op2val:-0x401 +TEST_RR_OP(div, x31, x16, x30, -0x2d, 0xb505, -0x401, x1, 17*XLEN/8, x2) inst_18: -// rs1==x9, rs2==x1, rd==x14, rs2_val == 64, -// opcode: div ; op1:x9; op2:x1; dest:x14; op1val:0x66666666; op2val:0x40 -TEST_RR_OP(div, x14, x9, x1, 0x1999999, 0x66666666, 0x40, x17, 4, x10) +// rs1==x15, rs2_val == -2049, +// opcode: div ; op1:x15; op2:x30; dest:x31; op1val:0xb505; op2val:-0x801 +TEST_RR_OP(div, x31, x15, x30, -0x16, 0xb505, -0x801, x1, 18*XLEN/8, x2) inst_19: -// rs1==x8, rs2==x28, rd==x13, rs2_val == 128, rs1_val == 16 -// opcode: div ; op1:x8; op2:x28; dest:x13; op1val:0x10; op2val:0x80 -TEST_RR_OP(div, x13, x8, x28, 0x0, 0x10, 0x80, x17, 8, x10) +// rs1==x14, rs2_val == -4097, +// opcode: div ; op1:x14; op2:x30; dest:x31; op1val:0xb505; op2val:-0x1001 +TEST_RR_OP(div, x31, x14, x30, -0xb, 0xb505, -0x1001, x1, 19*XLEN/8, x2) inst_20: -// rs1==x2, rs2==x15, rd==x6, rs2_val == 256, -// opcode: div ; op1:x2; op2:x15; dest:x6; op1val:0xb505; op2val:0x100 -TEST_RR_OP(div, x6, x2, x15, 0xb5, 0xb505, 0x100, x17, 12, x10) +// rs1==x13, rs2_val == -8193, +// opcode: div ; op1:x13; op2:x30; dest:x31; op1val:0xb505; op2val:-0x2001 +TEST_RR_OP(div, x31, x13, x30, -0x5, 0xb505, -0x2001, x1, 20*XLEN/8, x2) inst_21: -// rs1==x11, rs2==x2, rd==x5, rs2_val == 512, rs1_val == -513 -// opcode: div ; op1:x11; op2:x2; dest:x5; op1val:-0x201; op2val:0x200 -TEST_RR_OP(div, x5, x11, x2, 0xffffffff, -0x201, 0x200, x17, 16, x10) +// rs1==x12, rs2_val == -16385, +// opcode: div ; op1:x12; op2:x30; dest:x31; op1val:0xb505; op2val:-0x4001 +TEST_RR_OP(div, x31, x12, x30, -0x2, 0xb505, -0x4001, x1, 21*XLEN/8, x2) inst_22: -// rs1==x24, rs2==x4, rd==x28, rs2_val == 1024, rs1_val == 4194304 -// opcode: div ; op1:x24; op2:x4; dest:x28; op1val:0x400000; op2val:0x400 -TEST_RR_OP(div, x28, x24, x4, 0x1000, 0x400000, 0x400, x17, 20, x10) +// rs1==x11, rs2_val == -32769, +// opcode: div ; op1:x11; op2:x30; dest:x31; op1val:0xb505; op2val:-0x8001 +TEST_RR_OP(div, x31, x11, x30, -0x1, 0xb505, -0x8001, x1, 22*XLEN/8, x2) inst_23: -// rs1==x12, rs2==x16, rd==x22, rs2_val == 2048, -// opcode: div ; op1:x12; op2:x16; dest:x22; op1val:-0x55555555; op2val:0x800 -TEST_RR_OP(div, x22, x12, x16, 0xfff55556, -0x55555555, 0x800, x17, 24, x10) +// rs1==x10, rs2_val == -65537, +// opcode: div ; op1:x10; op2:x30; dest:x31; op1val:0xb505; op2val:-0x10001 +TEST_RR_OP(div, x31, x10, x30, 0x0, 0xb505, -0x10001, x1, 23*XLEN/8, x2) inst_24: -// rs1==x3, rs2==x19, rd==x15, rs2_val == 4096, -// opcode: div ; op1:x3; op2:x19; dest:x15; op1val:0x55555556; op2val:0x1000 -TEST_RR_OP(div, x15, x3, x19, 0x55555, 0x55555556, 0x1000, x17, 28, x10) +// rs1==x9, rs2_val == -131073, +// opcode: div ; op1:x9; op2:x30; dest:x31; op1val:0xb505; op2val:-0x20001 +TEST_RR_OP(div, x31, x9, x30, 0x0, 0xb505, -0x20001, x1, 24*XLEN/8, x2) inst_25: -// rs1==x23, rs2==x27, rd==x30, rs2_val == 8192, -// opcode: div ; op1:x23; op2:x27; dest:x30; op1val:-0x55555555; op2val:0x2000 -TEST_RR_OP(div, x30, x23, x27, 0xfffd5556, -0x55555555, 0x2000, x17, 32, x10) +// rs1==x8, rs2_val == -262145, +// opcode: div ; op1:x8; op2:x30; dest:x31; op1val:0xb505; op2val:-0x40001 +TEST_RR_OP(div, x31, x8, x30, 0x0, 0xb505, -0x40001, x1, 25*XLEN/8, x2) inst_26: -// rs1==x16, rs2==x12, rd==x3, rs2_val == 16384, rs1_val == 1073741824 -// opcode: div ; op1:x16; op2:x12; dest:x3; op1val:0x40000000; op2val:0x4000 -TEST_RR_OP(div, x3, x16, x12, 0x10000, 0x40000000, 0x4000, x17, 36, x10) +// rs1==x7, rs2_val == -524289, +// opcode: div ; op1:x7; op2:x30; dest:x31; op1val:0xb505; op2val:-0x80001 +TEST_RR_OP(div, x31, x7, x30, 0x0, 0xb505, -0x80001, x1, 26*XLEN/8, x2) inst_27: -// rs1==x14, rs2==x21, rd==x2, rs2_val == 32768, rs1_val == 131072 -// opcode: div ; op1:x14; op2:x21; dest:x2; op1val:0x20000; op2val:0x8000 -TEST_RR_OP(div, x2, x14, x21, 0x4, 0x20000, 0x8000, x17, 40, x10) +// rs1==x6, rs2_val == -1048577, +// opcode: div ; op1:x6; op2:x30; dest:x31; op1val:0xb505; op2val:-0x100001 +TEST_RR_OP(div, x31, x6, x30, 0x0, 0xb505, -0x100001, x1, 27*XLEN/8, x7) +RVTEST_SIGBASE(x6,signature_x6_0) inst_28: -// rs1==x15, rs2==x18, rd==x8, rs2_val == 131072, -// opcode: div ; op1:x15; op2:x18; dest:x8; op1val:0x1; op2val:0x20000 -TEST_RR_OP(div, x8, x15, x18, 0x0, 0x1, 0x20000, x17, 44, x10) +// rs1==x5, rs2_val == -2097153, +// opcode: div ; op1:x5; op2:x30; dest:x31; op1val:0xb505; op2val:-0x200001 +TEST_RR_OP(div, x31, x5, x30, 0x0, 0xb505, -0x200001, x6, 0*XLEN/8, x7) inst_29: -// rs1==x18, rs2==x8, rd==x26, rs2_val == 1048576, rs1_val == 4 -// opcode: div ; op1:x18; op2:x8; dest:x26; op1val:0x4; op2val:0x100000 -TEST_RR_OP(div, x26, x18, x8, 0x0, 0x4, 0x100000, x17, 48, x10) +// rs1==x4, rs2_val == -4194305, +// opcode: div ; op1:x4; op2:x30; dest:x31; op1val:0xb505; op2val:-0x400001 +TEST_RR_OP(div, x31, x4, x30, 0x0, 0xb505, -0x400001, x6, 1*XLEN/8, x7) inst_30: -// rs1==x19, rs2==x7, rd==x25, rs2_val == 2097152, rs1_val == -1073741825 -// opcode: div ; op1:x19; op2:x7; dest:x25; op1val:-0x40000001; op2val:0x200000 -TEST_RR_OP(div, x25, x19, x7, 0xfffffe00, -0x40000001, 0x200000, x17, 52, x10) +// rs1==x3, rs2_val == -8388609, +// opcode: div ; op1:x3; op2:x30; dest:x31; op1val:0xb505; op2val:-0x800001 +TEST_RR_OP(div, x31, x3, x30, 0x0, 0xb505, -0x800001, x6, 2*XLEN/8, x7) inst_31: -// rs1==x1, rs2==x22, rd==x23, rs2_val == 4194304, -// opcode: div ; op1:x1; op2:x22; dest:x23; op1val:-0xa; op2val:0x400000 -TEST_RR_OP(div, x23, x1, x22, 0x0, -0xa, 0x400000, x17, 56, x2) +// rs1==x2, rs2_val == -16777217, +// opcode: div ; op1:x2; op2:x30; dest:x31; op1val:0xb505; op2val:-0x1000001 +TEST_RR_OP(div, x31, x2, x30, 0x0, 0xb505, -0x1000001, x6, 3*XLEN/8, x7) inst_32: -// rs2_val == 8388608, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x800000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x800000, x17, 60, x2) -RVTEST_SIGBASE( x1,signature_x1_0) +// rs1==x1, rs2_val == -33554433, +// opcode: div ; op1:x1; op2:x30; dest:x31; op1val:0xb505; op2val:-0x2000001 +TEST_RR_OP(div, x31, x1, x30, 0x0, 0xb505, -0x2000001, x6, 4*XLEN/8, x7) inst_33: -// rs2_val == 16777216, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x6; op2val:0x1000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x6, 0x1000000, x1, 0, x2) +// rs2==x28, rs2_val == -67108865, +// opcode: div ; op1:x30; op2:x28; dest:x31; op1val:0xb505; op2val:-0x4000001 +TEST_RR_OP(div, x31, x30, x28, 0x0, 0xb505, -0x4000001, x6, 5*XLEN/8, x7) inst_34: -// rs2_val == 33554432, rs1_val == 4096 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000; op2val:0x2000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x1000, 0x2000000, x1, 4, x2) +// rs2==x26, rs2_val == -134217729, +// opcode: div ; op1:x30; op2:x26; dest:x31; op1val:0xb505; op2val:-0x8000001 +TEST_RR_OP(div, x31, x30, x26, 0x0, 0xb505, -0x8000001, x6, 6*XLEN/8, x7) inst_35: -// rs2_val == 67108864, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x4000000 -TEST_RR_OP(div, x12, x10, x11, 0xc, 0x33333332, 0x4000000, x1, 8, x2) +// rs2==x25, rs2_val == -268435457, +// opcode: div ; op1:x30; op2:x25; dest:x31; op1val:0xb505; op2val:-0x10000001 +TEST_RR_OP(div, x31, x30, x25, 0x0, 0xb505, -0x10000001, x6, 7*XLEN/8, x7) inst_36: -// rs2_val == 134217728, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5; op2val:0x8000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5, 0x8000000, x1, 12, x2) +// rs2==x24, rs2_val == -536870913, +// opcode: div ; op1:x30; op2:x24; dest:x31; op1val:0xb505; op2val:-0x20000001 +TEST_RR_OP(div, x31, x30, x24, 0x0, 0xb505, -0x20000001, x6, 8*XLEN/8, x7) inst_37: -// rs2_val == 268435456, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x10000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x10000000, x1, 16, x2) +// rs2==x23, rs2_val == -1073741825, +// opcode: div ; op1:x30; op2:x23; dest:x31; op1val:0xb505; op2val:-0x40000001 +TEST_RR_OP(div, x31, x30, x23, 0x0, 0xb505, -0x40000001, x6, 9*XLEN/8, x7) inst_38: -// rs2_val == 536870912, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x20000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x20000000, x1, 20, x2) +// rs2==x22, rs2_val == 2147483647, rs2_val == (2**(xlen-1)-1) +// opcode: div ; op1:x30; op2:x22; dest:x31; op1val:0xb505; op2val:0x7fffffff +TEST_RR_OP(div, x31, x30, x22, 0x0, 0xb505, 0x7fffffff, x6, 10*XLEN/8, x7) inst_39: -// rs2_val == 1073741824, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x40000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x40000000, x1, 24, x2) +// rs2==x21, rs1_val == -2, +// opcode: div ; op1:x30; op2:x21; dest:x31; op1val:-0x2; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x21, 0x0, -0x2, 0xb505, x6, 11*XLEN/8, x7) inst_40: -// rs2_val == -2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000; op2val:-0x2 -TEST_RR_OP(div, x12, x10, x11, 0xffff0000, 0x20000, -0x2, x1, 28, x2) +// rs2==x20, rs1_val == -3, +// opcode: div ; op1:x30; op2:x20; dest:x31; op1val:-0x3; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x20, 0x0, -0x3, 0xb505, x6, 12*XLEN/8, x7) inst_41: -// rs2_val == -5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000; op2val:-0x5 -TEST_RR_OP(div, x12, x10, x11, 0xfffffccd, 0x1000, -0x5, x1, 32, x2) +// rs2==x19, rs1_val == -5, +// opcode: div ; op1:x30; op2:x19; dest:x31; op1val:-0x5; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x19, 0x0, -0x5, 0xb505, x6, 13*XLEN/8, x7) inst_42: -// rs2_val == -17, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:-0x11 -TEST_RR_OP(div, x12, x10, x11, 0xfcfcfcfd, 0x33333334, -0x11, x1, 36, x2) +// rs2==x18, rs1_val == -9, +// opcode: div ; op1:x30; op2:x18; dest:x31; op1val:-0x9; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x18, 0x0, -0x9, 0xb505, x6, 14*XLEN/8, x7) inst_43: -// rs2_val == -33, rs1_val == -262145 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40001; op2val:-0x21 -TEST_RR_OP(div, x12, x10, x11, 0x1f07, -0x40001, -0x21, x1, 40, x2) +// rs2==x17, rs1_val == -17, +// opcode: div ; op1:x30; op2:x17; dest:x31; op1val:-0x11; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x17, 0x0, -0x11, 0xb505, x6, 15*XLEN/8, x7) inst_44: -// rs2_val == -65, rs1_val == 268435456 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x10000000; op2val:-0x41 -TEST_RR_OP(div, x12, x10, x11, 0xffc0fc10, 0x10000000, -0x41, x1, 44, x2) +// rs2==x16, rs1_val == -33, +// opcode: div ; op1:x30; op2:x16; dest:x31; op1val:-0x21; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x16, 0x0, -0x21, 0xb505, x6, 16*XLEN/8, x7) inst_45: -// rs2_val == -129, rs1_val == 32768 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000; op2val:-0x81 -TEST_RR_OP(div, x12, x10, x11, 0xffffff02, 0x8000, -0x81, x1, 48, x2) +// rs2==x15, rs1_val == -65, +// opcode: div ; op1:x30; op2:x15; dest:x31; op1val:-0x41; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x15, 0x0, -0x41, 0xb505, x6, 17*XLEN/8, x7) inst_46: -// rs2_val == -257, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40001; op2val:-0x101 -TEST_RR_OP(div, x12, x10, x11, 0x3fc, -0x40001, -0x101, x1, 52, x2) +// rs2==x14, rs1_val == -129, +// opcode: div ; op1:x30; op2:x14; dest:x31; op1val:-0x81; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x14, 0x0, -0x81, 0xb505, x6, 18*XLEN/8, x7) inst_47: -// rs2_val == -513, rs1_val == 8388608 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800000; op2val:-0x201 -TEST_RR_OP(div, x12, x10, x11, 0xffffc020, 0x800000, -0x201, x1, 56, x2) +// rs2==x13, rs1_val == -257, +// opcode: div ; op1:x30; op2:x13; dest:x31; op1val:-0x101; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x13, 0x0, -0x101, 0xb505, x6, 19*XLEN/8, x7) inst_48: -// rs2_val == -1025, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:-0x401 -TEST_RR_OP(div, x12, x10, x11, 0xffeaafff, 0x55555555, -0x401, x1, 60, x2) +// rs2==x12, rs1_val == -513, +// opcode: div ; op1:x30; op2:x12; dest:x31; op1val:-0x201; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x12, 0x0, -0x201, 0xb505, x6, 20*XLEN/8, x7) inst_49: -// rs2_val == -2049, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:-0x801 -TEST_RR_OP(div, x12, x10, x11, 0xffffffea, 0xb504, -0x801, x1, 64, x2) +// rs2==x11, rs1_val == -1025, +// opcode: div ; op1:x30; op2:x11; dest:x31; op1val:-0x401; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x11, 0x0, -0x401, 0xb505, x6, 21*XLEN/8, x7) inst_50: -// rs2_val == -4097, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40000000; op2val:-0x1001 -TEST_RR_OP(div, x12, x10, x11, 0x3ffc0, -0x40000000, -0x1001, x1, 68, x2) +// rs2==x10, rs1_val == -2049, +// opcode: div ; op1:x30; op2:x10; dest:x31; op1val:-0x801; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x10, 0x0, -0x801, 0xb505, x6, 22*XLEN/8, x7) inst_51: -// rs2_val == -8193, rs1_val == -4194305 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x400001; op2val:-0x2001 -TEST_RR_OP(div, x12, x10, x11, 0x1ff, -0x400001, -0x2001, x1, 72, x2) +// rs2==x9, rs1_val == -4097, +// opcode: div ; op1:x30; op2:x9; dest:x31; op1val:-0x1001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x9, 0x0, -0x1001, 0xb505, x6, 23*XLEN/8, x10) +RVTEST_SIGBASE(x9,signature_x9_0) inst_52: -// rs2_val == -16385, rs1_val == 2 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0x4001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0x4001, x1, 76, x2) +// rs2==x8, rs1_val == -8193, +// opcode: div ; op1:x30; op2:x8; dest:x31; op1val:-0x2001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x8, 0x0, -0x2001, 0xb505, x9, 0*XLEN/8, x10) inst_53: -// rs2_val == -32769, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3fffffff; op2val:-0x8001 -TEST_RR_OP(div, x12, x10, x11, 0xffff8001, 0x3fffffff, -0x8001, x1, 80, x2) +// rs2==x7, rs1_val == -16385, +// opcode: div ; op1:x30; op2:x7; dest:x31; op1val:-0x4001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x7, 0x0, -0x4001, 0xb505, x9, 1*XLEN/8, x10) inst_54: -// rs2_val == -65537, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x80000000; op2val:-0x10001 -TEST_RR_OP(div, x12, x10, x11, 0x7fff, -0x80000000, -0x10001, x1, 84, x2) +// rs2==x6, rs1_val == -32769, +// opcode: div ; op1:x30; op2:x6; dest:x31; op1val:-0x8001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x6, 0x0, -0x8001, 0xb505, x9, 2*XLEN/8, x10) inst_55: -// rs2_val == -131073, rs1_val == -2 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2; op2val:-0x20001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x2, -0x20001, x1, 88, x2) +// rs2==x5, rs1_val == -65537, +// opcode: div ; op1:x30; op2:x5; dest:x31; op1val:-0x10001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x5, -0x1, -0x10001, 0xb505, x9, 3*XLEN/8, x10) inst_56: -// rs2_val == -262145, rs1_val == -33554433 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2000001; op2val:-0x40001 -TEST_RR_OP(div, x12, x10, x11, 0x7f, -0x2000001, -0x40001, x1, 92, x2) +// rs2==x4, rs1_val == -131073, +// opcode: div ; op1:x30; op2:x4; dest:x31; op1val:-0x20001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x4, -0x2, -0x20001, 0xb505, x9, 4*XLEN/8, x10) inst_57: -// rs2_val == -524289, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0x80001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0x80001, x1, 96, x2) +// rs2==x3, rs1_val == -262145, +// opcode: div ; op1:x30; op2:x3; dest:x31; op1val:-0x40001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x3, -0x5, -0x40001, 0xb505, x9, 5*XLEN/8, x10) inst_58: -// rs2_val == -2097153, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40000000; op2val:-0x200001 -TEST_RR_OP(div, x12, x10, x11, 0x1ff, -0x40000000, -0x200001, x1, 100, x2) +// rs2==x2, rs1_val == -524289, +// opcode: div ; op1:x30; op2:x2; dest:x31; op1val:-0x80001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x2, -0xb, -0x80001, 0xb505, x9, 6*XLEN/8, x10) inst_59: -// rs2_val == -4194305, rs1_val == -1025 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x401; op2val:-0x400001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x401, -0x400001, x1, 104, x2) +// rs2==x1, rs1_val == -1048577, +// opcode: div ; op1:x30; op2:x1; dest:x31; op1val:-0x100001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x1, -0x16, -0x100001, 0xb505, x9, 7*XLEN/8, x10) inst_60: -// rs2_val == -8388609, rs1_val == 32 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20; op2val:-0x800001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x20, -0x800001, x1, 108, x2) +// rs2==x0, rs1_val == -2097153, +// opcode: div ; op1:x30; op2:x0; dest:x31; op1val:-0x200001; op2val:0x0 +TEST_RR_OP(div, x31, x30, x0, 0xFFFFFFFF, -0x200001, 0x0, x9, 8*XLEN/8, x10) inst_61: -// rs2_val == -16777217, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0x1000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0x1000001, x1, 112, x2) +// rd==x27, rs1_val == -4194305, +// opcode: div ; op1:x31; op2:x30; dest:x27; op1val:-0x400001; op2val:0xb505 +TEST_RR_OP(div, x27, x31, x30, -0x5a, -0x400001, 0xb505, x9, 9*XLEN/8, x10) inst_62: -// rs2_val == -33554433, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:-0x2000001 -TEST_RR_OP(div, x12, x10, x11, 0xffffffd6, 0x55555555, -0x2000001, x1, 116, x2) +// rd==x26, rs1_val == -8388609, +// opcode: div ; op1:x31; op2:x30; dest:x26; op1val:-0x800001; op2val:0xb505 +TEST_RR_OP(div, x26, x31, x30, -0xb5, -0x800001, 0xb505, x9, 10*XLEN/8, x10) inst_63: -// rs2_val == -67108865, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0x4000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0x4000001, x1, 120, x2) +// rd==x25, rs1_val == -16777217, +// opcode: div ; op1:x31; op2:x30; dest:x25; op1val:-0x1000001; op2val:0xb505 +TEST_RR_OP(div, x25, x31, x30, -0x16a, -0x1000001, 0xb505, x9, 11*XLEN/8, x10) inst_64: -// rs2_val == -134217729, rs1_val == -16777217 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1000001; op2val:-0x8000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x1000001, -0x8000001, x1, 124, x2) +// rd==x24, rs1_val == -33554433, +// opcode: div ; op1:x31; op2:x30; dest:x24; op1val:-0x2000001; op2val:0xb505 +TEST_RR_OP(div, x24, x31, x30, -0x2d4, -0x2000001, 0xb505, x9, 12*XLEN/8, x10) inst_65: -// rs2_val == -268435457, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80; op2val:-0x10000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x80, -0x10000001, x1, 128, x2) +// rd==x23, rs1_val == -67108865, +// opcode: div ; op1:x31; op2:x30; dest:x23; op1val:-0x4000001; op2val:0xb505 +TEST_RR_OP(div, x23, x31, x30, -0x5a8, -0x4000001, 0xb505, x9, 13*XLEN/8, x10) inst_66: -// rs2_val == -536870913, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1; op2val:-0x20000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x1, -0x20000001, x1, 132, x2) +// rd==x22, rs1_val == -134217729, +// opcode: div ; op1:x31; op2:x30; dest:x22; op1val:-0x8000001; op2val:0xb505 +TEST_RR_OP(div, x22, x31, x30, -0xb50, -0x8000001, 0xb505, x9, 14*XLEN/8, x10) inst_67: -// rs2_val == -1073741825, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xa; op2val:-0x40000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xa, -0x40000001, x1, 136, x2) +// rd==x21, rs1_val == -268435457, +// opcode: div ; op1:x31; op2:x30; dest:x21; op1val:-0x10000001; op2val:0xb505 +TEST_RR_OP(div, x21, x31, x30, -0x16a0, -0x10000001, 0xb505, x9, 15*XLEN/8, x10) inst_68: -// rs2_val == 1431655765, rs1_val==3 and rs2_val==1431655765 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x55555555, x1, 140, x2) +// rd==x20, rs1_val == -536870913, +// opcode: div ; op1:x31; op2:x30; dest:x20; op1val:-0x20000001; op2val:0xb505 +TEST_RR_OP(div, x20, x31, x30, -0x2d41, -0x20000001, 0xb505, x9, 16*XLEN/8, x10) inst_69: -// rs2_val == -1431655766, rs1_val == -33 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x21; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x21, -0x55555556, x1, 144, x2) +// rd==x19, rs1_val == -1073741825, +// opcode: div ; op1:x31; op2:x30; dest:x19; op1val:-0x40000001; op2val:0xb505 +TEST_RR_OP(div, x19, x31, x30, -0x5a82, -0x40000001, 0xb505, x9, 17*XLEN/8, x10) inst_70: -// rs1_val == 8, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8; op2val:-0x4 -TEST_RR_OP(div, x12, x10, x11, 0xfffffffe, 0x8, -0x4, x1, 148, x2) +// rd==x18, rs2_val == 1, +// opcode: div ; op1:x31; op2:x30; dest:x18; op1val:0xb505; op2val:0x1 +TEST_RR_OP(div, x18, x31, x30, 0xb505, 0xb505, 0x1, x9, 18*XLEN/8, x10) inst_71: -// rs1_val == 64, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40; op2val:0x100 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40, 0x100, x1, 152, x2) +// rd==x17, rs2_val == 2, rs1_val==46341 and rs2_val==2 +// opcode: div ; op1:x31; op2:x30; dest:x17; op1val:0xb505; op2val:0x2 +TEST_RR_OP(div, x17, x31, x30, 0x5a82, 0xb505, 0x2, x9, 19*XLEN/8, x10) inst_72: -// rs1_val == 512, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200; op2val:-0x11 -TEST_RR_OP(div, x12, x10, x11, 0xffffffe2, 0x200, -0x11, x1, 156, x2) +// rd==x16, rs2_val == 4, rs1_val==46341 and rs2_val==4 +// opcode: div ; op1:x31; op2:x30; dest:x16; op1val:0xb505; op2val:0x4 +TEST_RR_OP(div, x16, x31, x30, 0x2d41, 0xb505, 0x4, x9, 20*XLEN/8, x10) inst_73: -// rs1_val == 1024, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x400; op2val:0x80000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x400, 0x80000, x1, 160, x2) +// rd==x15, rs2_val == 8, +// opcode: div ; op1:x31; op2:x30; dest:x15; op1val:0xb505; op2val:0x8 +TEST_RR_OP(div, x15, x31, x30, 0x16a0, 0xb505, 0x8, x9, 21*XLEN/8, x10) inst_74: -// rs1_val == 2048, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x800, -0xb504, x1, 164, x2) +// rd==x14, rs2_val == 16, +// opcode: div ; op1:x31; op2:x30; dest:x14; op1val:0xb505; op2val:0x10 +TEST_RR_OP(div, x14, x31, x30, 0xb50, 0xb505, 0x10, x9, 22*XLEN/8, x10) inst_75: -// rs1_val == 8192, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000; op2val:0x400000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2000, 0x400000, x1, 168, x2) +// rd==x13, rs2_val == 32, +// opcode: div ; op1:x31; op2:x30; dest:x13; op1val:0xb505; op2val:0x20 +TEST_RR_OP(div, x13, x31, x30, 0x5a8, 0xb505, 0x20, x9, 23*XLEN/8, x10) inst_76: -// rs1_val == 65536, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x10000; op2val:-0x100001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x10000, -0x100001, x1, 172, x2) +// rd==x12, rs2_val == 64, +// opcode: div ; op1:x31; op2:x30; dest:x12; op1val:0xb505; op2val:0x40 +TEST_RR_OP(div, x12, x31, x30, 0x2d4, 0xb505, 0x40, x9, 24*XLEN/8, x13) +RVTEST_SIGBASE(x12,signature_x12_0) inst_77: -// rs1_val == 262144, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x20000, 0x40000, 0x2, x1, 176, x2) +// rd==x11, rs2_val == 128, +// opcode: div ; op1:x31; op2:x30; dest:x11; op1val:0xb505; op2val:0x80 +TEST_RR_OP(div, x11, x31, x30, 0x16a, 0xb505, 0x80, x12, 0*XLEN/8, x13) inst_78: -// rs1_val == 1048576, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x100000; op2val:-0x80000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x100000, -0x80000000, x1, 180, x2) +// rd==x10, rs2_val == 256, +// opcode: div ; op1:x31; op2:x30; dest:x10; op1val:0xb505; op2val:0x100 +TEST_RR_OP(div, x10, x31, x30, 0xb5, 0xb505, 0x100, x12, 1*XLEN/8, x13) inst_79: -// rs1_val == 2097152, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200000; op2val:0x400 -TEST_RR_OP(div, x12, x10, x11, 0x800, 0x200000, 0x400, x1, 184, x2) +// rd==x9, rs2_val == 512, +// opcode: div ; op1:x31; op2:x30; dest:x9; op1val:0xb505; op2val:0x200 +TEST_RR_OP(div, x9, x31, x30, 0x5a, 0xb505, 0x200, x12, 2*XLEN/8, x13) inst_80: -// rs1_val == 16777216, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x1000000, -0x55555555, x1, 188, x2) +// rd==x8, rs2_val == 1024, +// opcode: div ; op1:x31; op2:x30; dest:x8; op1val:0xb505; op2val:0x400 +TEST_RR_OP(div, x8, x31, x30, 0x2d, 0xb505, 0x400, x12, 3*XLEN/8, x13) inst_81: -// rs1_val == 33554432, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000000; op2val:-0x21 -TEST_RR_OP(div, x12, x10, x11, 0xfff07c20, 0x2000000, -0x21, x1, 192, x2) +// rd==x7, rs2_val == 2048, +// opcode: div ; op1:x31; op2:x30; dest:x7; op1val:0xb505; op2val:0x800 +TEST_RR_OP(div, x7, x31, x30, 0x16, 0xb505, 0x800, x12, 4*XLEN/8, x13) inst_82: -// rs1_val == 67108864, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4000000; op2val:0x4000000 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x4000000, 0x4000000, x1, 196, x2) +// rd==x6, rs2_val == 4096, +// opcode: div ; op1:x31; op2:x30; dest:x6; op1val:0xb505; op2val:0x1000 +TEST_RR_OP(div, x6, x31, x30, 0xb, 0xb505, 0x1000, x12, 5*XLEN/8, x13) inst_83: -// rs1_val == 134217728, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000000; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xb50, 0x8000000, 0xb503, x1, 200, x2) +// rd==x5, rs2_val == 8192, +// opcode: div ; op1:x31; op2:x30; dest:x5; op1val:0xb505; op2val:0x2000 +TEST_RR_OP(div, x5, x31, x30, 0x5, 0xb505, 0x2000, x12, 6*XLEN/8, x13) inst_84: -// rs1_val == 536870912, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000000; op2val:0x800 -TEST_RR_OP(div, x12, x10, x11, 0x40000, 0x20000000, 0x800, x1, 204, x2) +// rd==x4, rs2_val == 16384, +// opcode: div ; op1:x31; op2:x30; dest:x4; op1val:0xb505; op2val:0x4000 +TEST_RR_OP(div, x4, x31, x30, 0x2, 0xb505, 0x4000, x12, 7*XLEN/8, x13) inst_85: -// rs1_val == -3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x3; op2val:0x10000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x3, 0x10000000, x1, 208, x2) +// rd==x3, rs2_val == 32768, +// opcode: div ; op1:x31; op2:x30; dest:x3; op1val:0xb505; op2val:0x8000 +TEST_RR_OP(div, x3, x31, x30, 0x1, 0xb505, 0x8000, x12, 8*XLEN/8, x13) inst_86: -// rs1_val == -9, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x9; op2val:0x200000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x9, 0x200000, x1, 212, x2) +// rd==x2, rs2_val == 65536, +// opcode: div ; op1:x31; op2:x30; dest:x2; op1val:0xb505; op2val:0x10000 +TEST_RR_OP(div, x2, x31, x30, 0x0, 0xb505, 0x10000, x12, 9*XLEN/8, x13) inst_87: -// rs1_val == -65, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x41; op2val:0x40000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x41, 0x40000000, x1, 216, x2) +// rd==x1, rs2_val == 131072, +// opcode: div ; op1:x31; op2:x30; dest:x1; op1val:0xb505; op2val:0x20000 +TEST_RR_OP(div, x1, x31, x30, 0x0, 0xb505, 0x20000, x12, 10*XLEN/8, x13) inst_88: -// rs1_val == -129, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x81; op2val:0x8000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x81, 0x8000000, x1, 220, x2) +// rs2_val == 262144, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x40000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x40000, x12, 11*XLEN/8, x13) inst_89: -// rs1_val == -2049, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x801; op2val:0x80000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x801, 0x80000, x1, 224, x2) +// rs2_val == 524288, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x80000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x80000, x12, 12*XLEN/8, x13) inst_90: -// rs1_val == -4097, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1001; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xfffffd56, -0x1001, 0x6, x1, 228, x2) +// rs2_val == 1048576, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x100000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x100000, x12, 13*XLEN/8, x13) inst_91: -// rs1_val == -16385, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4001; op2val:0x100 -TEST_RR_OP(div, x12, x10, x11, 0xffffffc0, -0x4001, 0x100, x1, 232, x2) +// rs2_val == 2097152, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x200000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x200000, x12, 14*XLEN/8, x13) inst_92: -// rs1_val == -32769, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8001; op2val:-0x3 -TEST_RR_OP(div, x12, x10, x11, 0x2aab, -0x8001, -0x3, x1, 236, x2) +// rs2_val == 4194304, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x400000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x400000, x12, 15*XLEN/8, x13) inst_93: -// rs1_val == -65537, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10001; op2val:-0x4 -TEST_RR_OP(div, x12, x10, x11, 0x4000, -0x10001, -0x4, x1, 240, x2) +// rs2_val == 8388608, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x800000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x800000, x12, 16*XLEN/8, x13) inst_94: -// rs1_val == -131073, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x20001; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xffff8000, -0x20001, 0x4, x1, 244, x2) +// rs2_val == 16777216, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x1000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x1000000, x12, 17*XLEN/8, x13) inst_95: -// rs1_val == -524289, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x80001; op2val:-0x4000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x80001, -0x4000001, x1, 248, x2) +// rs2_val == 33554432, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x2000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x2000000, x12, 18*XLEN/8, x13) inst_96: -// rs1_val == -1048577, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x100001; op2val:-0x21 -TEST_RR_OP(div, x12, x10, x11, 0x7c1f, -0x100001, -0x21, x1, 252, x2) +// rs2_val == 67108864, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x4000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x4000000, x12, 19*XLEN/8, x13) inst_97: -// rs1_val == -2097153, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x200001; op2val:-0x8001 -TEST_RR_OP(div, x12, x10, x11, 0x3f, -0x200001, -0x8001, x1, 256, x2) +// rs2_val == 134217728, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x8000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x8000000, x12, 20*XLEN/8, x13) inst_98: -// rs1_val == -8388609, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x800001; op2val:-0x8000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x800001, -0x8000001, x1, 260, x2) +// rs2_val == 268435456, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x10000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x10000000, x12, 21*XLEN/8, x13) inst_99: -// rs1_val == -67108865, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4000001; op2val:-0x21 -TEST_RR_OP(div, x12, x10, x11, 0x1f07c1, -0x4000001, -0x21, x1, 264, x2) +// rs2_val == 536870912, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x20000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x20000000, x12, 22*XLEN/8, x13) inst_100: -// rs1_val == -134217729, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8000001; op2val:0x20000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x8000001, 0x20000000, x1, 268, x2) +// rs2_val == 1073741824, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x40000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x40000000, x12, 23*XLEN/8, x13) inst_101: -// rs1_val == -268435457, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10000001; op2val:-0x201 -TEST_RR_OP(div, x12, x10, x11, 0x7fc01, -0x10000001, -0x201, x1, 272, x2) +// rs2_val == -2147483648, rs2_val == (-2**(xlen-1)) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0x80000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, -0x80000000, x12, 24*XLEN/8, x13) inst_102: -// rs1_val == -536870913, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x20000001; op2val:0x800000 -TEST_RR_OP(div, x12, x10, x11, 0xffffffc0, -0x20000001, 0x800000, x1, 276, x2) +// rs1_val == 1, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x1, 0xb505, x12, 25*XLEN/8, x13) inst_103: -// rs1_val == -1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:-0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c, -0x55555556, -0x3, x1, 280, x2) +// rs1_val == 2, rs1_val==2 and rs2_val==46341 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0xb505, x12, 26*XLEN/8, x13) inst_104: -// rs1_val==3 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3, 0x3, x1, 284, x2) +// rs1_val == 4, rs1_val==4 and rs2_val==46341 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0xb505, x12, 27*XLEN/8, x13) inst_105: -// rs1_val==3 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0x55555556, x1, 288, x2) +// rs1_val == 8, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x8, 0xb505, x12, 28*XLEN/8, x13) inst_106: -// rs1_val==3 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x5, x1, 292, x2) +// rs1_val == 16, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x10, 0xb505, x12, 29*XLEN/8, x13) inst_107: -// rs1_val==3 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x33333333, x1, 296, x2) +// rs1_val == 32, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x20, 0xb505, x12, 30*XLEN/8, x13) inst_108: -// rs1_val==3 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x66666666, x1, 300, x2) +// rs1_val == 64, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x40, 0xb505, x12, 31*XLEN/8, x13) inst_109: -// rs1_val==3 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0xb504, x1, 304, x2) +// rs1_val == 128, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x80, 0xb505, x12, 32*XLEN/8, x13) inst_110: -// rs1_val==3 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0xb504, x1, 308, x2) +// rs1_val == 256, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x100, 0xb505, x12, 33*XLEN/8, x13) inst_111: -// rs1_val==3 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3, 0x2, x1, 312, x2) +// rs1_val == 512, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x200, 0xb505, x12, 34*XLEN/8, x13) inst_112: -// rs1_val==3 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x55555554, x1, 316, x2) +// rs1_val == 1024, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x400, 0xb505, x12, 35*XLEN/8, x13) inst_113: -// rs1_val==3 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x3, 0x0, x1, 320, x2) +// rs1_val == 2048, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x800, 0xb505, x12, 36*XLEN/8, x13) inst_114: -// rs1_val==3 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x4, x1, 324, x2) +// rs1_val == 4096, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x1000, 0xb505, x12, 37*XLEN/8, x13) inst_115: -// rs1_val==3 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x33333332, x1, 328, x2) +// rs1_val == 8192, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2000, 0xb505, x12, 38*XLEN/8, x13) inst_116: -// rs1_val==3 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x66666665, x1, 332, x2) +// rs1_val == 16384, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4000, 0xb505, x12, 39*XLEN/8, x13) inst_117: -// rs1_val==3 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0xb503, x1, 336, x2) +// rs1_val == 32768, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x8000, 0xb505, x12, 40*XLEN/8, x13) inst_118: -// rs1_val==3 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x55555556, x1, 340, x2) +// rs1_val == 65536, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x10000, 0xb505, x12, 41*XLEN/8, x13) inst_119: -// rs1_val==3 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0x55555555, x1, 344, x2) +// rs1_val == 131072, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x20000, 0xb505, x12, 42*XLEN/8, x13) inst_120: -// rs1_val==3 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x6, x1, 348, x2) +// rs1_val == 262144, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x5, 0x40000, 0xb505, x12, 43*XLEN/8, x13) inst_121: -// rs1_val==3 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x33333334, x1, 352, x2) +// rs1_val == 524288, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0xb, 0x80000, 0xb505, x12, 44*XLEN/8, x13) inst_122: -// rs1_val==3 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x66666667, x1, 356, x2) +// rs1_val == 1048576, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x16, 0x100000, 0xb505, x12, 45*XLEN/8, x13) inst_123: -// rs1_val==3 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0xb503, x1, 360, x2) +// rs1_val == 2097152, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x2d, 0x200000, 0xb505, x12, 46*XLEN/8, x13) inst_124: -// rs1_val==3 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0xb505, x1, 364, x2) +// rs1_val == 4194304, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x5a, 0x400000, 0xb505, x12, 47*XLEN/8, x13) inst_125: -// rs1_val==1431655765 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c, 0x55555555, 0x3, x1, 368, x2) +// rs1_val == 8388608, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0xb5, 0x800000, 0xb505, x12, 48*XLEN/8, x13) inst_126: -// rs1_val==1431655765 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555555, 0x55555555, x1, 372, x2) +// rs1_val == 16777216, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x16a, 0x1000000, 0xb505, x12, 49*XLEN/8, x13) inst_127: -// rs1_val==1431655765 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555555, -0x55555556, x1, 376, x2) +// rs1_val == 33554432, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x2d4, 0x2000000, 0xb505, x12, 50*XLEN/8, x13) inst_128: -// rs1_val==1431655765 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x11111111, 0x55555555, 0x5, x1, 380, x2) +// rs1_val == 67108864, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x5a8, 0x4000000, 0xb505, x12, 51*XLEN/8, x13) inst_129: -// rs1_val==1431655765 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555555, 0x33333333, x1, 384, x2) +// rs1_val == 134217728, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0xb50, 0x8000000, 0xb505, x12, 52*XLEN/8, x13) inst_130: -// rs1_val==1431655765 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555555, 0x66666666, x1, 388, x2) +// rs1_val == 268435456, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x16a0, 0x10000000, 0xb505, x12, 53*XLEN/8, x13) inst_131: -// rs1_val==1431655765 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff8752, 0x55555555, -0xb504, x1, 392, x2) +// rs1_val == 536870912, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x2d41, 0x20000000, 0xb505, x12, 54*XLEN/8, x13) inst_132: -// rs1_val==1431655765 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x78ae, 0x55555555, 0xb504, x1, 396, x2) +// rs1_val == 1073741824, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40000000; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x5a82, 0x40000000, 0xb505, x12, 55*XLEN/8, x13) inst_133: -// rs1_val==1431655765 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2aaaaaaa, 0x55555555, 0x2, x1, 400, x2) +// rs1_val==3 and rs2_val==1431655765, rs2_val == 1431655765 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x55555555, x12, 56*XLEN/8, x13) inst_134: -// rs1_val==1431655765 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555555, 0x55555554, x1, 404, x2) +// rs1_val==3 and rs2_val==-1431655766, rs2_val == -1431655766 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0x55555556, x12, 57*XLEN/8, x13) inst_135: -// rs1_val==1431655765 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x55555555, 0x0, x1, 408, x2) +// rs1_val==3 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x5, x12, 58*XLEN/8, x13) inst_136: -// rs1_val==1431655765 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x15555555, 0x55555555, 0x4, x1, 412, x2) +// rs1_val==3 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x33333333, x12, 59*XLEN/8, x13) inst_137: -// rs1_val==1431655765 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555555, 0x33333332, x1, 416, x2) +// rs1_val==3 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x66666666, x12, 60*XLEN/8, x13) inst_138: -// rs1_val==1431655765 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555555, 0x66666665, x1, 420, x2) +// rs1_val==3 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0xb504, x12, 61*XLEN/8, x13) inst_139: -// rs1_val==1431655765 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x78af, 0x55555555, 0xb503, x1, 424, x2) +// rs1_val==3 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0xb504, x12, 62*XLEN/8, x13) inst_140: -// rs1_val==1431655765 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555555, 0x55555556, x1, 428, x2) +// rs1_val==3 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3, 0x2, x12, 63*XLEN/8, x13) inst_141: -// rs1_val==1431655765 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x55555555, -0x55555555, x1, 432, x2) +// rs1_val==3 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x55555554, x12, 64*XLEN/8, x13) inst_142: -// rs1_val==1431655765 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e, 0x55555555, 0x6, x1, 436, x2) +// rs1_val==3 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x33333332, x12, 65*XLEN/8, x13) inst_143: -// rs1_val==1431655765 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555555, 0x33333334, x1, 440, x2) +// rs1_val==3 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x66666665, x12, 66*XLEN/8, x13) inst_144: -// rs1_val==1431655765 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555555, 0x66666667, x1, 444, x2) +// rs1_val == 1431655765, rs1_val==1431655765 and rs2_val==46341 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x78ad, 0x55555555, 0xb505, x12, 67*XLEN/8, x13) inst_145: -// rs1_val==1431655765 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff8751, 0x55555555, -0xb503, x1, 448, x2) +// rs1_val==3 and rs2_val==0, rs2_val == 0 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x3, 0x0, x12, 68*XLEN/8, x13) inst_146: -// rs1_val==1431655765 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555555; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x78ad, 0x55555555, 0xb505, x1, 452, x2) +// rs1_val==3 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0xb503, x12, 69*XLEN/8, x13) inst_147: -// rs1_val==-1431655766 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e4, -0x55555556, 0x3, x1, 456, x2) +// rs1_val == -1431655766, rs1_val==-1431655766 and rs2_val==46341 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, -0x78ad, -0x55555556, 0xb505, x12, 70*XLEN/8, x13) inst_148: -// rs1_val==-1431655766 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555556, 0x55555555, x1, 460, x2) +// rs1_val==3 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x4, x12, 71*XLEN/8, x13) inst_149: -// rs1_val==-1431655766 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x55555556, -0x55555556, x1, 464, x2) +// rs1_val==3 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x55555556, x12, 72*XLEN/8, x13) inst_150: -// rs1_val==-1431655766 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xeeeeeeef, -0x55555556, 0x5, x1, 468, x2) +// rs1_val==3 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0x55555555, x12, 73*XLEN/8, x13) inst_151: -// rs1_val==-1431655766 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555556, 0x33333333, x1, 472, x2) +// rs1_val==3 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x6, x12, 74*XLEN/8, x13) inst_152: -// rs1_val==-1431655766 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555556, 0x66666666, x1, 476, x2) +// rs1_val==3 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x33333334, x12, 75*XLEN/8, x13) inst_153: -// rs1_val==-1431655766 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x78ae, -0x55555556, -0xb504, x1, 480, x2) +// rs1_val==3 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x66666667, x12, 76*XLEN/8, x13) inst_154: -// rs1_val==-1431655766 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff8752, -0x55555556, 0xb504, x1, 484, x2) +// rs1_val==3 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0xb503, x12, 77*XLEN/8, x13) inst_155: -// rs1_val==-1431655766 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0xd5555555, -0x55555556, 0x2, x1, 488, x2) +// rs1_val==3 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0xb505, x12, 78*XLEN/8, x13) inst_156: -// rs1_val==-1431655766 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555556, 0x55555554, x1, 492, x2) +// rs1_val==1431655765 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1c71c71c, 0x55555555, 0x3, x12, 79*XLEN/8, x13) inst_157: -// rs1_val==-1431655766 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, -0x55555556, 0x0, x1, 496, x2) +// rs1_val==1431655765 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555555, 0x55555555, x12, 80*XLEN/8, x13) inst_158: -// rs1_val==-1431655766 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xeaaaaaab, -0x55555556, 0x4, x1, 500, x2) +// rs1_val==1431655765 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555555, -0x55555556, x12, 81*XLEN/8, x13) inst_159: -// rs1_val==-1431655766 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555556, 0x33333332, x1, 504, x2) +// rs1_val==1431655765 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x11111111, 0x55555555, 0x5, x12, 82*XLEN/8, x13) inst_160: -// rs1_val==-1431655766 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555556, 0x66666665, x1, 508, x2) +// rs1_val==1431655765 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555555, 0x33333333, x12, 83*XLEN/8, x13) inst_161: -// rs1_val==-1431655766 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff8751, -0x55555556, 0xb503, x1, 512, x2) +// rs1_val==1431655765 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555555, 0x66666666, x12, 84*XLEN/8, x13) inst_162: -// rs1_val==-1431655766 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555556, 0x55555556, x1, 516, x2) +// rs1_val==1431655765 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x78ae, 0x55555555, -0xb504, x12, 85*XLEN/8, x13) inst_163: -// rs1_val==-1431655766 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x55555556, -0x55555555, x1, 520, x2) +// rs1_val==1431655765 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x78ae, 0x55555555, 0xb504, x12, 86*XLEN/8, x13) inst_164: -// rs1_val==-1431655766 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xf1c71c72, -0x55555556, 0x6, x1, 524, x2) +// rs1_val==1431655765 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2aaaaaaa, 0x55555555, 0x2, x12, 87*XLEN/8, x13) inst_165: -// rs1_val==-1431655766 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555556, 0x33333334, x1, 528, x2) +// rs1_val==1431655765 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555555, 0x55555554, x12, 88*XLEN/8, x13) inst_166: -// rs1_val==-1431655766 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555556, 0x66666667, x1, 532, x2) +// rs1_val==1431655765 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555555, 0x33333332, x12, 89*XLEN/8, x13) inst_167: -// rs1_val==-1431655766 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x78af, -0x55555556, -0xb503, x1, 536, x2) +// rs1_val==1431655765 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555555, 0x66666665, x12, 90*XLEN/8, x13) inst_168: -// rs1_val==-1431655766 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555556; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0xffff8753, -0x55555556, 0xb505, x1, 540, x2) +// rs1_val==1431655765 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x55555555, 0x0, x12, 91*XLEN/8, x13) inst_169: -// rs1_val==5 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5, 0x3, x1, 544, x2) +// rs1_val==1431655765 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x78af, 0x55555555, 0xb503, x12, 92*XLEN/8, x13) inst_170: -// rs1_val==5 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x55555555, x1, 548, x2) +// rs1_val==1431655765 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x15555555, 0x55555555, 0x4, x12, 93*XLEN/8, x13) inst_171: -// rs1_val==5 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0x55555556, x1, 552, x2) +// rs1_val==1431655765 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555555, 0x55555556, x12, 94*XLEN/8, x13) inst_172: -// rs1_val==5 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5, 0x5, x1, 556, x2) +// rs1_val==1431655765 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x55555555, -0x55555555, x12, 95*XLEN/8, x13) inst_173: -// rs1_val==5 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x33333333, x1, 560, x2) +// rs1_val==1431655765 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0xe38e38e, 0x55555555, 0x6, x12, 96*XLEN/8, x13) inst_174: -// rs1_val==5 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x66666666, x1, 564, x2) +// rs1_val==1431655765 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555555, 0x33333334, x12, 97*XLEN/8, x13) inst_175: -// rs1_val==5 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0xb504, x1, 568, x2) +// rs1_val==1431655765 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555555, 0x66666667, x12, 98*XLEN/8, x13) inst_176: -// rs1_val==5 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0xb504, x1, 572, x2) +// rs1_val==1431655765 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x78af, 0x55555555, -0xb503, x12, 99*XLEN/8, x13) inst_177: -// rs1_val==5 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x5, 0x2, x1, 576, x2) +// rs1_val==-1431655766 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x1c71c71c, -0x55555556, 0x3, x12, 100*XLEN/8, x13) inst_178: -// rs1_val==5 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x55555554, x1, 580, x2) +// rs1_val==-1431655766 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555556, 0x55555555, x12, 101*XLEN/8, x13) inst_179: -// rs1_val==5 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x5, 0x0, x1, 584, x2) +// rs1_val==-1431655766 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0x55555556, -0x55555556, x12, 102*XLEN/8, x13) inst_180: -// rs1_val==5 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5, 0x4, x1, 588, x2) +// rs1_val==-1431655766 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x11111111, -0x55555556, 0x5, x12, 103*XLEN/8, x13) inst_181: -// rs1_val==5 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x33333332, x1, 592, x2) +// rs1_val==-1431655766 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555556, 0x33333333, x12, 104*XLEN/8, x13) inst_182: -// rs1_val==5 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x66666665, x1, 596, x2) +// rs1_val==-1431655766 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555556, 0x66666666, x12, 105*XLEN/8, x13) inst_183: -// rs1_val==5 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0xb503, x1, 600, x2) +// rs1_val==-1431655766 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x78ae, -0x55555556, -0xb504, x12, 106*XLEN/8, x13) inst_184: -// rs1_val==5 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x55555556, x1, 604, x2) +// rs1_val==-1431655766 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x78ae, -0x55555556, 0xb504, x12, 107*XLEN/8, x13) inst_185: -// rs1_val==5 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0x55555555, x1, 608, x2) +// rs1_val==-1431655766 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x2aaaaaab, -0x55555556, 0x2, x12, 108*XLEN/8, x13) inst_186: -// rs1_val==5 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x6, x1, 612, x2) +// rs1_val==-1431655766 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555556, 0x55555554, x12, 109*XLEN/8, x13) inst_187: -// rs1_val==5 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x33333334, x1, 616, x2) +// rs1_val==-1431655766 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555556, 0x33333332, x12, 110*XLEN/8, x13) inst_188: -// rs1_val==5 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x66666667, x1, 620, x2) +// rs1_val==-1431655766 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555556, 0x66666665, x12, 111*XLEN/8, x13) inst_189: -// rs1_val==5 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0xb503, x1, 624, x2) +// rs1_val==-1431655766 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, -0x55555556, 0x0, x12, 112*XLEN/8, x13) inst_190: -// rs1_val==5 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0xb505, x1, 628, x2) +// rs1_val==-1431655766 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x78af, -0x55555556, 0xb503, x12, 113*XLEN/8, x13) inst_191: -// rs1_val==858993459 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x11111111, 0x33333333, 0x3, x1, 632, x2) +// rs1_val==-1431655766 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x15555555, -0x55555556, 0x4, x12, 114*XLEN/8, x13) inst_192: -// rs1_val==858993459 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x55555555, x1, 636, x2) +// rs1_val==-1431655766 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555556, 0x55555556, x12, 115*XLEN/8, x13) inst_193: -// rs1_val==858993459 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, -0x55555556, x1, 640, x2) +// rs1_val==-1431655766 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0x55555556, -0x55555555, x12, 116*XLEN/8, x13) inst_194: -// rs1_val==858993459 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xa3d70a3, 0x33333333, 0x5, x1, 644, x2) +// rs1_val==-1431655766 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0xe38e38e, -0x55555556, 0x6, x12, 117*XLEN/8, x13) inst_195: -// rs1_val==858993459 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x33333333, 0x33333333, x1, 648, x2) +// rs1_val==-1431655766 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555556, 0x33333334, x12, 118*XLEN/8, x13) inst_196: -// rs1_val==858993459 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x66666666, x1, 652, x2) +// rs1_val==-1431655766 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555556, 0x66666667, x12, 119*XLEN/8, x13) inst_197: -// rs1_val==858993459 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffffb798, 0x33333333, -0xb504, x1, 656, x2) +// rs1_val==-1431655766 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555556; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x78af, -0x55555556, -0xb503, x12, 120*XLEN/8, x13) inst_198: -// rs1_val==858993459 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x4868, 0x33333333, 0xb504, x1, 660, x2) +// rs1_val==5 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5, 0x3, x12, 121*XLEN/8, x13) inst_199: -// rs1_val==858993459 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x19999999, 0x33333333, 0x2, x1, 664, x2) +// rs1_val==5 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x55555555, x12, 122*XLEN/8, x13) inst_200: -// rs1_val==858993459 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x55555554, x1, 668, x2) +// rs1_val==5 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0x55555556, x12, 123*XLEN/8, x13) inst_201: -// rs1_val==858993459 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x33333333, 0x0, x1, 672, x2) +// rs1_val==5 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5, 0x5, x12, 124*XLEN/8, x13) inst_202: -// rs1_val==858993459 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xccccccc, 0x33333333, 0x4, x1, 676, x2) +// rs1_val==5 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x33333333, x12, 125*XLEN/8, x13) inst_203: -// rs1_val==858993459 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x33333333, 0x33333332, x1, 680, x2) +// rs1_val==5 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x66666666, x12, 126*XLEN/8, x13) inst_204: -// rs1_val==858993459 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x66666665, x1, 684, x2) +// rs1_val==5 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0xb504, x12, 127*XLEN/8, x13) inst_205: -// rs1_val==858993459 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x4869, 0x33333333, 0xb503, x1, 688, x2) +// rs1_val==5 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0xb504, x12, 128*XLEN/8, x13) inst_206: -// rs1_val==858993459 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x55555556, x1, 692, x2) +// rs1_val==5 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x5, 0x2, x12, 129*XLEN/8, x13) inst_207: -// rs1_val==858993459 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, -0x55555555, x1, 696, x2) +// rs1_val==5 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x55555554, x12, 130*XLEN/8, x13) inst_208: -// rs1_val==858993459 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x8888888, 0x33333333, 0x6, x1, 700, x2) +// rs1_val==5 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x33333332, x12, 131*XLEN/8, x13) inst_209: -// rs1_val==858993459 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x33333334, x1, 704, x2) +// rs1_val==5 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x66666665, x12, 132*XLEN/8, x13) inst_210: -// rs1_val==858993459 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333333, 0x66666667, x1, 708, x2) +// rs1_val==5 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x5, 0x0, x12, 133*XLEN/8, x13) inst_211: -// rs1_val==858993459 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffb797, 0x33333333, -0xb503, x1, 712, x2) +// rs1_val==5 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0xb503, x12, 134*XLEN/8, x13) inst_212: -// rs1_val==858993459 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333333; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x4868, 0x33333333, 0xb505, x1, 716, x2) +// rs1_val==5 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5, 0x4, x12, 135*XLEN/8, x13) inst_213: -// rs1_val==1717986918 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x22222222, 0x66666666, 0x3, x1, 720, x2) +// rs1_val==5 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x55555556, x12, 136*XLEN/8, x13) inst_214: -// rs1_val==1717986918 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666666, 0x55555555, x1, 724, x2) +// rs1_val==5 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0x55555555, x12, 137*XLEN/8, x13) inst_215: -// rs1_val==1717986918 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x66666666, -0x55555556, x1, 728, x2) +// rs1_val==5 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x6, x12, 138*XLEN/8, x13) inst_216: -// rs1_val==1717986918 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x147ae147, 0x66666666, 0x5, x1, 732, x2) +// rs1_val==5 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x33333334, x12, 139*XLEN/8, x13) inst_217: -// rs1_val==1717986918 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x66666666, 0x33333333, x1, 736, x2) +// rs1_val==5 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x66666667, x12, 140*XLEN/8, x13) inst_218: -// rs1_val==1717986918 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666666, 0x66666666, x1, 740, x2) +// rs1_val==5 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0xb503, x12, 141*XLEN/8, x13) inst_219: -// rs1_val==1717986918 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff6f2f, 0x66666666, -0xb504, x1, 744, x2) +// rs1_val==5 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0xb505, x12, 142*XLEN/8, x13) inst_220: -// rs1_val==1717986918 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x90d1, 0x66666666, 0xb504, x1, 748, x2) +// rs1_val==858993459 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x11111111, 0x33333333, 0x3, x12, 143*XLEN/8, x13) inst_221: -// rs1_val==1717986918 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x33333333, 0x66666666, 0x2, x1, 752, x2) +// rs1_val==858993459 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x55555555, x12, 144*XLEN/8, x13) inst_222: -// rs1_val==1717986918 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666666, 0x55555554, x1, 756, x2) +// rs1_val==858993459 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, -0x55555556, x12, 145*XLEN/8, x13) inst_223: -// rs1_val==1717986918 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x66666666, 0x0, x1, 760, x2) +// rs1_val==858993459 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0xa3d70a3, 0x33333333, 0x5, x12, 146*XLEN/8, x13) inst_224: -// rs1_val==1717986918 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x19999999, 0x66666666, 0x4, x1, 764, x2) +// rs1_val==858993459 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x33333333, 0x33333333, x12, 147*XLEN/8, x13) inst_225: -// rs1_val==1717986918 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x66666666, 0x33333332, x1, 768, x2) +// rs1_val==858993459 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x66666666, x12, 148*XLEN/8, x13) inst_226: -// rs1_val==1717986918 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666666, 0x66666665, x1, 772, x2) +// rs1_val==858993459 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x4868, 0x33333333, -0xb504, x12, 149*XLEN/8, x13) inst_227: -// rs1_val==1717986918 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x90d2, 0x66666666, 0xb503, x1, 776, x2) +// rs1_val==858993459 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x4868, 0x33333333, 0xb504, x12, 150*XLEN/8, x13) inst_228: -// rs1_val==1717986918 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666666, 0x55555556, x1, 780, x2) +// rs1_val==858993459 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x19999999, 0x33333333, 0x2, x12, 151*XLEN/8, x13) inst_229: -// rs1_val==1717986918 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x66666666, -0x55555555, x1, 784, x2) +// rs1_val==858993459 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x55555554, x12, 152*XLEN/8, x13) inst_230: -// rs1_val==1717986918 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x11111111, 0x66666666, 0x6, x1, 788, x2) +// rs1_val==858993459 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x33333333, 0x33333332, x12, 153*XLEN/8, x13) inst_231: -// rs1_val==1717986918 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666666, 0x33333334, x1, 792, x2) +// rs1_val==858993459 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x66666665, x12, 154*XLEN/8, x13) inst_232: -// rs1_val==1717986918 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x66666666, 0x66666667, x1, 796, x2) +// rs1_val==858993459 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x33333333, 0x0, x12, 155*XLEN/8, x13) inst_233: -// rs1_val==1717986918 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff6f2e, 0x66666666, -0xb503, x1, 800, x2) +// rs1_val==858993459 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x4869, 0x33333333, 0xb503, x12, 156*XLEN/8, x13) inst_234: -// rs1_val==1717986918 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666666; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x90d0, 0x66666666, 0xb505, x1, 804, x2) +// rs1_val==858993459 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0xccccccc, 0x33333333, 0x4, x12, 157*XLEN/8, x13) inst_235: -// rs1_val==-46340 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0xffffc3aa, -0xb504, 0x3, x1, 808, x2) +// rs1_val==858993459 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x55555556, x12, 158*XLEN/8, x13) inst_236: -// rs1_val==-46340 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x55555555, x1, 812, x2) +// rs1_val==858993459 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, -0x55555555, x12, 159*XLEN/8, x13) inst_237: -// rs1_val==-46340 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, -0x55555556, x1, 816, x2) +// rs1_val==858993459 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x8888888, 0x33333333, 0x6, x12, 160*XLEN/8, x13) inst_238: -// rs1_val==-46340 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xffffdbcc, -0xb504, 0x5, x1, 820, x2) +// rs1_val==858993459 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x33333334, x12, 161*XLEN/8, x13) inst_239: -// rs1_val==-46340 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x33333333, x1, 824, x2) +// rs1_val==858993459 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333333, 0x66666667, x12, 162*XLEN/8, x13) inst_240: -// rs1_val==-46340 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x66666666, x1, 828, x2) +// rs1_val==858993459 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x4869, 0x33333333, -0xb503, x12, 163*XLEN/8, x13) inst_241: -// rs1_val==-46340 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0xb504, -0xb504, x1, 832, x2) +// rs1_val==858993459 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x4868, 0x33333333, 0xb505, x12, 164*XLEN/8, x13) inst_242: -// rs1_val==-46340 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0xb504, 0xb504, x1, 836, x2) +// rs1_val==1717986918 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x22222222, 0x66666666, 0x3, x12, 165*XLEN/8, x13) inst_243: -// rs1_val==-46340 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0xffffa57e, -0xb504, 0x2, x1, 840, x2) +// rs1_val==1717986918 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666666, 0x55555555, x12, 166*XLEN/8, x13) inst_244: -// rs1_val==-46340 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x55555554, x1, 844, x2) +// rs1_val==1717986918 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x66666666, -0x55555556, x12, 167*XLEN/8, x13) inst_245: -// rs1_val==-46340 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, -0xb504, 0x0, x1, 848, x2) +// rs1_val==1717986918 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x147ae147, 0x66666666, 0x5, x12, 168*XLEN/8, x13) inst_246: -// rs1_val==-46340 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xffffd2bf, -0xb504, 0x4, x1, 852, x2) +// rs1_val==1717986918 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x66666666, 0x33333333, x12, 169*XLEN/8, x13) inst_247: -// rs1_val==-46340 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x33333332, x1, 856, x2) +// rs1_val==1717986918 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666666, 0x66666666, x12, 170*XLEN/8, x13) inst_248: -// rs1_val==-46340 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x66666665, x1, 860, x2) +// rs1_val==1717986918 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x90d1, 0x66666666, -0xb504, x12, 171*XLEN/8, x13) inst_249: -// rs1_val==-46340 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0xb504, 0xb503, x1, 864, x2) +// rs1_val==1717986918 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x90d1, 0x66666666, 0xb504, x12, 172*XLEN/8, x13) inst_250: -// rs1_val==-46340 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x55555556, x1, 868, x2) +// rs1_val==1717986918 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x33333333, 0x66666666, 0x2, x12, 173*XLEN/8, x13) inst_251: -// rs1_val==-46340 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, -0x55555555, x1, 872, x2) +// rs1_val==1717986918 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666666, 0x55555554, x12, 174*XLEN/8, x13) inst_252: -// rs1_val==-46340 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xffffe1d5, -0xb504, 0x6, x1, 876, x2) +// rs1_val==1717986918 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x66666666, 0x33333332, x12, 175*XLEN/8, x13) inst_253: -// rs1_val==-46340 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x33333334, x1, 880, x2) +// rs1_val==1717986918 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666666, 0x66666665, x12, 176*XLEN/8, x13) inst_254: -// rs1_val==-46340 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0x66666667, x1, 884, x2) +// rs1_val==1717986918 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x66666666, 0x0, x12, 177*XLEN/8, x13) inst_255: -// rs1_val==-46340 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0xb504, -0xb503, x1, 888, x2) +// rs1_val==1717986918 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x90d2, 0x66666666, 0xb503, x12, 178*XLEN/8, x13) inst_256: -// rs1_val==-46340 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504, 0xb505, x1, 892, x2) +// rs1_val==1717986918 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x19999999, 0x66666666, 0x4, x12, 179*XLEN/8, x13) inst_257: -// rs1_val==46340 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x3c56, 0xb504, 0x3, x1, 896, x2) +// rs1_val==1717986918 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666666, 0x55555556, x12, 180*XLEN/8, x13) inst_258: -// rs1_val==46340 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x55555555, x1, 900, x2) +// rs1_val==1717986918 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x66666666, -0x55555555, x12, 181*XLEN/8, x13) inst_259: -// rs1_val==46340 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, -0x55555556, x1, 904, x2) +// rs1_val==1717986918 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x11111111, 0x66666666, 0x6, x12, 182*XLEN/8, x13) inst_260: -// rs1_val==46340 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x2434, 0xb504, 0x5, x1, 908, x2) +// rs1_val==1717986918 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666666, 0x33333334, x12, 183*XLEN/8, x13) inst_261: -// rs1_val==46340 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x33333333, x1, 912, x2) +// rs1_val==1717986918 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x66666666, 0x66666667, x12, 184*XLEN/8, x13) inst_262: -// rs1_val==46340 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x66666666, x1, 916, x2) +// rs1_val==1717986918 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x90d2, 0x66666666, -0xb503, x12, 185*XLEN/8, x13) inst_263: -// rs1_val==46340 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0xb504, -0xb504, x1, 920, x2) +// rs1_val==1717986918 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x90d0, 0x66666666, 0xb505, x12, 186*XLEN/8, x13) inst_264: -// rs1_val==46340 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504, 0xb504, x1, 924, x2) +// rs1_val==-46340 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x3c56, -0xb504, 0x3, x12, 187*XLEN/8, x13) inst_265: -// rs1_val==46340 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x5a82, 0xb504, 0x2, x1, 928, x2) +// rs1_val==-46340 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x55555555, x12, 188*XLEN/8, x13) inst_266: -// rs1_val==46340 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x55555554, x1, 932, x2) +// rs1_val==-46340 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, -0x55555556, x12, 189*XLEN/8, x13) inst_267: -// rs1_val==46340 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0xb504, 0x0, x1, 936, x2) +// rs1_val==-46340 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x2434, -0xb504, 0x5, x12, 190*XLEN/8, x13) inst_268: -// rs1_val==46340 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x2d41, 0xb504, 0x4, x1, 940, x2) +// rs1_val==-46340 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x33333333, x12, 191*XLEN/8, x13) inst_269: -// rs1_val==46340 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x33333332, x1, 944, x2) +// rs1_val==-46340 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x66666666, x12, 192*XLEN/8, x13) inst_270: -// rs1_val==46340 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x66666665, x1, 948, x2) +// rs1_val==-46340 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0xb504, -0xb504, x12, 193*XLEN/8, x13) inst_271: -// rs1_val==46340 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504, 0xb503, x1, 952, x2) +// rs1_val==-46340 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0xb504, 0xb504, x12, 194*XLEN/8, x13) inst_272: -// rs1_val==46340 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x55555556, x1, 956, x2) +// rs1_val==-46340 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x5a82, -0xb504, 0x2, x12, 195*XLEN/8, x13) inst_273: -// rs1_val==46340 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, -0x55555555, x1, 960, x2) +// rs1_val==-46340 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x55555554, x12, 196*XLEN/8, x13) inst_274: -// rs1_val==46340 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1e2b, 0xb504, 0x6, x1, 964, x2) +// rs1_val==-46340 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x33333332, x12, 197*XLEN/8, x13) inst_275: -// rs1_val==46340 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x33333334, x1, 968, x2) +// rs1_val==-46340 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x66666665, x12, 198*XLEN/8, x13) inst_276: -// rs1_val==46340 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0x66666667, x1, 972, x2) +// rs1_val==-46340 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, -0xb504, 0x0, x12, 199*XLEN/8, x13) inst_277: -// rs1_val==46340 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0xb504, -0xb503, x1, 976, x2) +// rs1_val==-46340 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0xb504, 0xb503, x12, 200*XLEN/8, x13) inst_278: -// rs1_val==46340 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504, 0xb505, x1, 980, x2) +// rs1_val==-46340 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x2d41, -0xb504, 0x4, x12, 201*XLEN/8, x13) inst_279: -// rs1_val==2 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x3, x1, 984, x2) +// rs1_val==-46340 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x55555556, x12, 202*XLEN/8, x13) inst_280: -// rs1_val==2 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x55555555, x1, 988, x2) +// rs1_val==-46340 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, -0x55555555, x12, 203*XLEN/8, x13) inst_281: -// rs1_val==2 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0x55555556, x1, 992, x2) +// rs1_val==-46340 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0x1e2b, -0xb504, 0x6, x12, 204*XLEN/8, x13) inst_282: -// rs1_val==2 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x5, x1, 996, x2) +// rs1_val==-46340 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x33333334, x12, 205*XLEN/8, x13) inst_283: -// rs1_val==2 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x33333333, x1, 1000, x2) +// rs1_val==-46340 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0x66666667, x12, 206*XLEN/8, x13) inst_284: -// rs1_val==2 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x66666666, x1, 1004, x2) +// rs1_val==-46340 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0xb504, -0xb503, x12, 207*XLEN/8, x13) inst_285: -// rs1_val==2 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0xb504, x1, 1008, x2) +// rs1_val==-46340 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504, 0xb505, x12, 208*XLEN/8, x13) inst_286: -// rs1_val==2 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0xb504, x1, 1012, x2) +// rs1_val==46340 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x3c56, 0xb504, 0x3, x12, 209*XLEN/8, x13) inst_287: -// rs1_val==2 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x2, 0x2, x1, 1016, x2) +// rs1_val==46340 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x55555555, x12, 210*XLEN/8, x13) inst_288: -// rs1_val==2 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x55555554, x1, 1020, x2) +// rs1_val==46340 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, -0x55555556, x12, 211*XLEN/8, x13) inst_289: -// rs1_val==2 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x2, 0x0, x1, 1024, x2) +// rs1_val==46340 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x2434, 0xb504, 0x5, x12, 212*XLEN/8, x13) inst_290: -// rs1_val==2 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x4, x1, 1028, x2) +// rs1_val==46340 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x33333333, x12, 213*XLEN/8, x13) inst_291: -// rs1_val==2 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x33333332, x1, 1032, x2) +// rs1_val==46340 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x66666666, x12, 214*XLEN/8, x13) inst_292: -// rs1_val==2 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x66666665, x1, 1036, x2) +// rs1_val==46340 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504, -0xb504, x12, 215*XLEN/8, x13) inst_293: -// rs1_val==2 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0xb503, x1, 1040, x2) +// rs1_val==46340 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504, 0xb504, x12, 216*XLEN/8, x13) inst_294: -// rs1_val==2 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x55555556, x1, 1044, x2) +// rs1_val==46340 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x5a82, 0xb504, 0x2, x12, 217*XLEN/8, x13) inst_295: -// rs1_val==2 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0x55555555, x1, 1048, x2) +// rs1_val==46340 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x55555554, x12, 218*XLEN/8, x13) inst_296: -// rs1_val==2 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x6, x1, 1052, x2) +// rs1_val==46340 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x33333332, x12, 219*XLEN/8, x13) inst_297: -// rs1_val==2 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x33333334, x1, 1056, x2) +// rs1_val==46340 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x66666665, x12, 220*XLEN/8, x13) inst_298: -// rs1_val==2 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x66666667, x1, 1060, x2) +// rs1_val==46340 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0xb504, 0x0, x12, 221*XLEN/8, x13) inst_299: -// rs1_val==2 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0xb503, x1, 1064, x2) +// rs1_val==46340 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504, 0xb503, x12, 222*XLEN/8, x13) inst_300: -// rs1_val==2 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0xb505, x1, 1068, x2) +// rs1_val==46340 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x2d41, 0xb504, 0x4, x12, 223*XLEN/8, x13) inst_301: -// rs1_val==1431655764 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c, 0x55555554, 0x3, x1, 1072, x2) +// rs1_val==46340 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x55555556, x12, 224*XLEN/8, x13) inst_302: -// rs1_val==1431655764 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, 0x55555555, x1, 1076, x2) +// rs1_val==46340 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, -0x55555555, x12, 225*XLEN/8, x13) inst_303: -// rs1_val==1431655764 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, -0x55555556, x1, 1080, x2) +// rs1_val==46340 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1e2b, 0xb504, 0x6, x12, 226*XLEN/8, x13) inst_304: -// rs1_val==1431655764 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x11111110, 0x55555554, 0x5, x1, 1084, x2) +// rs1_val==46340 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x33333334, x12, 227*XLEN/8, x13) inst_305: -// rs1_val==1431655764 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555554, 0x33333333, x1, 1088, x2) +// rs1_val==46340 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0x66666667, x12, 228*XLEN/8, x13) inst_306: -// rs1_val==1431655764 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, 0x66666666, x1, 1092, x2) +// rs1_val==46340 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504, -0xb503, x12, 229*XLEN/8, x13) inst_307: -// rs1_val==1431655764 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff8752, 0x55555554, -0xb504, x1, 1096, x2) +// rs1_val==46340 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504, 0xb505, x12, 230*XLEN/8, x13) inst_308: -// rs1_val==1431655764 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x78ae, 0x55555554, 0xb504, x1, 1100, x2) +// rs1_val==2 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x3, x12, 231*XLEN/8, x13) inst_309: -// rs1_val==1431655764 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2aaaaaaa, 0x55555554, 0x2, x1, 1104, x2) +// rs1_val==2 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x55555555, x12, 232*XLEN/8, x13) inst_310: -// rs1_val==1431655764 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555554, 0x55555554, x1, 1108, x2) +// rs1_val==2 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0x55555556, x12, 233*XLEN/8, x13) inst_311: -// rs1_val==1431655764 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x55555554, 0x0, x1, 1112, x2) +// rs1_val==2 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x5, x12, 234*XLEN/8, x13) inst_312: -// rs1_val==1431655764 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x15555555, 0x55555554, 0x4, x1, 1116, x2) +// rs1_val==2 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x33333333, x12, 235*XLEN/8, x13) inst_313: -// rs1_val==1431655764 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555554, 0x33333332, x1, 1120, x2) +// rs1_val==2 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x66666666, x12, 236*XLEN/8, x13) inst_314: -// rs1_val==1431655764 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, 0x66666665, x1, 1124, x2) +// rs1_val==2 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0xb504, x12, 237*XLEN/8, x13) inst_315: -// rs1_val==1431655764 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x78af, 0x55555554, 0xb503, x1, 1128, x2) +// rs1_val==2 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0xb504, x12, 238*XLEN/8, x13) inst_316: -// rs1_val==1431655764 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, 0x55555556, x1, 1132, x2) +// rs1_val==2 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x2, 0x2, x12, 239*XLEN/8, x13) inst_317: -// rs1_val==1431655764 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, -0x55555555, x1, 1136, x2) +// rs1_val==2 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x55555554, x12, 240*XLEN/8, x13) inst_318: -// rs1_val==1431655764 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e, 0x55555554, 0x6, x1, 1140, x2) +// rs1_val==2 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x33333332, x12, 241*XLEN/8, x13) inst_319: -// rs1_val==1431655764 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555554, 0x33333334, x1, 1144, x2) +// rs1_val==2 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x66666665, x12, 242*XLEN/8, x13) inst_320: -// rs1_val==1431655764 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555554, 0x66666667, x1, 1148, x2) +// rs1_val==2 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x2, 0x0, x12, 243*XLEN/8, x13) inst_321: -// rs1_val==1431655764 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff8751, 0x55555554, -0xb503, x1, 1152, x2) +// rs1_val==2 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0xb503, x12, 244*XLEN/8, x13) inst_322: -// rs1_val==1431655764 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555554; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x78ad, 0x55555554, 0xb505, x1, 1156, x2) +// rs1_val==2 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x4, x12, 245*XLEN/8, x13) inst_323: -// rs1_val==0 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x3, x1, 1160, x2) +// rs1_val==2 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x55555556, x12, 246*XLEN/8, x13) inst_324: -// rs1_val==0 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x55555555, x1, 1164, x2) +// rs1_val==2 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0x55555555, x12, 247*XLEN/8, x13) inst_325: -// rs1_val==0 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0x55555556, x1, 1168, x2) +// rs1_val==2 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x6, x12, 248*XLEN/8, x13) inst_326: -// rs1_val==0 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x5, x1, 1172, x2) +// rs1_val==2 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x33333334, x12, 249*XLEN/8, x13) inst_327: -// rs1_val==0 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x33333333, x1, 1176, x2) +// rs1_val==2 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x66666667, x12, 250*XLEN/8, x13) inst_328: -// rs1_val==0 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x66666666, x1, 1180, x2) +// rs1_val==2 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0xb503, x12, 251*XLEN/8, x13) inst_329: -// rs1_val==0 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0xb504, x1, 1184, x2) +// rs1_val==1431655764 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1c71c71c, 0x55555554, 0x3, x12, 252*XLEN/8, x13) inst_330: -// rs1_val==0 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0xb504, x1, 1188, x2) +// rs1_val==1431655764 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, 0x55555555, x12, 253*XLEN/8, x13) inst_331: -// rs1_val==0 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x2, x1, 1192, x2) +// rs1_val==1431655764 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, -0x55555556, x12, 254*XLEN/8, x13) inst_332: -// rs1_val==-1431655765 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x55555555, -0x55555555, x1, 1196, x2) +// rs1_val==1431655764 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x11111110, 0x55555554, 0x5, x12, 255*XLEN/8, x13) +RVTEST_SIGBASE(x12,signature_x12_1) inst_333: -// rs1_val==-1431655765 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xf1c71c72, -0x55555555, 0x6, x1, 1200, x2) +// rs1_val==1431655764 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555554, 0x33333333, x12, 0*XLEN/8, x13) inst_334: -// rs1_val==-1431655765 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555555, 0x33333334, x1, 1204, x2) +// rs1_val==1431655764 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, 0x66666666, x12, 1*XLEN/8, x13) inst_335: -// rs1_val==-1431655765 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555555, 0x66666667, x1, 1208, x2) +// rs1_val==1431655764 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x78ae, 0x55555554, -0xb504, x12, 2*XLEN/8, x13) inst_336: -// rs1_val==-1431655765 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x78af, -0x55555555, -0xb503, x1, 1212, x2) +// rs1_val==1431655764 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x78ae, 0x55555554, 0xb504, x12, 3*XLEN/8, x13) inst_337: -// rs1_val==-1431655765 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0xffff8753, -0x55555555, 0xb505, x1, 1216, x2) +// rs1_val==1431655764 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2aaaaaaa, 0x55555554, 0x2, x12, 4*XLEN/8, x13) inst_338: -// rs1_val==6 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6, 0x3, x1, 1220, x2) +// rs1_val==1431655764 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555554, 0x55555554, x12, 5*XLEN/8, x13) inst_339: -// rs1_val==6 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x55555555, x1, 1224, x2) +// rs1_val==1431655764 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555554, 0x33333332, x12, 6*XLEN/8, x13) inst_340: -// rs1_val==6 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0x55555556, x1, 1228, x2) +// rs1_val==1431655764 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, 0x66666665, x12, 7*XLEN/8, x13) inst_341: -// rs1_val==6 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6, 0x5, x1, 1232, x2) +// rs1_val==1431655764 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x55555554, 0x0, x12, 8*XLEN/8, x13) inst_342: -// rs1_val==6 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x33333333, x1, 1236, x2) +// rs1_val==1431655764 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x78af, 0x55555554, 0xb503, x12, 9*XLEN/8, x13) inst_343: -// rs1_val==6 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x66666666, x1, 1240, x2) +// rs1_val==1431655764 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x15555555, 0x55555554, 0x4, x12, 10*XLEN/8, x13) inst_344: -// rs1_val==6 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0xb504, x1, 1244, x2) +// rs1_val==1431655764 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, 0x55555556, x12, 11*XLEN/8, x13) inst_345: -// rs1_val==6 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0xb504, x1, 1248, x2) +// rs1_val==1431655764 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, -0x55555555, x12, 12*XLEN/8, x13) inst_346: -// rs1_val==6 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x3, 0x6, 0x2, x1, 1252, x2) +// rs1_val==1431655764 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0xe38e38e, 0x55555554, 0x6, x12, 13*XLEN/8, x13) inst_347: -// rs1_val==6 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x55555554, x1, 1256, x2) +// rs1_val==1431655764 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555554, 0x33333334, x12, 14*XLEN/8, x13) inst_348: -// rs1_val==6 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x6, 0x0, x1, 1260, x2) +// rs1_val==1431655764 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555554, 0x66666667, x12, 15*XLEN/8, x13) inst_349: -// rs1_val==6 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6, 0x4, x1, 1264, x2) +// rs1_val==1431655764 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x78af, 0x55555554, -0xb503, x12, 16*XLEN/8, x13) inst_350: -// rs1_val==6 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x33333332, x1, 1268, x2) +// rs1_val==1431655764 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x78ad, 0x55555554, 0xb505, x12, 17*XLEN/8, x13) inst_351: -// rs1_val==6 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x66666665, x1, 1272, x2) +// rs1_val==858993458 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x11111110, 0x33333332, 0x3, x12, 18*XLEN/8, x13) inst_352: -// rs1_val==6 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0xb503, x1, 1276, x2) +// rs1_val==858993458 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x55555555, x12, 19*XLEN/8, x13) inst_353: -// rs1_val==6 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x55555556, x1, 1280, x2) +// rs1_val==-1431655765 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0x55555555, -0x55555555, x12, 20*XLEN/8, x13) inst_354: -// rs1_val==6 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0x55555555, x1, 1284, x2) +// rs1_val==-1431655765 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0xe38e38e, -0x55555555, 0x6, x12, 21*XLEN/8, x13) inst_355: -// rs1_val==6 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6, 0x6, x1, 1288, x2) +// rs1_val==-1431655765 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555555, 0x33333334, x12, 22*XLEN/8, x13) inst_356: -// rs1_val==6 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x33333334, x1, 1292, x2) +// rs1_val==-1431655765 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555555, 0x66666667, x12, 23*XLEN/8, x13) inst_357: -// rs1_val==6 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x66666667, x1, 1296, x2) +// rs1_val==-1431655765 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x78af, -0x55555555, -0xb503, x12, 24*XLEN/8, x13) inst_358: -// rs1_val==6 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0xb503, x1, 1300, x2) +// rs1_val==-1431655765 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, -0x78ad, -0x55555555, 0xb505, x12, 25*XLEN/8, x13) inst_359: -// rs1_val==6 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0xb505, x1, 1304, x2) +// rs1_val==6 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6, 0x3, x12, 26*XLEN/8, x13) inst_360: -// rs1_val==858993460 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x11111111, 0x33333334, 0x3, x1, 1308, x2) +// rs1_val==6 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x55555555, x12, 27*XLEN/8, x13) inst_361: -// rs1_val==858993460 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, 0x55555555, x1, 1312, x2) +// rs1_val==6 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0x55555556, x12, 28*XLEN/8, x13) inst_362: -// rs1_val==858993460 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, -0x55555556, x1, 1316, x2) +// rs1_val==6 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6, 0x5, x12, 29*XLEN/8, x13) inst_363: -// rs1_val==858993460 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xa3d70a4, 0x33333334, 0x5, x1, 1320, x2) +// rs1_val==6 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x33333333, x12, 30*XLEN/8, x13) inst_364: -// rs1_val==858993460 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x33333334, 0x33333333, x1, 1324, x2) +// rs1_val==6 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x66666666, x12, 31*XLEN/8, x13) inst_365: -// rs1_val==858993460 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, 0x66666666, x1, 1328, x2) +// rs1_val==6 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0xb504, x12, 32*XLEN/8, x13) inst_366: -// rs1_val==858993460 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffffb798, 0x33333334, -0xb504, x1, 1332, x2) +// rs1_val==6 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0xb504, x12, 33*XLEN/8, x13) inst_367: -// rs1_val==858993460 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x4868, 0x33333334, 0xb504, x1, 1336, x2) +// rs1_val==6 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x3, 0x6, 0x2, x12, 34*XLEN/8, x13) inst_368: -// rs1_val==858993460 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1999999a, 0x33333334, 0x2, x1, 1340, x2) +// rs1_val==6 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x55555554, x12, 35*XLEN/8, x13) inst_369: -// rs1_val==858993460 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, 0x55555554, x1, 1344, x2) +// rs1_val==6 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x33333332, x12, 36*XLEN/8, x13) inst_370: -// rs1_val==858993460 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x33333334, 0x0, x1, 1348, x2) +// rs1_val==6 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x66666665, x12, 37*XLEN/8, x13) inst_371: -// rs1_val==858993460 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xccccccd, 0x33333334, 0x4, x1, 1352, x2) +// rs1_val==6 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x6, 0x0, x12, 38*XLEN/8, x13) inst_372: -// rs1_val==858993460 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x33333334, 0x33333332, x1, 1356, x2) +// rs1_val==6 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0xb503, x12, 39*XLEN/8, x13) inst_373: -// rs1_val==858993460 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, 0x66666665, x1, 1360, x2) +// rs1_val==6 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6, 0x4, x12, 40*XLEN/8, x13) inst_374: -// rs1_val==858993460 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x4869, 0x33333334, 0xb503, x1, 1364, x2) +// rs1_val==6 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x55555556, x12, 41*XLEN/8, x13) inst_375: -// rs1_val==858993460 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, 0x55555556, x1, 1368, x2) +// rs1_val==6 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0x55555555, x12, 42*XLEN/8, x13) inst_376: -// rs1_val==858993460 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, -0x55555555, x1, 1372, x2) +// rs1_val==6 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6, 0x6, x12, 43*XLEN/8, x13) inst_377: -// rs1_val==858993460 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x8888888, 0x33333334, 0x6, x1, 1376, x2) +// rs1_val==6 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x33333334, x12, 44*XLEN/8, x13) inst_378: -// rs1_val==858993460 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x33333334, 0x33333334, x1, 1380, x2) +// rs1_val==6 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x66666667, x12, 45*XLEN/8, x13) inst_379: -// rs1_val==858993460 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333334, 0x66666667, x1, 1384, x2) +// rs1_val==6 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0xb503, x12, 46*XLEN/8, x13) inst_380: -// rs1_val==858993460 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffb797, 0x33333334, -0xb503, x1, 1388, x2) +// rs1_val==6 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0xb505, x12, 47*XLEN/8, x13) inst_381: -// rs1_val==858993460 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333334; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x4868, 0x33333334, 0xb505, x1, 1392, x2) +// rs1_val==858993460 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x11111111, 0x33333334, 0x3, x12, 48*XLEN/8, x13) inst_382: -// rs1_val==1717986919 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x22222222, 0x66666667, 0x3, x1, 1396, x2) +// rs1_val==858993460 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, 0x55555555, x12, 49*XLEN/8, x13) inst_383: -// rs1_val==1717986919 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x55555555, x1, 1400, x2) +// rs1_val==858993460 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, -0x55555556, x12, 50*XLEN/8, x13) inst_384: -// rs1_val==1717986919 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x66666667, -0x55555556, x1, 1404, x2) +// rs1_val==858993460 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0xa3d70a4, 0x33333334, 0x5, x12, 51*XLEN/8, x13) inst_385: -// rs1_val==1717986919 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x147ae147, 0x66666667, 0x5, x1, 1408, x2) +// rs1_val==858993460 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x33333334, 0x33333333, x12, 52*XLEN/8, x13) inst_386: -// rs1_val==1717986919 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x66666667, 0x33333333, x1, 1412, x2) +// rs1_val==858993460 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, 0x66666666, x12, 53*XLEN/8, x13) inst_387: -// rs1_val==1717986919 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x66666666, x1, 1416, x2) +// rs1_val==858993460 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x4868, 0x33333334, -0xb504, x12, 54*XLEN/8, x13) inst_388: -// rs1_val==1717986919 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff6f2f, 0x66666667, -0xb504, x1, 1420, x2) +// rs1_val==858993460 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x4868, 0x33333334, 0xb504, x12, 55*XLEN/8, x13) inst_389: -// rs1_val==1717986919 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x90d1, 0x66666667, 0xb504, x1, 1424, x2) +// rs1_val==858993460 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1999999a, 0x33333334, 0x2, x12, 56*XLEN/8, x13) inst_390: -// rs1_val==1717986919 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x33333333, 0x66666667, 0x2, x1, 1428, x2) +// rs1_val==858993460 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, 0x55555554, x12, 57*XLEN/8, x13) inst_391: -// rs1_val==1717986919 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x55555554, x1, 1432, x2) +// rs1_val==858993460 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x33333334, 0x33333332, x12, 58*XLEN/8, x13) inst_392: -// rs1_val==1717986919 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x66666667, 0x0, x1, 1436, x2) +// rs1_val==858993460 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, 0x66666665, x12, 59*XLEN/8, x13) inst_393: -// rs1_val==1717986919 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x19999999, 0x66666667, 0x4, x1, 1440, x2) +// rs1_val==858993460 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x33333334, 0x0, x12, 60*XLEN/8, x13) inst_394: -// rs1_val==1717986919 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x66666667, 0x33333332, x1, 1444, x2) +// rs1_val==858993460 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x4869, 0x33333334, 0xb503, x12, 61*XLEN/8, x13) inst_395: -// rs1_val==1717986919 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x66666665, x1, 1448, x2) +// rs1_val==858993460 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0xccccccd, 0x33333334, 0x4, x12, 62*XLEN/8, x13) inst_396: -// rs1_val==1717986919 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x90d2, 0x66666667, 0xb503, x1, 1452, x2) +// rs1_val==858993460 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, 0x55555556, x12, 63*XLEN/8, x13) inst_397: -// rs1_val==1717986919 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x55555556, x1, 1456, x2) +// rs1_val==858993460 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, -0x55555555, x12, 64*XLEN/8, x13) inst_398: -// rs1_val==1717986919 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x66666667, -0x55555555, x1, 1460, x2) +// rs1_val==858993460 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x8888888, 0x33333334, 0x6, x12, 65*XLEN/8, x13) inst_399: -// rs1_val==1717986919 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x11111111, 0x66666667, 0x6, x1, 1464, x2) +// rs1_val==858993460 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x33333334, 0x33333334, x12, 66*XLEN/8, x13) inst_400: -// rs1_val==1717986919 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x33333334, x1, 1468, x2) +// rs1_val==858993460 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333334, 0x66666667, x12, 67*XLEN/8, x13) inst_401: -// rs1_val==1717986919 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666667, 0x66666667, x1, 1472, x2) +// rs1_val==858993460 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x4869, 0x33333334, -0xb503, x12, 68*XLEN/8, x13) inst_402: -// rs1_val==1717986919 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff6f2e, 0x66666667, -0xb503, x1, 1476, x2) +// rs1_val==858993460 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x4868, 0x33333334, 0xb505, x12, 69*XLEN/8, x13) inst_403: -// rs1_val==1717986919 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666667; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x90d0, 0x66666667, 0xb505, x1, 1480, x2) +// rs1_val==1717986919 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x22222222, 0x66666667, 0x3, x12, 70*XLEN/8, x13) inst_404: -// rs1_val==-46339 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0xffffc3aa, -0xb503, 0x3, x1, 1484, x2) +// rs1_val==1717986919 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x55555555, x12, 71*XLEN/8, x13) inst_405: -// rs1_val==-46339 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x55555555, x1, 1488, x2) +// rs1_val==1717986919 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x66666667, -0x55555556, x12, 72*XLEN/8, x13) inst_406: -// rs1_val==-46339 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, -0x55555556, x1, 1492, x2) +// rs1_val==1717986919 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x147ae147, 0x66666667, 0x5, x12, 73*XLEN/8, x13) inst_407: -// rs1_val==-46339 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xffffdbcd, -0xb503, 0x5, x1, 1496, x2) +// rs1_val==1717986919 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x66666667, 0x33333333, x12, 74*XLEN/8, x13) inst_408: -// rs1_val==-46339 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x33333333, x1, 1500, x2) +// rs1_val==1717986919 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x66666666, x12, 75*XLEN/8, x13) inst_409: -// rs1_val==-46339 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x66666666, x1, 1504, x2) +// rs1_val==1717986919 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x90d1, 0x66666667, -0xb504, x12, 76*XLEN/8, x13) inst_410: -// rs1_val==-46339 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, -0xb504, x1, 1508, x2) +// rs1_val==1717986919 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x90d1, 0x66666667, 0xb504, x12, 77*XLEN/8, x13) inst_411: -// rs1_val==-46339 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0xb504, x1, 1512, x2) +// rs1_val==1717986919 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x33333333, 0x66666667, 0x2, x12, 78*XLEN/8, x13) inst_412: -// rs1_val==-46339 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0xffffa57f, -0xb503, 0x2, x1, 1516, x2) +// rs1_val==1717986919 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x55555554, x12, 79*XLEN/8, x13) inst_413: -// rs1_val==-46339 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x55555554, x1, 1520, x2) +// rs1_val==1717986919 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x66666667, 0x33333332, x12, 80*XLEN/8, x13) inst_414: -// rs1_val==-46339 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, -0xb503, 0x0, x1, 1524, x2) +// rs1_val==1717986919 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x66666665, x12, 81*XLEN/8, x13) inst_415: -// rs1_val==-46339 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xffffd2c0, -0xb503, 0x4, x1, 1528, x2) +// rs1_val==1717986919 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x66666667, 0x0, x12, 82*XLEN/8, x13) inst_416: -// rs1_val==-46339 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x33333332, x1, 1532, x2) +// rs1_val==1717986919 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x90d2, 0x66666667, 0xb503, x12, 83*XLEN/8, x13) inst_417: -// rs1_val==-46339 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x66666665, x1, 1536, x2) +// rs1_val==1717986919 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x19999999, 0x66666667, 0x4, x12, 84*XLEN/8, x13) inst_418: -// rs1_val==-46339 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0xb503, 0xb503, x1, 1540, x2) +// rs1_val==1717986919 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x55555556, x12, 85*XLEN/8, x13) inst_419: -// rs1_val==-46339 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x55555556, x1, 1544, x2) +// rs1_val==1717986919 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x66666667, -0x55555555, x12, 86*XLEN/8, x13) inst_420: -// rs1_val==-46339 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, -0x55555555, x1, 1548, x2) +// rs1_val==1717986919 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x11111111, 0x66666667, 0x6, x12, 87*XLEN/8, x13) inst_421: -// rs1_val==-46339 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xffffe1d5, -0xb503, 0x6, x1, 1552, x2) +// rs1_val==1717986919 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x33333334, x12, 88*XLEN/8, x13) inst_422: -// rs1_val==-46339 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x33333334, x1, 1556, x2) +// rs1_val==1717986919 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666667, 0x66666667, x12, 89*XLEN/8, x13) inst_423: -// rs1_val==-46339 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0x66666667, x1, 1560, x2) +// rs1_val==1717986919 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x90d2, 0x66666667, -0xb503, x12, 90*XLEN/8, x13) inst_424: -// rs1_val==-46339 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0xb503, -0xb503, x1, 1564, x2) +// rs1_val==1717986919 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x90d0, 0x66666667, 0xb505, x12, 91*XLEN/8, x13) inst_425: -// rs1_val==-46339 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb503; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb503, 0xb505, x1, 1568, x2) +// rs1_val==-46339 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x3c56, -0xb503, 0x3, x12, 92*XLEN/8, x13) inst_426: -// rs1_val==46341 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x3c57, 0xb505, 0x3, x1, 1572, x2) +// rs1_val==-46339 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x55555555, x12, 93*XLEN/8, x13) inst_427: -// rs1_val==46341 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x55555555, x1, 1576, x2) +// rs1_val==-46339 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, -0x55555556, x12, 94*XLEN/8, x13) inst_428: -// rs1_val==46341 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, -0x55555556, x1, 1580, x2) +// rs1_val==-46339 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x2433, -0xb503, 0x5, x12, 95*XLEN/8, x13) inst_429: -// rs1_val==46341 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x2434, 0xb505, 0x5, x1, 1584, x2) +// rs1_val==-46339 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x33333333, x12, 96*XLEN/8, x13) inst_430: -// rs1_val==46341 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x33333333, x1, 1588, x2) +// rs1_val==-46339 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x66666666, x12, 97*XLEN/8, x13) inst_431: -// rs1_val==46341 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x66666666, x1, 1592, x2) +// rs1_val==-46339 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, -0xb504, x12, 98*XLEN/8, x13) inst_432: -// rs1_val==46341 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0xb505, -0xb504, x1, 1596, x2) +// rs1_val==-46339 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0xb504, x12, 99*XLEN/8, x13) inst_433: -// rs1_val==46341 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb505, 0xb504, x1, 1600, x2) +// rs1_val==-46339 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x5a81, -0xb503, 0x2, x12, 100*XLEN/8, x13) inst_434: -// rs1_val==46341 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x5a82, 0xb505, 0x2, x1, 1604, x2) +// rs1_val==-46339 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x55555554, x12, 101*XLEN/8, x13) inst_435: -// rs1_val==46341 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x55555554, x1, 1608, x2) +// rs1_val==-46339 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x33333332, x12, 102*XLEN/8, x13) inst_436: -// rs1_val==46341 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0xb505, 0x0, x1, 1612, x2) +// rs1_val==-46339 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x66666665, x12, 103*XLEN/8, x13) inst_437: -// rs1_val==46341 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x2d41, 0xb505, 0x4, x1, 1616, x2) +// rs1_val==-46339 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, -0xb503, 0x0, x12, 104*XLEN/8, x13) inst_438: -// rs1_val==46341 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x33333332, x1, 1620, x2) +// rs1_val==-46339 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0xb503, 0xb503, x12, 105*XLEN/8, x13) inst_439: -// rs1_val==46341 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x66666665, x1, 1624, x2) +// rs1_val==-46339 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x2d40, -0xb503, 0x4, x12, 106*XLEN/8, x13) inst_440: -// rs1_val==46341 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb505, 0xb503, x1, 1628, x2) +// rs1_val==-46339 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x55555556, x12, 107*XLEN/8, x13) inst_441: -// rs1_val==46341 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x55555556, x1, 1632, x2) +// rs1_val==-46339 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, -0x55555555, x12, 108*XLEN/8, x13) inst_442: -// rs1_val==46341 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, -0x55555555, x1, 1636, x2) +// rs1_val==-46339 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0x1e2b, -0xb503, 0x6, x12, 109*XLEN/8, x13) inst_443: -// rs1_val==46341 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1e2b, 0xb505, 0x6, x1, 1640, x2) +// rs1_val==-46339 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x33333334, x12, 110*XLEN/8, x13) inst_444: -// rs1_val==46341 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x33333334, x1, 1644, x2) +// rs1_val==-46339 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0x66666667, x12, 111*XLEN/8, x13) inst_445: -// rs1_val==46341 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb505, 0x66666667, x1, 1648, x2) +// rs1_val==46341 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x3c57, 0xb505, 0x3, x12, 112*XLEN/8, x13) inst_446: -// rs1_val==46341 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0xb505, -0xb503, x1, 1652, x2) +// rs1_val==46341 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x55555555, x12, 113*XLEN/8, x13) inst_447: -// rs1_val==46341 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb505; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb505, 0xb505, x1, 1656, x2) +// rs1_val==46341 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, -0x55555556, x12, 114*XLEN/8, x13) inst_448: -// rs1_val==0 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x55555554, x1, 1660, x2) +// rs1_val==46341 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x2434, 0xb505, 0x5, x12, 115*XLEN/8, x13) inst_449: -// rs1_val==0 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x0, 0x0, x1, 1664, x2) +// rs1_val==46341 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x33333333, x12, 116*XLEN/8, x13) inst_450: -// rs1_val==0 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x4, x1, 1668, x2) +// rs1_val==46341 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x66666666, x12, 117*XLEN/8, x13) inst_451: -// rs1_val==0 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x33333332, x1, 1672, x2) +// rs1_val==46341 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb505, -0xb504, x12, 118*XLEN/8, x13) inst_452: -// rs1_val==0 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x66666665, x1, 1676, x2) +// rs1_val==46341 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb505, 0xb504, x12, 119*XLEN/8, x13) inst_453: -// rs1_val==0 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0xb503, x1, 1680, x2) +// rs1_val==46341 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x55555554, x12, 120*XLEN/8, x13) inst_454: -// rs1_val==0 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x55555556, x1, 1684, x2) +// rs1_val==46341 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x33333332, x12, 121*XLEN/8, x13) inst_455: -// rs1_val==0 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0x55555555, x1, 1688, x2) +// rs1_val==46341 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x66666665, x12, 122*XLEN/8, x13) inst_456: -// rs1_val==0 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x6, x1, 1692, x2) +// rs1_val==46341 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0xb505, 0x0, x12, 123*XLEN/8, x13) inst_457: -// rs1_val==0 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x33333334, x1, 1696, x2) +// rs1_val==46341 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb505, 0xb503, x12, 124*XLEN/8, x13) inst_458: -// rs1_val==0 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x66666667, x1, 1700, x2) +// rs1_val==46341 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x55555556, x12, 125*XLEN/8, x13) inst_459: -// rs1_val==0 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0xb503, x1, 1704, x2) +// rs1_val==46341 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, -0x55555555, x12, 126*XLEN/8, x13) inst_460: -// rs1_val==0 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0xb505, x1, 1708, x2) +// rs1_val==46341 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1e2b, 0xb505, 0x6, x12, 127*XLEN/8, x13) inst_461: -// rs1_val==4 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x4, 0x3, x1, 1712, x2) +// rs1_val==46341 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x33333334, x12, 128*XLEN/8, x13) inst_462: -// rs1_val==4 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x55555555, x1, 1716, x2) +// rs1_val==46341 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, 0x66666667, x12, 129*XLEN/8, x13) inst_463: -// rs1_val==4 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0x55555556, x1, 1720, x2) +// rs1_val==46341 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb505, 0xb505, x12, 130*XLEN/8, x13) inst_464: -// rs1_val==4 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x5, x1, 1724, x2) +// rs1_val==858993458 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, -0x55555556, x12, 131*XLEN/8, x13) inst_465: -// rs1_val==4 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x33333333, x1, 1728, x2) +// rs1_val==858993458 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0xa3d70a3, 0x33333332, 0x5, x12, 132*XLEN/8, x13) inst_466: -// rs1_val==4 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x66666666, x1, 1732, x2) +// rs1_val==858993458 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x33333333, x12, 133*XLEN/8, x13) inst_467: -// rs1_val==4 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0xb504, x1, 1736, x2) +// rs1_val==858993458 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x66666666, x12, 134*XLEN/8, x13) inst_468: -// rs1_val==4 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0xb504, x1, 1740, x2) +// rs1_val==858993458 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x4868, 0x33333332, -0xb504, x12, 135*XLEN/8, x13) inst_469: -// rs1_val==4 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x4, 0x2, x1, 1744, x2) +// rs1_val==858993458 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x4868, 0x33333332, 0xb504, x12, 136*XLEN/8, x13) inst_470: -// rs1_val==4 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x55555554, x1, 1748, x2) +// rs1_val==858993458 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x19999999, 0x33333332, 0x2, x12, 137*XLEN/8, x13) inst_471: -// rs1_val==4 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x4, 0x0, x1, 1752, x2) +// rs1_val==858993458 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x55555554, x12, 138*XLEN/8, x13) inst_472: -// rs1_val==4 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x4, 0x4, x1, 1756, x2) +// rs1_val==858993458 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x33333332, 0x33333332, x12, 139*XLEN/8, x13) inst_473: -// rs1_val==4 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x33333332, x1, 1760, x2) +// rs1_val==858993458 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x66666665, x12, 140*XLEN/8, x13) inst_474: -// rs1_val==4 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x66666665, x1, 1764, x2) +// rs1_val==858993458 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x33333332, 0x0, x12, 141*XLEN/8, x13) inst_475: -// rs1_val==4 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0xb503, x1, 1768, x2) +// rs1_val==858993458 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x4869, 0x33333332, 0xb503, x12, 142*XLEN/8, x13) inst_476: -// rs1_val==4 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x55555556, x1, 1772, x2) +// rs1_val==858993458 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0xccccccc, 0x33333332, 0x4, x12, 143*XLEN/8, x13) inst_477: -// rs1_val==4 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0x55555555, x1, 1776, x2) +// rs1_val==858993458 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x55555556, x12, 144*XLEN/8, x13) inst_478: -// rs1_val==4 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x6, x1, 1780, x2) +// rs1_val==858993458 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, -0x55555555, x12, 145*XLEN/8, x13) inst_479: -// rs1_val==4 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x33333334, x1, 1784, x2) +// rs1_val==858993458 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x8888888, 0x33333332, 0x6, x12, 146*XLEN/8, x13) inst_480: -// rs1_val==4 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x66666667, x1, 1788, x2) +// rs1_val==858993458 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x33333334, x12, 147*XLEN/8, x13) inst_481: -// rs1_val==4 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0xb503, x1, 1792, x2) +// rs1_val==858993458 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x33333332, 0x66666667, x12, 148*XLEN/8, x13) inst_482: -// rs1_val==4 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0xb505, x1, 1796, x2) +// rs1_val==858993458 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x4869, 0x33333332, -0xb503, x12, 149*XLEN/8, x13) inst_483: -// rs1_val==858993458 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x11111110, 0x33333332, 0x3, x1, 1800, x2) +// rs1_val==858993458 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x4868, 0x33333332, 0xb505, x12, 150*XLEN/8, x13) inst_484: -// rs1_val==858993458 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x55555555, x1, 1804, x2) +// rs1_val==1717986917 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x22222221, 0x66666665, 0x3, x12, 151*XLEN/8, x13) inst_485: -// rs1_val==858993458 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, -0x55555556, x1, 1808, x2) +// rs1_val==1717986917 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666665, 0x55555555, x12, 152*XLEN/8, x13) inst_486: -// rs1_val==858993458 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xa3d70a3, 0x33333332, 0x5, x1, 1812, x2) +// rs1_val==1717986917 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x66666665, -0x55555556, x12, 153*XLEN/8, x13) inst_487: -// rs1_val==858993458 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x33333333, x1, 1816, x2) +// rs1_val==1717986917 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x147ae147, 0x66666665, 0x5, x12, 154*XLEN/8, x13) inst_488: -// rs1_val==858993458 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x66666666, x1, 1820, x2) +// rs1_val==1717986917 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666665, 0x33333333, x12, 155*XLEN/8, x13) inst_489: -// rs1_val==858993458 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffffb798, 0x33333332, -0xb504, x1, 1824, x2) +// rs1_val==1717986917 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x66666665, 0x66666666, x12, 156*XLEN/8, x13) inst_490: -// rs1_val==858993458 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x4868, 0x33333332, 0xb504, x1, 1828, x2) +// rs1_val==1717986917 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x90d1, 0x66666665, -0xb504, x12, 157*XLEN/8, x13) inst_491: -// rs1_val==858993458 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x19999999, 0x33333332, 0x2, x1, 1832, x2) +// rs1_val==1717986917 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x90d1, 0x66666665, 0xb504, x12, 158*XLEN/8, x13) inst_492: -// rs1_val==858993458 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x55555554, x1, 1836, x2) +// rs1_val==1717986917 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x33333332, 0x66666665, 0x2, x12, 159*XLEN/8, x13) inst_493: -// rs1_val==858993458 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x33333332, 0x0, x1, 1840, x2) +// rs1_val==1717986917 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666665, 0x55555554, x12, 160*XLEN/8, x13) inst_494: -// rs1_val==858993458 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xccccccc, 0x33333332, 0x4, x1, 1844, x2) +// rs1_val==1717986917 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x66666665, 0x33333332, x12, 161*XLEN/8, x13) inst_495: -// rs1_val==858993458 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x33333332, 0x33333332, x1, 1848, x2) +// rs1_val==1717986917 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666665, 0x66666665, x12, 162*XLEN/8, x13) inst_496: -// rs1_val==858993458 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x66666665, x1, 1852, x2) +// rs1_val==1717986917 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x66666665, 0x0, x12, 163*XLEN/8, x13) inst_497: -// rs1_val==858993458 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x4869, 0x33333332, 0xb503, x1, 1856, x2) +// rs1_val==1717986917 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x90d2, 0x66666665, 0xb503, x12, 164*XLEN/8, x13) inst_498: -// rs1_val==858993458 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x55555556, x1, 1860, x2) +// rs1_val==1717986917 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x19999999, 0x66666665, 0x4, x12, 165*XLEN/8, x13) inst_499: -// rs1_val==858993458 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, -0x55555555, x1, 1864, x2) +// rs1_val==1717986917 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666665, 0x55555556, x12, 166*XLEN/8, x13) inst_500: -// rs1_val==858993458 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x8888888, 0x33333332, 0x6, x1, 1868, x2) +// rs1_val==1717986917 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x66666665, -0x55555555, x12, 167*XLEN/8, x13) inst_501: -// rs1_val==858993458 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x33333334, x1, 1872, x2) +// rs1_val==1717986917 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x11111110, 0x66666665, 0x6, x12, 168*XLEN/8, x13) inst_502: -// rs1_val==858993458 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x33333332, 0x66666667, x1, 1876, x2) +// rs1_val==1717986917 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x66666665, 0x33333334, x12, 169*XLEN/8, x13) inst_503: -// rs1_val==858993458 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffb797, 0x33333332, -0xb503, x1, 1880, x2) +// rs1_val==1717986917 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x66666665, 0x66666667, x12, 170*XLEN/8, x13) inst_504: -// rs1_val==858993458 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x33333332; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x4868, 0x33333332, 0xb505, x1, 1884, x2) +// rs1_val==1717986917 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x90d2, 0x66666665, -0xb503, x12, 171*XLEN/8, x13) inst_505: -// rs1_val==1717986917 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x22222221, 0x66666665, 0x3, x1, 1888, x2) +// rs1_val==1717986917 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x90d0, 0x66666665, 0xb505, x12, 172*XLEN/8, x13) inst_506: -// rs1_val==1717986917 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666665, 0x55555555, x1, 1892, x2) +// rs1_val==0 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x3, x12, 173*XLEN/8, x13) inst_507: -// rs1_val==1717986917 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x66666665, -0x55555556, x1, 1896, x2) +// rs1_val==0 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x55555555, x12, 174*XLEN/8, x13) inst_508: -// rs1_val==1717986917 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x147ae147, 0x66666665, 0x5, x1, 1900, x2) +// rs1_val==0 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0x55555556, x12, 175*XLEN/8, x13) inst_509: -// rs1_val==1717986917 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666665, 0x33333333, x1, 1904, x2) +// rs1_val==0 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x5, x12, 176*XLEN/8, x13) inst_510: -// rs1_val==1717986917 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x66666665, 0x66666666, x1, 1908, x2) +// rs1_val==0 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x33333333, x12, 177*XLEN/8, x13) inst_511: -// rs1_val==1717986917 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff6f2f, 0x66666665, -0xb504, x1, 1912, x2) +// rs1_val==0 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x66666666, x12, 178*XLEN/8, x13) inst_512: -// rs1_val==1717986917 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x90d1, 0x66666665, 0xb504, x1, 1916, x2) +// rs1_val==0 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0xb504, x12, 179*XLEN/8, x13) inst_513: -// rs1_val==1717986917 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x33333332, 0x66666665, 0x2, x1, 1920, x2) +// rs1_val==0 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0xb504, x12, 180*XLEN/8, x13) inst_514: -// rs1_val==1717986917 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666665, 0x55555554, x1, 1924, x2) +// rs1_val==0 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x2, x12, 181*XLEN/8, x13) inst_515: -// rs1_val==1717986917 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x66666665, 0x0, x1, 1928, x2) +// rs1_val==0 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x55555554, x12, 182*XLEN/8, x13) inst_516: -// rs1_val==1717986917 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x19999999, 0x66666665, 0x4, x1, 1932, x2) +// rs1_val==0 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x33333332, x12, 183*XLEN/8, x13) inst_517: -// rs1_val==1717986917 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x66666665, 0x33333332, x1, 1936, x2) +// rs1_val==0 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x66666665, x12, 184*XLEN/8, x13) inst_518: -// rs1_val==1717986917 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666665, 0x66666665, x1, 1940, x2) +// rs1_val==0 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x0, 0x0, x12, 185*XLEN/8, x13) inst_519: -// rs1_val==1717986917 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x90d2, 0x66666665, 0xb503, x1, 1944, x2) +// rs1_val==0 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0xb503, x12, 186*XLEN/8, x13) inst_520: -// rs1_val==1717986917 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666665, 0x55555556, x1, 1948, x2) +// rs1_val==0 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x4, x12, 187*XLEN/8, x13) inst_521: -// rs1_val==1717986917 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x66666665, -0x55555555, x1, 1952, x2) +// rs1_val==0 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x55555556, x12, 188*XLEN/8, x13) inst_522: -// rs1_val==1717986917 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x11111110, 0x66666665, 0x6, x1, 1956, x2) +// rs1_val==0 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0x55555555, x12, 189*XLEN/8, x13) inst_523: -// rs1_val==1717986917 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x66666665, 0x33333334, x1, 1960, x2) +// rs1_val==0 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x6, x12, 190*XLEN/8, x13) inst_524: -// rs1_val==1717986917 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x66666665, 0x66666667, x1, 1964, x2) +// rs1_val==0 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x33333334, x12, 191*XLEN/8, x13) inst_525: -// rs1_val==1717986917 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff6f2e, 0x66666665, -0xb503, x1, 1968, x2) +// rs1_val==0 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x66666667, x12, 192*XLEN/8, x13) inst_526: -// rs1_val==1717986917 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x66666665; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x90d0, 0x66666665, 0xb505, x1, 1972, x2) +// rs1_val==0 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0xb503, x12, 193*XLEN/8, x13) inst_527: // rs1_val==46339 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x3c56, 0xb503, 0x3, x1, 1976, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x3c56, 0xb503, 0x3, x12, 194*XLEN/8, x13) inst_528: // rs1_val==46339 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x55555555, x1, 1980, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x55555555, x12, 195*XLEN/8, x13) inst_529: // rs1_val==46339 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, -0x55555556, x1, 1984, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, -0x55555556, x12, 196*XLEN/8, x13) inst_530: // rs1_val==46339 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x2433, 0xb503, 0x5, x1, 1988, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x2433, 0xb503, 0x5, x12, 197*XLEN/8, x13) inst_531: // rs1_val==46339 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x33333333, x1, 1992, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x33333333, x12, 198*XLEN/8, x13) inst_532: // rs1_val==46339 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x66666666, x1, 1996, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x66666666, x12, 199*XLEN/8, x13) inst_533: // rs1_val==46339 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, -0xb504, x1, 2000, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, -0xb504, x12, 200*XLEN/8, x13) inst_534: // rs1_val==46339 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0xb504, x1, 2004, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0xb504, x12, 201*XLEN/8, x13) inst_535: // rs1_val==46339 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x5a81, 0xb503, 0x2, x1, 2008, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x5a81, 0xb503, 0x2, x12, 202*XLEN/8, x13) inst_536: // rs1_val==46339 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x55555554, x1, 2012, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x55555554, x12, 203*XLEN/8, x13) inst_537: -// rs1_val==46339 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0xb503, 0x0, x1, 2016, x2) +// rs1_val==46339 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x33333332, x12, 204*XLEN/8, x13) inst_538: -// rs1_val==46339 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x2d40, 0xb503, 0x4, x1, 2020, x2) +// rs1_val==46339 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x66666665, x12, 205*XLEN/8, x13) inst_539: -// rs1_val==46339 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x33333332, x1, 2024, x2) +// rs1_val==46339 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0xb503, 0x0, x12, 206*XLEN/8, x13) inst_540: -// rs1_val==46339 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x66666665, x1, 2028, x2) +// rs1_val==46339 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb503, 0xb503, x12, 207*XLEN/8, x13) inst_541: -// rs1_val==46339 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb503, 0xb503, x1, 2032, x2) +// rs1_val==46339 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x2d40, 0xb503, 0x4, x12, 208*XLEN/8, x13) inst_542: // rs1_val==46339 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x55555556, x1, 2036, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x55555556, x12, 209*XLEN/8, x13) inst_543: // rs1_val==46339 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, -0x55555555, x1, 2040, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, -0x55555555, x12, 210*XLEN/8, x13) inst_544: // rs1_val==46339 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1e2b, 0xb503, 0x6, x1, 2044, x2) -RVTEST_SIGBASE( x1,signature_x1_1) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1e2b, 0xb503, 0x6, x12, 211*XLEN/8, x13) inst_545: // rs1_val==46339 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x33333334, x1, 0, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x33333334, x12, 212*XLEN/8, x13) inst_546: // rs1_val==46339 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0x66666667, x1, 4, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0x66666667, x12, 213*XLEN/8, x13) inst_547: // rs1_val==46339 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0xb503, -0xb503, x1, 8, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb503, -0xb503, x12, 214*XLEN/8, x13) inst_548: // rs1_val==46339 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb503; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb503, 0xb505, x1, 12, x2) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb503; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb503, 0xb505, x12, 215*XLEN/8, x13) inst_549: -// rs1_val==1431655766 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c, 0x55555556, 0x3, x1, 16, x2) +// rs1_val==4 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x4, 0x3, x12, 216*XLEN/8, x13) inst_550: -// rs1_val==1431655766 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555556, 0x55555555, x1, 20, x2) +// rs1_val==4 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x55555555, x12, 217*XLEN/8, x13) inst_551: -// rs1_val==1431655766 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x55555556, -0x55555556, x1, 24, x2) +// rs1_val==4 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0x55555556, x12, 218*XLEN/8, x13) inst_552: -// rs1_val==1431655766 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x11111111, 0x55555556, 0x5, x1, 28, x2) +// rs1_val==4 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x5, x12, 219*XLEN/8, x13) inst_553: -// rs1_val==1431655766 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555556, 0x33333333, x1, 32, x2) +// rs1_val==4 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x33333333, x12, 220*XLEN/8, x13) inst_554: -// rs1_val==1431655766 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555556, 0x66666666, x1, 36, x2) +// rs1_val==4 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x66666666, x12, 221*XLEN/8, x13) inst_555: -// rs1_val==1431655766 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff8752, 0x55555556, -0xb504, x1, 40, x2) +// rs1_val==4 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0xb504, x12, 222*XLEN/8, x13) inst_556: -// rs1_val==1431655766 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x78ae, 0x55555556, 0xb504, x1, 44, x2) +// rs1_val==4 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0xb504, x12, 223*XLEN/8, x13) inst_557: -// rs1_val==1431655766 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2aaaaaab, 0x55555556, 0x2, x1, 48, x2) +// rs1_val==4 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x4, 0x2, x12, 224*XLEN/8, x13) inst_558: -// rs1_val==1431655766 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555556, 0x55555554, x1, 52, x2) +// rs1_val==4 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x55555554, x12, 225*XLEN/8, x13) inst_559: -// rs1_val==1431655766 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, 0x55555556, 0x0, x1, 56, x2) +// rs1_val==4 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x33333332, x12, 226*XLEN/8, x13) inst_560: -// rs1_val==1431655766 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x15555555, 0x55555556, 0x4, x1, 60, x2) +// rs1_val==4 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x66666665, x12, 227*XLEN/8, x13) inst_561: -// rs1_val==1431655766 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555556, 0x33333332, x1, 64, x2) +// rs1_val==4 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x4, 0x0, x12, 228*XLEN/8, x13) inst_562: -// rs1_val==1431655766 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555556, 0x66666665, x1, 68, x2) +// rs1_val==4 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0xb503, x12, 229*XLEN/8, x13) inst_563: -// rs1_val==1431655766 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0x78af, 0x55555556, 0xb503, x1, 72, x2) +// rs1_val==4 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x4, 0x4, x12, 230*XLEN/8, x13) inst_564: -// rs1_val==1431655766 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555556, 0x55555556, x1, 76, x2) +// rs1_val==4 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x55555556, x12, 231*XLEN/8, x13) inst_565: -// rs1_val==1431655766 and rs2_val==-1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:-0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, 0x55555556, -0x55555555, x1, 80, x2) +// rs1_val==4 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0x55555555, x12, 232*XLEN/8, x13) inst_566: -// rs1_val==1431655766 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e, 0x55555556, 0x6, x1, 84, x2) +// rs1_val==4 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x6, x12, 233*XLEN/8, x13) inst_567: -// rs1_val==1431655766 and rs2_val==858993460, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x33333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x55555556, 0x33333334, x1, 88, x2) +// rs1_val==4 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x33333334, x12, 234*XLEN/8, x13) inst_568: -// rs1_val==1431655766 and rs2_val==1717986919, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0x66666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x55555556, 0x66666667, x1, 92, x2) +// rs1_val==4 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x66666667, x12, 235*XLEN/8, x13) inst_569: -// rs1_val==1431655766 and rs2_val==-46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:-0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff8751, 0x55555556, -0xb503, x1, 96, x2) +// rs1_val==4 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0xb503, x12, 236*XLEN/8, x13) inst_570: -// rs1_val==1431655766 and rs2_val==46341, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x55555556; op2val:0xb505 -TEST_RR_OP(div, x12, x10, x11, 0x78ad, 0x55555556, 0xb505, x1, 100, x2) +// rs1_val==1431655766 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1c71c71c, 0x55555556, 0x3, x12, 237*XLEN/8, x13) inst_571: -// rs1_val==-1431655765 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e4, -0x55555555, 0x3, x1, 104, x2) +// rs1_val==1431655766 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555556, 0x55555555, x12, 238*XLEN/8, x13) inst_572: -// rs1_val==-1431655765 and rs2_val==1431655765, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x55555555 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555555, 0x55555555, x1, 108, x2) +// rs1_val==1431655766 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x55555556, -0x55555556, x12, 239*XLEN/8, x13) inst_573: -// rs1_val==-1431655765 and rs2_val==-1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:-0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555555, -0x55555556, x1, 112, x2) +// rs1_val==1431655766 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x11111111, 0x55555556, 0x5, x12, 240*XLEN/8, x13) inst_574: -// rs1_val==-1431655765 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xeeeeeeef, -0x55555555, 0x5, x1, 116, x2) +// rs1_val==1431655766 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555556, 0x33333333, x12, 241*XLEN/8, x13) inst_575: -// rs1_val==-1431655765 and rs2_val==858993459, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x33333333 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555555, 0x33333333, x1, 120, x2) +// rs1_val==1431655766 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555556, 0x66666666, x12, 242*XLEN/8, x13) inst_576: -// rs1_val==-1431655765 and rs2_val==1717986918, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x66666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555555, 0x66666666, x1, 124, x2) +// rs1_val==1431655766 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x78ae, 0x55555556, -0xb504, x12, 243*XLEN/8, x13) inst_577: -// rs1_val==-1431655765 and rs2_val==-46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:-0xb504 -TEST_RR_OP(div, x12, x10, x11, 0x78ae, -0x55555555, -0xb504, x1, 128, x2) +// rs1_val==1431655766 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x78ae, 0x55555556, 0xb504, x12, 244*XLEN/8, x13) inst_578: -// rs1_val==-1431655765 and rs2_val==46340, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0xb504 -TEST_RR_OP(div, x12, x10, x11, 0xffff8752, -0x55555555, 0xb504, x1, 132, x2) +// rs1_val==1431655766 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2aaaaaab, 0x55555556, 0x2, x12, 245*XLEN/8, x13) inst_579: -// rs1_val==-1431655765 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0xd5555556, -0x55555555, 0x2, x1, 136, x2) +// rs1_val==1431655766 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555556, 0x55555554, x12, 246*XLEN/8, x13) inst_580: -// rs1_val==-1431655765 and rs2_val==1431655764, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x55555554 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555555, 0x55555554, x1, 140, x2) +// rs1_val==1431655766 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555556, 0x33333332, x12, 247*XLEN/8, x13) inst_581: -// rs1_val==-1431655765 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFF, -0x55555555, 0x0, x1, 144, x2) +// rs1_val==1431655766 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555556, 0x66666665, x12, 248*XLEN/8, x13) inst_582: -// rs1_val==-1431655765 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xeaaaaaab, -0x55555555, 0x4, x1, 148, x2) +// rs1_val==1431655766 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, 0x55555556, 0x0, x12, 249*XLEN/8, x13) inst_583: -// rs1_val==-1431655765 and rs2_val==858993458, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x33333332 -TEST_RR_OP(div, x12, x10, x11, 0xffffffff, -0x55555555, 0x33333332, x1, 152, x2) +// rs1_val==1431655766 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, 0x78af, 0x55555556, 0xb503, x12, 250*XLEN/8, x13) inst_584: -// rs1_val==-1431655765 and rs2_val==1717986917, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x66666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555555, 0x66666665, x1, 156, x2) +// rs1_val==1431655766 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x15555555, 0x55555556, 0x4, x12, 251*XLEN/8, x13) inst_585: -// rs1_val==-1431655765 and rs2_val==46339, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0xb503 -TEST_RR_OP(div, x12, x10, x11, 0xffff8751, -0x55555555, 0xb503, x1, 160, x2) +// rs1_val==1431655766 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555556, 0x55555556, x12, 252*XLEN/8, x13) inst_586: -// rs1_val==-1431655765 and rs2_val==1431655766, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x55555555; op2val:0x55555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x55555555, 0x55555556, x1, 164, x2) +// rs1_val==1431655766 and rs2_val==-1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:-0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x55555556, -0x55555555, x12, 253*XLEN/8, x13) inst_587: -// rs1_val > 0 and rs2_val > 0, rs1_val != rs2_val, rs2_val == 262144 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x7; op2val:0x40000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x7, 0x40000, x1, 168, x2) +// rs1_val==1431655766 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0xe38e38e, 0x55555556, 0x6, x12, 254*XLEN/8, x13) inst_588: -// rs1_val > 0 and rs2_val < 0, rs1_val == 256, rs2_val == -3 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x100; op2val:-0x3 -TEST_RR_OP(div, x12, x10, x11, 0xffffffab, 0x100, -0x3, x1, 172, x2) +// rs1_val==1431655766 and rs2_val==858993460, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x33333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x55555556, 0x33333334, x12, 255*XLEN/8, x13) +RVTEST_SIGBASE(x12,signature_x12_2) inst_589: -// rs1_val == rs2_val, rs2_val == 524288, rs1_val == 524288 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80000; op2val:0x80000 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x80000, 0x80000, x1, 176, x2) +// rs1_val==1431655766 and rs2_val==1717986919, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x66666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x55555556, 0x66666667, x12, 0*XLEN/8, x13) + +inst_590: +// rs1_val==1431655766 and rs2_val==-46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x78af, 0x55555556, -0xb503, x12, 1*XLEN/8, x13) + +inst_591: +// rs1_val==1431655766 and rs2_val==46341, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x78ad, 0x55555556, 0xb505, x12, 2*XLEN/8, x13) + +inst_592: +// rs1_val==-1431655765 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x1c71c71c, -0x55555555, 0x3, x12, 3*XLEN/8, x13) + +inst_593: +// rs1_val==-1431655765 and rs2_val==1431655765, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x55555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555555, 0x55555555, x12, 4*XLEN/8, x13) + +inst_594: +// rs1_val==-1431655765 and rs2_val==-1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:-0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555555, -0x55555556, x12, 5*XLEN/8, x13) + +inst_595: +// rs1_val==-1431655765 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x11111111, -0x55555555, 0x5, x12, 6*XLEN/8, x13) + +inst_596: +// rs1_val==-1431655765 and rs2_val==858993459, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x33333333 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555555, 0x33333333, x12, 7*XLEN/8, x13) + +inst_597: +// rs1_val==-1431655765 and rs2_val==1717986918, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x66666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555555, 0x66666666, x12, 8*XLEN/8, x13) + +inst_598: +// rs1_val==-1431655765 and rs2_val==-46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:-0xb504 +TEST_RR_OP(div, x31, x30, x29, 0x78ae, -0x55555555, -0xb504, x12, 9*XLEN/8, x13) + +inst_599: +// rs1_val==-1431655765 and rs2_val==46340, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0xb504 +TEST_RR_OP(div, x31, x30, x29, -0x78ae, -0x55555555, 0xb504, x12, 10*XLEN/8, x13) + +inst_600: +// rs1_val==-1431655765 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x2aaaaaaa, -0x55555555, 0x2, x12, 11*XLEN/8, x13) + +inst_601: +// rs1_val==-1431655765 and rs2_val==1431655764, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x55555554 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555555, 0x55555554, x12, 12*XLEN/8, x13) + +inst_602: +// rs1_val==-1431655765 and rs2_val==858993458, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x33333332 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x55555555, 0x33333332, x12, 13*XLEN/8, x13) + +inst_603: +// rs1_val==-1431655765 and rs2_val==1717986917, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x66666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555555, 0x66666665, x12, 14*XLEN/8, x13) + +inst_604: +// rs1_val==-1431655765 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFF, -0x55555555, 0x0, x12, 15*XLEN/8, x13) + +inst_605: +// rs1_val==-1431655765 and rs2_val==46339, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x78af, -0x55555555, 0xb503, x12, 16*XLEN/8, x13) + +inst_606: +// rs1_val==-1431655765 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x15555555, -0x55555555, 0x4, x12, 17*XLEN/8, x13) + +inst_607: +// rs1_val==-1431655765 and rs2_val==1431655766, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x55555555; op2val:0x55555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x55555555, 0x55555556, x12, 18*XLEN/8, x13) + +inst_608: +// rs1_val != rs2_val, rs1_val==46341 and rs2_val==-46339, rs1_val > 0 and rs2_val < 0 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0xb503 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb505, -0xb503, x12, 19*XLEN/8, x13) + +inst_609: +// rs1_val < 0 and rs2_val > 0, rs1_val==-46339 and rs2_val==46341 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb503; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb503, 0xb505, x12, 20*XLEN/8, x13) + +inst_610: +// rs1_val == 0, rs1_val==0 and rs2_val==46341 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0xb505, x12, 21*XLEN/8, x13) + +inst_611: +// rs1_val==3 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3, 0x3, x12, 22*XLEN/8, x13) + +inst_612: +// rs2_val == -2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0x2 +TEST_RR_OP(div, x31, x30, x29, -0x5a82, 0xb505, -0x2, x12, 23*XLEN/8, x13) + +inst_613: +// rs1_val == -2097153, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x200001; op2val:0xb505 +TEST_RR_OP(div, x31, x30, x29, -0x2d, -0x200001, 0xb505, x12, 24*XLEN/8, x13) #endif @@ -2991,58 +3114,66 @@ RVMODEL_HALT RVTEST_DATA_BEGIN .align 4 - rvtest_data: .word 0xbabecafe -.word 0xbabecafe -.word 0xbabecafe -.word 0xbabecafe +.word 0xabecafeb +.word 0xbecafeba +.word 0xecafebab RVTEST_DATA_END - RVMODEL_DATA_BEGIN rvtest_sig_begin: sig_begin_canary: CANARY; -signature_x2_0: - .fill 0*(XLEN/32),4,0xdeadbeef + +signature_x1_0: + .fill 0*((XLEN/8)/4),4,0xdeadbeef -signature_x2_1: - .fill 17*(XLEN/32),4,0xdeadbeef +signature_x1_1: + .fill 28*((XLEN/8)/4),4,0xdeadbeef -signature_x17_0: - .fill 16*(XLEN/32),4,0xdeadbeef +signature_x6_0: + .fill 24*((XLEN/8)/4),4,0xdeadbeef -signature_x1_0: - .fill 512*(XLEN/32),4,0xdeadbeef +signature_x9_0: + .fill 25*((XLEN/8)/4),4,0xdeadbeef -signature_x1_1: - .fill 45*(XLEN/32),4,0xdeadbeef +signature_x12_0: + .fill 256*((XLEN/8)/4),4,0xdeadbeef -#ifdef rvtest_mtrap_routine +signature_x12_1: + .fill 256*((XLEN/8)/4),4,0xdeadbeef + + +signature_x12_2: + .fill 25*((XLEN/8)/4),4,0xdeadbeef + +#ifdef rvtest_mtrap_routine tsig_begin_canary: CANARY; + mtrap_sigptr: - .fill 64*(XLEN/32),4,0xdeadbeef + .fill 64*XLEN/32,4,0xdeadbeef + tsig_end_canary: CANARY; - #endif #ifdef rvtest_gpr_save gpr_save: - .fill 32*(XLEN/32),4,0xdeadbeef + .fill 32*XLEN/32,4,0xdeadbeef #endif + sig_end_canary: CANARY; rvtest_sig_end: diff --git a/riscv-test-suite/rv64i_m/M/src/div-01.S b/riscv-test-suite/rv64i_m/M/src/div-01.S index 52cb84f5d..1bd6b8abc 100644 --- a/riscv-test-suite/rv64i_m/M/src/div-01.S +++ b/riscv-test-suite/rv64i_m/M/src/div-01.S @@ -1,11 +1,12 @@ // ----------- -// This file was generated by riscv_ctg (https://gitlab.com/incoresemi/riscv-compliance/riscv_ctg) -// version : 0.4.1 -// timestamp : Wed Dec 16 17:47:56 2020 GMT +// This file was generated by riscv_ctg (https://github.com/riscv-software-src/riscv-ctg) +// version : 0.11.1 +// timestamp : Mon Sep 18 20:03:13 2023 GMT // usage : riscv_ctg \ -// -- cgf ('/scratch/git-repo/incoresemi/riscv-compliance/riscv_ctg/sample_cgfs/dataset.cgf', '/scratch/git-repo/incoresemi/riscv-compliance/riscv_ctg/sample_cgfs/rv64im.cgf') \ -// -- xlen 64 \ +// -- cgf // --cgf /home/hammad/Ali_Tariq_solution/riscv-ctg/sample_cgfs/dataset.cgf \ +// --cgf /home/hammad/Ali_Tariq_solution/riscv-ctg/sample_cgfs/rv64im.cgf \ +// -- xlen 64 \ // ----------- // // ----------- @@ -13,7 +14,7 @@ // SPDX-License-Identifier: BSD-3-Clause // ----------- // -// This assembly file tests the div instruction of the RISC-V M extension for the div covergroup. +// This assembly file tests the div instruction of the RISC-V RV64M extension for the div covergroup. // #include "model_test.h" #include "arch_test.h" @@ -27,3403 +28,3724 @@ RVTEST_CODE_BEGIN #ifdef TEST_CASE_1 -RVTEST_CASE(0,"//check ISA:=regex(.*64.*);check ISA:=regex(.*I.*M.*);def TEST_CASE_1=True;",div) +RVTEST_CASE(0,"//check ISA:=regex(.*I.*M.*);def TEST_CASE_1=True;",div) -RVTEST_SIGBASE( x15,signature_x15_1) +RVTEST_SIGBASE(x1,signature_x1_1) inst_0: -// rs1 == rs2 == rd, rs1==x21, rs2==x21, rd==x21, rs1_val > 0 and rs2_val > 0, rs1_val == 8, rs1_val != rs2_val -// opcode: div ; op1:x21; op2:x21; dest:x21; op1val:0x8; op2val:0x8 -TEST_RR_OP(div, x21, x21, x21, 0x1, 0x8, 0x8, x15, 0, x28) +// rs1 == rs2 != rd, rs1==x30, rs2==x30, rd==x31, rs1_val != rs2_val, rs1_val==3037000500 and rs2_val==-3037000498, rs1_val > 0 and rs2_val < 0 +// opcode: div ; op1:x30; op2:x30; dest:x31; op1val:0xb504f334; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x30, 0x1, 0xb504f334, 0xb504f334, x1, 0*XLEN/8, x2) inst_1: -// rs1 != rs2 and rs1 != rd and rs2 != rd, rs1==x16, rs2==x0, rd==x26, rs1_val > 0 and rs2_val < 0, rs2_val == -9, rs1_val == 68719476736 -// opcode: div ; op1:x16; op2:x0; dest:x26; op1val:0x1000000000; op2val:0x0 -TEST_RR_OP(div, x26, x16, x0, 0xFFFFFFFFFFFFFFFF, 0x1000000000, 0x0, x15, 8, x28) +// rs1 == rs2 == rd, rs1==x29, rs2==x29, rd==x29, rs1_val < 0 and rs2_val < 0, rs1_val==-3037000498 and rs2_val==-3037000498, rs1_val == rs2_val +// opcode: div ; op1:x29; op2:x29; dest:x29; op1val:-0xb504f332; op2val:-0xb504f332 +TEST_RR_OP(div, x29, x29, x29, 0x1, -0xb504f332, -0xb504f332, x1, 1*XLEN/8, x2) inst_2: -// rs1 == rd != rs2, rs1==x13, rs2==x8, rd==x13, rs1_val < 0 and rs2_val < 0, rs1_val == -17179869185, rs2_val == -33 -// opcode: div ; op1:x13; op2:x8; dest:x13; op1val:-0x400000001; op2val:-0x21 -TEST_RR_OP(div, x13, x13, x8, 0x1f07c1f0, -0x400000001, -0x21, x15, 16, x28) +// rs1 == "x0" != rd, rs1==x0, rs2==x31, rd==x30, rs1 != rs2 and rs1 != rd and rs2 != rd, rs1_val < 0 and rs2_val > 0, rs1_val==-3037000498 and rs2_val==3037000500 +// opcode: div ; op1:x0; op2:x31; dest:x30; op1val:0x0; op2val:0xb504f334 +TEST_RR_OP(div, x30, x0, x31, 0x0, 0x0, 0xb504f334, x1, 2*XLEN/8, x2) inst_3: -// rs2 == rd != rs1, rs1==x3, rs2==x5, rd==x5, rs1_val < 0 and rs2_val > 0, rs2_val == 128 -// opcode: div ; op1:x3; op2:x5; dest:x5; op1val:-0x8; op2val:0x80 -TEST_RR_OP(div, x5, x3, x5, 0x0, -0x8, 0x80, x15, 24, x28) +// rs1 != rs2 and rs1 != rd and rs2 != rd, rs1==x31, rs1_val == (-2**(xlen-1)), rs1_val == -9223372036854775808 +// opcode: div ; op1:x31; op2:x29; dest:x30; op1val:-0x8000000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x30, x31, x29, -0xb504f333, -0x8000000000000000, 0xb504f334, x1, 3*XLEN/8, x2) inst_4: -// rs1 == rs2 != rd, rs1==x1, rs2==x1, rd==x14, rs1_val == rs2_val, rs1_val==3 and rs2_val==3 -// opcode: div ; op1:x1; op2:x1; dest:x14; op1val:0x3; op2val:0x3 -TEST_RR_OP(div, x14, x1, x1, 0x1, 0x3, 0x3, x15, 32, x28) +// rs2 == rd != rs1, rs1==x28, rs1_val == (2**(xlen-1)-1), rs1_val > 0 and rs2_val > 0, rs1_val == 9223372036854775807 +// opcode: div ; op1:x28; op2:x31; dest:x31; op1val:0x7fffffffffffffff; op2val:0xb504f334 +TEST_RR_OP(div, x31, x28, x31, 0xb504f333, 0x7fffffffffffffff, 0xb504f334, x1, 4*XLEN/8, x2) inst_5: -// rs1==x24, rs2==x10, rd==x7, rs2_val == (-2**(xlen-1)), rs2_val == -9223372036854775808, rs1_val == -2199023255553 -// opcode: div ; op1:x24; op2:x10; dest:x7; op1val:-0x20000000001; op2val:-0x8000000000000000 -TEST_RR_OP(div, x7, x24, x10, 0x0, -0x20000000001, -0x8000000000000000, x15, 40, x28) +// rs1 == rd != rs2 and rd != "x0", rs1==x27, rs1_val == 0, rs1_val==0 and rs2_val==3037000500 +// opcode: div ; op1:x27; op2:x31; dest:x27; op1val:0x0; op2val:0xb504f334 +TEST_RR_OP(div, x27, x27, x31, 0x0, 0x0, 0xb504f334, x1, 5*XLEN/8, x2) inst_6: -// rs1==x23, rs2==x26, rd==x27, rs2_val == 0, rs1_val == 72057594037927936 -// opcode: div ; op1:x23; op2:x26; dest:x27; op1val:0x100000000000000; op2val:0x0 -TEST_RR_OP(div, x27, x23, x26, 0xFFFFFFFFFFFFFFFF, 0x100000000000000, 0x0, x15, 48, x28) +// rd == "x0" != rs1, rs1==x26, rs1_val==3 and rs2_val==3, +// opcode: div ; op1:x26; op2:x31; dest:x0; op1val:0x3; op2val:0x3 +TEST_RR_OP(div, x0, x26, x31, 0, 0x3, 0x3, x1, 6*XLEN/8, x2) inst_7: -// rs1==x6, rs2==x18, rd==x12, rs2_val == (2**(xlen-1)-1), rs2_val == 9223372036854775807, rs1_val == -4194305 -// opcode: div ; op1:x6; op2:x18; dest:x12; op1val:-0x400001; op2val:0x7fffffffffffffff -TEST_RR_OP(div, x12, x6, x18, 0x0, -0x400001, 0x7fffffffffffffff, x15, 56, x28) +// rs1 == rd != rs2 and rd == "x0", rs1==x0, rs2_val == -2, +// opcode: div ; op1:x0; op2:x31; dest:x0; op1val:0x0; op2val:-0x2 +TEST_RR_OP(div, x0, x0, x31, 0, 0x0, -0x2, x1, 7*XLEN/8, x2) inst_8: -// rs1==x0, rs2==x24, rd==x8, rs2_val == 1, rs1_val == 549755813888 -// opcode: div ; op1:x0; op2:x24; dest:x8; op1val:0x0; op2val:0x1 -TEST_RR_OP(div, x8, x0, x24, 0x0, 0x0, 0x1, x15, 64, x28) +// rs1==x25, rs2_val == -3, +// opcode: div ; op1:x25; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x3 +TEST_RR_OP(div, x31, x25, x30, -0x3c56fbbc, 0xb504f334, -0x3, x1, 8*XLEN/8, x2) inst_9: -// rs1==x20, rs2==x23, rd==x6, rs1_val == (-2**(xlen-1)), rs1_val == -9223372036854775808 -// opcode: div ; op1:x20; op2:x23; dest:x6; op1val:-0x8000000000000000; op2val:-0xb504f332 -TEST_RR_OP(div, x6, x20, x23, 0xb504f335, -0x8000000000000000, -0xb504f332, x15, 72, x28) +// rs1==x24, rs2_val == -5, +// opcode: div ; op1:x24; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x5 +TEST_RR_OP(div, x31, x24, x30, -0x243430a4, 0xb504f334, -0x5, x1, 9*XLEN/8, x2) inst_10: -// rs1==x14, rs2==x22, rd==x2, rs1_val == 0, rs1_val==0 and rs2_val==6148914691236517204 -// opcode: div ; op1:x14; op2:x22; dest:x2; op1val:0x0; op2val:0x5555555555555554 -TEST_RR_OP(div, x2, x14, x22, 0x0, 0x0, 0x5555555555555554, x15, 80, x28) +// rs1==x23, rs2_val == -9, +// opcode: div ; op1:x23; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x9 +TEST_RR_OP(div, x31, x23, x30, -0x141cfe94, 0xb504f334, -0x9, x1, 10*XLEN/8, x2) inst_11: -// rs1==x12, rs2==x3, rd==x4, rs1_val == (2**(xlen-1)-1), rs2_val == -137438953473, rs1_val == 9223372036854775807 -// opcode: div ; op1:x12; op2:x3; dest:x4; op1val:0x7fffffffffffffff; op2val:-0x2000000001 -TEST_RR_OP(div, x4, x12, x3, -0x3ffffff, 0x7fffffffffffffff, -0x2000000001, x15, 88, x28) +// rs1==x22, rs2_val == -17, +// opcode: div ; op1:x22; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x11 +TEST_RR_OP(div, x31, x22, x30, -0xaa5f030, 0xb504f334, -0x11, x1, 11*XLEN/8, x2) inst_12: -// rs1==x10, rs2==x31, rd==x11, rs1_val == 1, -// opcode: div ; op1:x10; op2:x31; dest:x11; op1val:0x1; op2val:-0x5555555555555555 -TEST_RR_OP(div, x11, x10, x31, 0x0, 0x1, -0x5555555555555555, x15, 96, x28) +// rs1==x21, rs2_val == -33, +// opcode: div ; op1:x21; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x21 +TEST_RR_OP(div, x31, x21, x30, -0x57c456e, 0xb504f334, -0x21, x1, 12*XLEN/8, x2) inst_13: -// rs1==x31, rs2==x2, rd==x9, rs2_val == 2, rs1_val == 1125899906842624 -// opcode: div ; op1:x31; op2:x2; dest:x9; op1val:0x4000000000000; op2val:0x2 -TEST_RR_OP(div, x9, x31, x2, 0x2000000000000, 0x4000000000000, 0x2, x15, 104, x28) +// rs1==x20, rs2_val == -65, +// opcode: div ; op1:x20; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x41 +TEST_RR_OP(div, x31, x20, x30, -0x2c8f00c, 0xb504f334, -0x41, x1, 13*XLEN/8, x2) inst_14: -// rs1==x27, rs2==x4, rd==x23, rs2_val == 4, rs1_val==5 and rs2_val==4 -// opcode: div ; op1:x27; op2:x4; dest:x23; op1val:0x5; op2val:0x4 -TEST_RR_OP(div, x23, x27, x4, 0x1, 0x5, 0x4, x15, 112, x28) +// rs1==x19, rs2_val == -129, +// opcode: div ; op1:x19; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x81 +TEST_RR_OP(div, x31, x19, x30, -0x1673b6f, 0xb504f334, -0x81, x1, 14*XLEN/8, x2) inst_15: -// rs1==x25, rs2==x20, rd==x10, rs2_val == 8, rs1_val == -2147483649 -// opcode: div ; op1:x25; op2:x20; dest:x10; op1val:-0x80000001; op2val:0x8 -TEST_RR_OP(div, x10, x25, x20, -0x10000000, -0x80000001, 0x8, x15, 120, x28) +// rs1==x18, rs2_val == -257, +// opcode: div ; op1:x18; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x101 +TEST_RR_OP(div, x31, x18, x30, -0xb450a2, 0xb504f334, -0x101, x1, 15*XLEN/8, x2) inst_16: -// rs1==x30, rs2==x19, rd==x17, rs2_val == 16, -// opcode: div ; op1:x30; op2:x19; dest:x17; op1val:-0x400001; op2val:0x10 -TEST_RR_OP(div, x17, x30, x19, -0x40000, -0x400001, 0x10, x15, 128, x28) -RVTEST_SIGBASE( x10,signature_x10_0) +// rs1==x17, rs2_val == -513, +// opcode: div ; op1:x17; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x201 +TEST_RR_OP(div, x31, x17, x30, -0x5a554e, 0xb504f334, -0x201, x1, 16*XLEN/8, x2) inst_17: -// rs1==x22, rs2==x16, rd==x19, rs2_val == 32, -// opcode: div ; op1:x22; op2:x16; dest:x19; op1val:-0x1; op2val:0x20 -TEST_RR_OP(div, x19, x22, x16, 0x0, -0x1, 0x20, x10, 0, x12) +// rs1==x16, rs2_val == -1025, +// opcode: div ; op1:x16; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x401 +TEST_RR_OP(div, x31, x16, x30, -0x2d35ef, 0xb504f334, -0x401, x1, 17*XLEN/8, x2) inst_18: -// rs1==x28, rs2==x11, rd==x29, rs2_val == 64, rs1_val == 16 -// opcode: div ; op1:x28; op2:x11; dest:x29; op1val:0x10; op2val:0x40 -TEST_RR_OP(div, x29, x28, x11, 0x0, 0x10, 0x40, x10, 8, x12) +// rs1==x15, rs2_val == -2049, +// opcode: div ; op1:x15; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x801 +TEST_RR_OP(div, x31, x15, x30, -0x169dca, 0xb504f334, -0x801, x1, 18*XLEN/8, x2) inst_19: -// rs1==x19, rs2==x7, rd==x1, rs2_val == 256, rs1_val == -18014398509481985 -// opcode: div ; op1:x19; op2:x7; dest:x1; op1val:-0x40000000000001; op2val:0x100 -TEST_RR_OP(div, x1, x19, x7, -0x400000000000, -0x40000000000001, 0x100, x10, 16, x12) +// rs1==x14, rs2_val == -4097, +// opcode: div ; op1:x14; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x1001 +TEST_RR_OP(div, x31, x14, x30, -0xb4f9a, 0xb504f334, -0x1001, x1, 19*XLEN/8, x2) inst_20: -// rs1==x7, rs2==x15, rd==x20, rs2_val == 512, rs1_val == 4 -// opcode: div ; op1:x7; op2:x15; dest:x20; op1val:0x4; op2val:0x200 -TEST_RR_OP(div, x20, x7, x15, 0x0, 0x4, 0x200, x10, 24, x12) +// rs1==x13, rs2_val == -8193, +// opcode: div ; op1:x13; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x2001 +TEST_RR_OP(div, x31, x13, x30, -0x5a7fa, 0xb504f334, -0x2001, x1, 20*XLEN/8, x2) inst_21: -// rs1==x29, rs2==x14, rd==x16, rs2_val == 1024, rs1_val == 268435456 -// opcode: div ; op1:x29; op2:x14; dest:x16; op1val:0x10000000; op2val:0x400 -TEST_RR_OP(div, x16, x29, x14, 0x40000, 0x10000000, 0x400, x10, 32, x12) +// rs1==x12, rs2_val == -16385, +// opcode: div ; op1:x12; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x4001 +TEST_RR_OP(div, x31, x12, x30, -0x2d408, 0xb504f334, -0x4001, x1, 21*XLEN/8, x2) inst_22: -// rs1==x2, rs2==x6, rd==x24, rs2_val == 2048, rs1_val == 2199023255552 -// opcode: div ; op1:x2; op2:x6; dest:x24; op1val:0x20000000000; op2val:0x800 -TEST_RR_OP(div, x24, x2, x6, 0x40000000, 0x20000000000, 0x800, x10, 40, x12) +// rs1==x11, rs2_val == -32769, +// opcode: div ; op1:x11; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x8001 +TEST_RR_OP(div, x31, x11, x30, -0x16a07, 0xb504f334, -0x8001, x1, 22*XLEN/8, x2) inst_23: -// rs1==x5, rs2==x13, rd==x3, rs2_val == 4096, rs1_val == -1025 -// opcode: div ; op1:x5; op2:x13; dest:x3; op1val:-0x401; op2val:0x1000 -TEST_RR_OP(div, x3, x5, x13, 0x0, -0x401, 0x1000, x10, 48, x12) +// rs1==x10, rs2_val == -65537, +// opcode: div ; op1:x10; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x10001 +TEST_RR_OP(div, x31, x10, x30, -0xb504, 0xb504f334, -0x10001, x1, 23*XLEN/8, x2) inst_24: -// rs1==x26, rs2==x17, rd==x15, rs2_val == 8192, rs1_val == 134217728 -// opcode: div ; op1:x26; op2:x17; dest:x15; op1val:0x8000000; op2val:0x2000 -TEST_RR_OP(div, x15, x26, x17, 0x4000, 0x8000000, 0x2000, x10, 56, x12) +// rs1==x9, rs2_val == -131073, +// opcode: div ; op1:x9; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x20001 +TEST_RR_OP(div, x31, x9, x30, -0x5a82, 0xb504f334, -0x20001, x1, 24*XLEN/8, x2) inst_25: -// rs1==x4, rs2==x9, rd==x0, rs2_val == 16384, -// opcode: div ; op1:x4; op2:x9; dest:x0; op1val:0x6666666666666666; op2val:0x4000 -TEST_RR_OP(div, x0, x4, x9, 0, 0x6666666666666666, 0x4000, x10, 64, x12) +// rs1==x8, rs2_val == -262145, +// opcode: div ; op1:x8; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x40001 +TEST_RR_OP(div, x31, x8, x30, -0x2d41, 0xb504f334, -0x40001, x1, 25*XLEN/8, x2) inst_26: -// rs1==x8, rs2==x30, rd==x31, rs2_val == 32768, -// opcode: div ; op1:x8; op2:x30; dest:x31; op1val:0xb504f333; op2val:0x8000 -TEST_RR_OP(div, x31, x8, x30, 0x16a09, 0xb504f333, 0x8000, x10, 72, x12) +// rs1==x7, rs2_val == -524289, +// opcode: div ; op1:x7; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x80001 +TEST_RR_OP(div, x31, x7, x30, -0x16a0, 0xb504f334, -0x80001, x1, 26*XLEN/8, x2) inst_27: -// rs1==x9, rs2==x29, rd==x18, rs2_val == 65536, -// opcode: div ; op1:x9; op2:x29; dest:x18; op1val:0x3333333333333332; op2val:0x10000 -TEST_RR_OP(div, x18, x9, x29, 0x333333333333, 0x3333333333333332, 0x10000, x10, 80, x12) +// rs1==x6, rs2_val == -1048577, +// opcode: div ; op1:x6; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x100001 +TEST_RR_OP(div, x31, x6, x30, -0xb50, 0xb504f334, -0x100001, x1, 27*XLEN/8, x7) +RVTEST_SIGBASE(x6,signature_x6_0) inst_28: -// rs1==x15, rs2==x27, rd==x22, rs2_val == 131072, rs1_val == 131072 -// opcode: div ; op1:x15; op2:x27; dest:x22; op1val:0x20000; op2val:0x20000 -TEST_RR_OP(div, x22, x15, x27, 0x1, 0x20000, 0x20000, x10, 88, x12) +// rs1==x5, rs2_val == -2097153, +// opcode: div ; op1:x5; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x200001 +TEST_RR_OP(div, x31, x5, x30, -0x5a8, 0xb504f334, -0x200001, x6, 0*XLEN/8, x7) inst_29: -// rs1==x17, rs2==x25, rd==x30, rs2_val == 262144, rs1_val == 6148914691236517205 -// opcode: div ; op1:x17; op2:x25; dest:x30; op1val:0x5555555555555555; op2val:0x40000 -TEST_RR_OP(div, x30, x17, x25, 0x155555555555, 0x5555555555555555, 0x40000, x10, 96, x12) +// rs1==x4, rs2_val == -4194305, +// opcode: div ; op1:x4; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x400001 +TEST_RR_OP(div, x31, x4, x30, -0x2d4, 0xb504f334, -0x400001, x6, 1*XLEN/8, x7) inst_30: -// rs1==x11, rs2==x12, rd==x28, rs2_val == 524288, rs1_val == 274877906944 -// opcode: div ; op1:x11; op2:x12; dest:x28; op1val:0x4000000000; op2val:0x80000 -TEST_RR_OP(div, x28, x11, x12, 0x80000, 0x4000000000, 0x80000, x10, 104, x2) -RVTEST_SIGBASE( x1,signature_x1_0) +// rs1==x3, rs2_val == -8388609, +// opcode: div ; op1:x3; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x800001 +TEST_RR_OP(div, x31, x3, x30, -0x16a, 0xb504f334, -0x800001, x6, 2*XLEN/8, x7) inst_31: -// rs1==x18, rs2==x28, rd==x25, rs2_val == 1048576, -// opcode: div ; op1:x18; op2:x28; dest:x25; op1val:0x6666666666666666; op2val:0x100000 -TEST_RR_OP(div, x25, x18, x28, 0x66666666666, 0x6666666666666666, 0x100000, x1, 0, x2) +// rs1==x2, rs2_val == -16777217, +// opcode: div ; op1:x2; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x1000001 +TEST_RR_OP(div, x31, x2, x30, -0xb5, 0xb504f334, -0x1000001, x6, 3*XLEN/8, x7) inst_32: -// rs2_val == 2097152, rs1_val == 35184372088832 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200000000000; op2val:0x200000 -TEST_RR_OP(div, x12, x10, x11, 0x1000000, 0x200000000000, 0x200000, x1, 8, x2) +// rs1==x1, rs2_val == -33554433, +// opcode: div ; op1:x1; op2:x30; dest:x31; op1val:0xb504f334; op2val:-0x2000001 +TEST_RR_OP(div, x31, x1, x30, -0x5a, 0xb504f334, -0x2000001, x6, 4*XLEN/8, x7) inst_33: -// rs2_val == 4194304, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000; op2val:0x400000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x20000, 0x400000, x1, 16, x2) +// rs2==x28, rs2_val == -67108865, +// opcode: div ; op1:x30; op2:x28; dest:x31; op1val:0xb504f334; op2val:-0x4000001 +TEST_RR_OP(div, x31, x30, x28, -0x2d, 0xb504f334, -0x4000001, x6, 5*XLEN/8, x7) inst_34: -// rs2_val == 8388608, rs1_val == -65 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x41; op2val:0x800000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x41, 0x800000, x1, 24, x2) +// rs2==x27, rs2_val == -134217729, +// opcode: div ; op1:x30; op2:x27; dest:x31; op1val:0xb504f334; op2val:-0x8000001 +TEST_RR_OP(div, x31, x30, x27, -0x16, 0xb504f334, -0x8000001, x6, 6*XLEN/8, x7) inst_35: -// rs2_val == 16777216, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x1000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x1000000, x1, 32, x2) +// rs2==x26, rs2_val == -268435457, +// opcode: div ; op1:x30; op2:x26; dest:x31; op1val:0xb504f334; op2val:-0x10000001 +TEST_RR_OP(div, x31, x30, x26, -0xb, 0xb504f334, -0x10000001, x6, 7*XLEN/8, x7) inst_36: -// rs2_val == 33554432, rs1_val == 256 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x100; op2val:0x2000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x100, 0x2000000, x1, 40, x2) +// rs2==x25, rs2_val == -536870913, +// opcode: div ; op1:x30; op2:x25; dest:x31; op1val:0xb504f334; op2val:-0x20000001 +TEST_RR_OP(div, x31, x30, x25, -0x5, 0xb504f334, -0x20000001, x6, 8*XLEN/8, x7) inst_37: -// rs2_val == 67108864, rs1_val == -4294967297 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x100000001; op2val:0x4000000 -TEST_RR_OP(div, x12, x10, x11, -0x40, -0x100000001, 0x4000000, x1, 48, x2) +// rs2==x24, rs2_val == -1073741825, +// opcode: div ; op1:x30; op2:x24; dest:x31; op1val:0xb504f334; op2val:-0x40000001 +TEST_RR_OP(div, x31, x30, x24, -0x2, 0xb504f334, -0x40000001, x6, 9*XLEN/8, x7) inst_38: -// rs2_val == 134217728, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8; op2val:0x8000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x8, 0x8000000, x1, 56, x2) +// rs2==x23, rs2_val == -2147483649, +// opcode: div ; op1:x30; op2:x23; dest:x31; op1val:0xb504f334; op2val:-0x80000001 +TEST_RR_OP(div, x31, x30, x23, -0x1, 0xb504f334, -0x80000001, x6, 10*XLEN/8, x7) inst_39: -// rs2_val == 268435456, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x10000000 -TEST_RR_OP(div, x12, x10, x11, -0xb, -0xb504f333, 0x10000000, x1, 64, x2) +// rs2==x22, rs2_val == -4294967297, +// opcode: div ; op1:x30; op2:x22; dest:x31; op1val:0xb504f334; op2val:-0x100000001 +TEST_RR_OP(div, x31, x30, x22, 0x0, 0xb504f334, -0x100000001, x6, 11*XLEN/8, x7) inst_40: -// rs2_val == 536870912, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x6; op2val:0x20000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x6, 0x20000000, x1, 72, x2) +// rs2==x21, rs2_val == -8589934593, +// opcode: div ; op1:x30; op2:x21; dest:x31; op1val:0xb504f334; op2val:-0x200000001 +TEST_RR_OP(div, x31, x30, x21, 0x0, 0xb504f334, -0x200000001, x6, 12*XLEN/8, x7) inst_41: -// rs2_val == 1073741824, rs1_val == 576460752303423488 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800000000000000; op2val:0x40000000 -TEST_RR_OP(div, x12, x10, x11, 0x20000000, 0x800000000000000, 0x40000000, x1, 80, x2) +// rs2==x20, rs2_val == -17179869185, +// opcode: div ; op1:x30; op2:x20; dest:x31; op1val:0xb504f334; op2val:-0x400000001 +TEST_RR_OP(div, x31, x30, x20, 0x0, 0xb504f334, -0x400000001, x6, 13*XLEN/8, x7) inst_42: -// rs2_val == 2147483648, rs1_val == 17592186044416 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x100000000000; op2val:0x80000000 -TEST_RR_OP(div, x12, x10, x11, 0x2000, 0x100000000000, 0x80000000, x1, 88, x2) +// rs2==x19, rs2_val == -34359738369, +// opcode: div ; op1:x30; op2:x19; dest:x31; op1val:0xb504f334; op2val:-0x800000001 +TEST_RR_OP(div, x31, x30, x19, 0x0, 0xb504f334, -0x800000001, x6, 14*XLEN/8, x7) inst_43: -// rs2_val == 4294967296, rs1_val == -1152921504606846977 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1000000000000001; op2val:0x100000000 -TEST_RR_OP(div, x12, x10, x11, -0x10000000, -0x1000000000000001, 0x100000000, x1, 96, x2) +// rs2==x18, rs2_val == -68719476737, +// opcode: div ; op1:x30; op2:x18; dest:x31; op1val:0xb504f334; op2val:-0x1000000001 +TEST_RR_OP(div, x31, x30, x18, 0x0, 0xb504f334, -0x1000000001, x6, 15*XLEN/8, x7) inst_44: -// rs2_val == 8589934592, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x200000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x200000000, x1, 104, x2) +// rs2==x17, rs2_val == -137438953473, +// opcode: div ; op1:x30; op2:x17; dest:x31; op1val:0xb504f334; op2val:-0x2000000001 +TEST_RR_OP(div, x31, x30, x17, 0x0, 0xb504f334, -0x2000000001, x6, 16*XLEN/8, x7) inst_45: -// rs2_val == 17179869184, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000000; op2val:0x400000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x8000000, 0x400000000, x1, 112, x2) +// rs2==x16, rs2_val == -274877906945, +// opcode: div ; op1:x30; op2:x16; dest:x31; op1val:0xb504f334; op2val:-0x4000000001 +TEST_RR_OP(div, x31, x30, x16, 0x0, 0xb504f334, -0x4000000001, x6, 17*XLEN/8, x7) inst_46: -// rs2_val == 34359738368, rs1_val == -2305843009213693953 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2000000000000001; op2val:0x800000000 -TEST_RR_OP(div, x12, x10, x11, -0x4000000, -0x2000000000000001, 0x800000000, x1, 120, x2) +// rs2==x15, rs2_val == -549755813889, +// opcode: div ; op1:x30; op2:x15; dest:x31; op1val:0xb504f334; op2val:-0x8000000001 +TEST_RR_OP(div, x31, x30, x15, 0x0, 0xb504f334, -0x8000000001, x6, 18*XLEN/8, x7) inst_47: -// rs2_val == 68719476736, rs1_val == -36028797018963969 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x80000000000001; op2val:0x1000000000 -TEST_RR_OP(div, x12, x10, x11, -0x80000, -0x80000000000001, 0x1000000000, x1, 128, x2) +// rs2==x14, rs2_val == -1099511627777, +// opcode: div ; op1:x30; op2:x14; dest:x31; op1val:0xb504f334; op2val:-0x10000000001 +TEST_RR_OP(div, x31, x30, x14, 0x0, 0xb504f334, -0x10000000001, x6, 19*XLEN/8, x7) inst_48: -// rs2_val == 137438953472, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x2000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x2000000000, x1, 136, x2) +// rs2==x13, rs2_val == -2199023255553, +// opcode: div ; op1:x30; op2:x13; dest:x31; op1val:0xb504f334; op2val:-0x20000000001 +TEST_RR_OP(div, x31, x30, x13, 0x0, 0xb504f334, -0x20000000001, x6, 20*XLEN/8, x7) inst_49: -// rs2_val == 274877906944, rs1_val == 1073741824 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000000; op2val:0x4000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40000000, 0x4000000000, x1, 144, x2) +// rs2==x12, rs2_val == -4398046511105, +// opcode: div ; op1:x30; op2:x12; dest:x31; op1val:0xb504f334; op2val:-0x40000000001 +TEST_RR_OP(div, x31, x30, x12, 0x0, 0xb504f334, -0x40000000001, x6, 21*XLEN/8, x7) inst_50: -// rs2_val == 549755813888, rs1_val == -144115188075855873 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x200000000000001; op2val:0x8000000000 -TEST_RR_OP(div, x12, x10, x11, -0x40000, -0x200000000000001, 0x8000000000, x1, 152, x2) +// rs2==x11, rs2_val == -8796093022209, +// opcode: div ; op1:x30; op2:x11; dest:x31; op1val:0xb504f334; op2val:-0x80000000001 +TEST_RR_OP(div, x31, x30, x11, 0x0, 0xb504f334, -0x80000000001, x6, 22*XLEN/8, x7) inst_51: -// rs2_val == 1099511627776, rs1_val == 34359738368 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800000000; op2val:0x10000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x800000000, 0x10000000000, x1, 160, x2) +// rs2==x10, rs2_val == -17592186044417, +// opcode: div ; op1:x30; op2:x10; dest:x31; op1val:0xb504f334; op2val:-0x100000000001 +TEST_RR_OP(div, x31, x30, x10, 0x0, 0xb504f334, -0x100000000001, x6, 23*XLEN/8, x11) +RVTEST_SIGBASE(x10,signature_x10_0) inst_52: -// rs2_val == 2199023255552, rs1_val == -2 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2; op2val:0x20000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x2, 0x20000000000, x1, 168, x2) +// rs2==x9, rs2_val == -35184372088833, +// opcode: div ; op1:x30; op2:x9; dest:x31; op1val:0xb504f334; op2val:-0x200000000001 +TEST_RR_OP(div, x31, x30, x9, 0x0, 0xb504f334, -0x200000000001, x10, 0*XLEN/8, x11) inst_53: -// rs2_val == 4398046511104, rs1_val == 536870912 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000000; op2val:0x40000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x20000000, 0x40000000000, x1, 176, x2) +// rs2==x8, rs2_val == -70368744177665, +// opcode: div ; op1:x30; op2:x8; dest:x31; op1val:0xb504f334; op2val:-0x400000000001 +TEST_RR_OP(div, x31, x30, x8, 0x0, 0xb504f334, -0x400000000001, x10, 1*XLEN/8, x11) inst_54: -// rs2_val == 8796093022208, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x6; op2val:0x80000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x6, 0x80000000000, x1, 184, x2) +// rs2==x7, rs2_val == -140737488355329, +// opcode: div ; op1:x30; op2:x7; dest:x31; op1val:0xb504f334; op2val:-0x800000000001 +TEST_RR_OP(div, x31, x30, x7, 0x0, 0xb504f334, -0x800000000001, x10, 2*XLEN/8, x11) inst_55: -// rs2_val == 17592186044416, rs1_val == 36028797018963968 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80000000000000; op2val:0x100000000000 -TEST_RR_OP(div, x12, x10, x11, 0x800, 0x80000000000000, 0x100000000000, x1, 192, x2) +// rs2==x6, rs2_val == -281474976710657, +// opcode: div ; op1:x30; op2:x6; dest:x31; op1val:0xb504f334; op2val:-0x1000000000001 +TEST_RR_OP(div, x31, x30, x6, 0x0, 0xb504f334, -0x1000000000001, x10, 3*XLEN/8, x11) inst_56: -// rs2_val == 35184372088832, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x200000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x200000000000, x1, 200, x2) +// rs2==x5, rs2_val == -562949953421313, +// opcode: div ; op1:x30; op2:x5; dest:x31; op1val:0xb504f334; op2val:-0x2000000000001 +TEST_RR_OP(div, x31, x30, x5, 0x0, 0xb504f334, -0x2000000000001, x10, 4*XLEN/8, x11) inst_57: -// rs2_val == 70368744177664, rs1_val == 1099511627776 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x10000000000; op2val:0x400000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x10000000000, 0x400000000000, x1, 208, x2) +// rs2==x4, rs2_val == -1125899906842625, +// opcode: div ; op1:x30; op2:x4; dest:x31; op1val:0xb504f334; op2val:-0x4000000000001 +TEST_RR_OP(div, x31, x30, x4, 0x0, 0xb504f334, -0x4000000000001, x10, 5*XLEN/8, x11) inst_58: -// rs2_val == 140737488355328, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x800000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x800000000000, x1, 216, x2) +// rs2==x3, rs2_val == -2251799813685249, +// opcode: div ; op1:x30; op2:x3; dest:x31; op1val:0xb504f334; op2val:-0x8000000000001 +TEST_RR_OP(div, x31, x30, x3, 0x0, 0xb504f334, -0x8000000000001, x10, 6*XLEN/8, x11) inst_59: -// rs2_val == 281474976710656, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x1000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x1000000000000, x1, 224, x2) +// rs2==x2, rs2_val == -4503599627370497, +// opcode: div ; op1:x30; op2:x2; dest:x31; op1val:0xb504f334; op2val:-0x10000000000001 +TEST_RR_OP(div, x31, x30, x2, 0x0, 0xb504f334, -0x10000000000001, x10, 7*XLEN/8, x11) inst_60: -// rs2_val == 562949953421312, rs1_val == -72057594037927937 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x100000000000001; op2val:0x2000000000000 -TEST_RR_OP(div, x12, x10, x11, -0x80, -0x100000000000001, 0x2000000000000, x1, 232, x2) +// rs2==x1, rs2_val == -9007199254740993, +// opcode: div ; op1:x30; op2:x1; dest:x31; op1val:0xb504f334; op2val:-0x20000000000001 +TEST_RR_OP(div, x31, x30, x1, 0x0, 0xb504f334, -0x20000000000001, x10, 8*XLEN/8, x11) inst_61: -// rs2_val == 1125899906842624, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4; op2val:0x4000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x4, 0x4000000000000, x1, 240, x2) +// rs2==x0, rs2_val == -18014398509481985, +// opcode: div ; op1:x30; op2:x0; dest:x31; op1val:0xb504f334; op2val:0x0 +TEST_RR_OP(div, x31, x30, x0, 0xFFFFFFFFFFFFFFFF, 0xb504f334, 0x0, x10, 9*XLEN/8, x11) inst_62: -// rs2_val == 2251799813685248, rs1_val == 262144 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000; op2val:0x8000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40000, 0x8000000000000, x1, 248, x2) +// rd==x28, rs2_val == -36028797018963969, +// opcode: div ; op1:x31; op2:x30; dest:x28; op1val:0xb504f334; op2val:-0x80000000000001 +TEST_RR_OP(div, x28, x31, x30, 0x0, 0xb504f334, -0x80000000000001, x10, 10*XLEN/8, x11) inst_63: -// rs2_val == 4503599627370496, rs1_val == -262145 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40001; op2val:0x10000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x40001, 0x10000000000000, x1, 256, x2) +// rd==x26, rs2_val == -72057594037927937, +// opcode: div ; op1:x31; op2:x30; dest:x26; op1val:0xb504f334; op2val:-0x100000000000001 +TEST_RR_OP(div, x26, x31, x30, 0x0, 0xb504f334, -0x100000000000001, x10, 11*XLEN/8, x11) inst_64: -// rs2_val == 9007199254740992, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x6; op2val:0x20000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x6, 0x20000000000000, x1, 264, x2) +// rd==x25, rs2_val == -144115188075855873, +// opcode: div ; op1:x31; op2:x30; dest:x25; op1val:0xb504f334; op2val:-0x200000000000001 +TEST_RR_OP(div, x25, x31, x30, 0x0, 0xb504f334, -0x200000000000001, x10, 12*XLEN/8, x11) inst_65: -// rs2_val == 18014398509481984, rs1_val == -32769 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8001; op2val:0x40000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x8001, 0x40000000000000, x1, 272, x2) +// rd==x24, rs2_val == -288230376151711745, +// opcode: div ; op1:x31; op2:x30; dest:x24; op1val:0xb504f334; op2val:-0x400000000000001 +TEST_RR_OP(div, x24, x31, x30, 0x0, 0xb504f334, -0x400000000000001, x10, 13*XLEN/8, x11) inst_66: -// rs2_val == 36028797018963968, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x80000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x80000000000000, x1, 280, x2) +// rd==x23, rs2_val == -576460752303423489, +// opcode: div ; op1:x31; op2:x30; dest:x23; op1val:0xb504f334; op2val:-0x800000000000001 +TEST_RR_OP(div, x23, x31, x30, 0x0, 0xb504f334, -0x800000000000001, x10, 14*XLEN/8, x11) inst_67: -// rs2_val == 72057594037927936, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x100000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x66, 0x6666666666666665, 0x100000000000000, x1, 288, x2) +// rd==x22, rs2_val == -1152921504606846977, +// opcode: div ; op1:x31; op2:x30; dest:x22; op1val:0xb504f334; op2val:-0x1000000000000001 +TEST_RR_OP(div, x22, x31, x30, 0x0, 0xb504f334, -0x1000000000000001, x10, 15*XLEN/8, x11) inst_68: -// rs2_val == 144115188075855872, rs1_val == 1152921504606846976 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000000000000; op2val:0x200000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x8, 0x1000000000000000, 0x200000000000000, x1, 296, x2) +// rd==x21, rs2_val == -2305843009213693953, +// opcode: div ; op1:x31; op2:x30; dest:x21; op1val:0xb504f334; op2val:-0x2000000000000001 +TEST_RR_OP(div, x21, x31, x30, 0x0, 0xb504f334, -0x2000000000000001, x10, 16*XLEN/8, x11) inst_69: -// rs2_val == 288230376151711744, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000000; op2val:0x400000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x8000000, 0x400000000000000, x1, 304, x2) +// rd==x20, rs2_val == -4611686018427387905, +// opcode: div ; op1:x31; op2:x30; dest:x20; op1val:0xb504f334; op2val:-0x4000000000000001 +TEST_RR_OP(div, x20, x31, x30, 0x0, 0xb504f334, -0x4000000000000001, x10, 17*XLEN/8, x11) inst_70: -// rs2_val == 576460752303423488, rs1_val == -65537 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10001; op2val:0x800000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x10001, 0x800000000000000, x1, 312, x2) +// rd==x19, rs2_val == 9223372036854775807, rs2_val == (2**(xlen-1)-1) +// opcode: div ; op1:x31; op2:x30; dest:x19; op1val:0xb504f334; op2val:0x7fffffffffffffff +TEST_RR_OP(div, x19, x31, x30, 0x0, 0xb504f334, 0x7fffffffffffffff, x10, 18*XLEN/8, x11) inst_71: -// rs2_val == 1152921504606846976, rs1_val == -9007199254740993 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x20000000000001; op2val:0x1000000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x20000000000001, 0x1000000000000000, x1, 320, x2) +// rd==x18, rs1_val == -2, +// opcode: div ; op1:x31; op2:x30; dest:x18; op1val:-0x2; op2val:0xb504f334 +TEST_RR_OP(div, x18, x31, x30, 0x0, -0x2, 0xb504f334, x10, 19*XLEN/8, x11) inst_72: -// rs2_val == 2305843009213693952, rs1_val == -1099511627777 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10000000001; op2val:0x2000000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x10000000001, 0x2000000000000000, x1, 328, x2) +// rd==x17, rs1_val == -3, +// opcode: div ; op1:x31; op2:x30; dest:x17; op1val:-0x3; op2val:0xb504f334 +TEST_RR_OP(div, x17, x31, x30, 0x0, -0x3, 0xb504f334, x10, 20*XLEN/8, x11) inst_73: -// rs2_val == 4611686018427387904, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x4000000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x4000000000000000, x1, 336, x2) +// rd==x16, rs1_val == -5, +// opcode: div ; op1:x31; op2:x30; dest:x16; op1val:-0x5; op2val:0xb504f334 +TEST_RR_OP(div, x16, x31, x30, 0x0, -0x5, 0xb504f334, x10, 21*XLEN/8, x11) inst_74: -// rs2_val == -2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0x2 -TEST_RR_OP(div, x12, x10, x11, -0x2, 0x4, -0x2, x1, 344, x2) +// rd==x15, rs1_val == -9, +// opcode: div ; op1:x31; op2:x30; dest:x15; op1val:-0x9; op2val:0xb504f334 +TEST_RR_OP(div, x15, x31, x30, 0x0, -0x9, 0xb504f334, x10, 22*XLEN/8, x11) inst_75: -// rs2_val == -3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:-0x3 -TEST_RR_OP(div, x12, x10, x11, -0x2222222222222222, 0x6666666666666666, -0x3, x1, 352, x2) +// rd==x14, rs1_val == -17, +// opcode: div ; op1:x31; op2:x30; dest:x14; op1val:-0x11; op2val:0xb504f334 +TEST_RR_OP(div, x14, x31, x30, 0x0, -0x11, 0xb504f334, x10, 23*XLEN/8, x11) inst_76: -// rs2_val == -5, rs1_val == -3 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x3; op2val:-0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x3, -0x5, x1, 360, x2) +// rd==x13, rs1_val == -33, +// opcode: div ; op1:x31; op2:x30; dest:x13; op1val:-0x21; op2val:0xb504f334 +TEST_RR_OP(div, x13, x31, x30, 0x0, -0x21, 0xb504f334, x10, 24*XLEN/8, x14) +RVTEST_SIGBASE(x13,signature_x13_0) inst_77: -// rs2_val == -17, rs1_val == 18014398509481984 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000000000000; op2val:-0x11 -TEST_RR_OP(div, x12, x10, x11, -0x3c3c3c3c3c3c3, 0x40000000000000, -0x11, x1, 368, x2) +// rd==x12, rs1_val == -65, +// opcode: div ; op1:x31; op2:x30; dest:x12; op1val:-0x41; op2val:0xb504f334 +TEST_RR_OP(div, x12, x31, x30, 0x0, -0x41, 0xb504f334, x13, 0*XLEN/8, x14) inst_78: -// rs2_val == -65, rs1_val == -33 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x21; op2val:-0x41 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x21, -0x41, x1, 376, x2) +// rd==x11, rs1_val == -129, +// opcode: div ; op1:x31; op2:x30; dest:x11; op1val:-0x81; op2val:0xb504f334 +TEST_RR_OP(div, x11, x31, x30, 0x0, -0x81, 0xb504f334, x13, 1*XLEN/8, x14) inst_79: -// rs2_val == -129, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x9; op2val:-0x81 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x9, -0x81, x1, 384, x2) +// rd==x10, rs1_val == -257, +// opcode: div ; op1:x31; op2:x30; dest:x10; op1val:-0x101; op2val:0xb504f334 +TEST_RR_OP(div, x10, x31, x30, 0x0, -0x101, 0xb504f334, x13, 2*XLEN/8, x14) inst_80: -// rs2_val == -257, rs1_val == 2097152 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200000; op2val:-0x101 -TEST_RR_OP(div, x12, x10, x11, -0x1fe0, 0x200000, -0x101, x1, 392, x2) +// rd==x9, rs1_val == -513, +// opcode: div ; op1:x31; op2:x30; dest:x9; op1val:-0x201; op2val:0xb504f334 +TEST_RR_OP(div, x9, x31, x30, 0x0, -0x201, 0xb504f334, x13, 3*XLEN/8, x14) inst_81: -// rs2_val == -513, rs1_val == 2251799813685248 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000000000000; op2val:-0x201 -TEST_RR_OP(div, x12, x10, x11, -0x3fe00ff803f, 0x8000000000000, -0x201, x1, 400, x2) +// rd==x8, rs1_val == -1025, +// opcode: div ; op1:x31; op2:x30; dest:x8; op1val:-0x401; op2val:0xb504f334 +TEST_RR_OP(div, x8, x31, x30, 0x0, -0x401, 0xb504f334, x13, 4*XLEN/8, x14) inst_82: -// rs2_val == -1025, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0x401 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0x401, x1, 408, x2) +// rd==x7, rs1_val == -2049, +// opcode: div ; op1:x31; op2:x30; dest:x7; op1val:-0x801; op2val:0xb504f334 +TEST_RR_OP(div, x7, x31, x30, 0x0, -0x801, 0xb504f334, x13, 5*XLEN/8, x14) inst_83: -// rs2_val == -2049, rs1_val == 4096 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000; op2val:-0x801 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x1000, -0x801, x1, 416, x2) +// rd==x6, rs1_val == -4097, +// opcode: div ; op1:x31; op2:x30; dest:x6; op1val:-0x1001; op2val:0xb504f334 +TEST_RR_OP(div, x6, x31, x30, 0x0, -0x1001, 0xb504f334, x13, 6*XLEN/8, x14) inst_84: -// rs2_val == -4097, rs1_val == -4097 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1001; op2val:-0x1001 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x1001, -0x1001, x1, 424, x2) +// rd==x5, rs1_val == -8193, +// opcode: div ; op1:x31; op2:x30; dest:x5; op1val:-0x2001; op2val:0xb504f334 +TEST_RR_OP(div, x5, x31, x30, 0x0, -0x2001, 0xb504f334, x13, 7*XLEN/8, x14) inst_85: -// rs2_val == -8193, rs1_val == 8192 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000; op2val:-0x2001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2000, -0x2001, x1, 432, x2) +// rd==x4, rs1_val == -16385, +// opcode: div ; op1:x31; op2:x30; dest:x4; op1val:-0x4001; op2val:0xb504f334 +TEST_RR_OP(div, x4, x31, x30, 0x0, -0x4001, 0xb504f334, x13, 8*XLEN/8, x14) inst_86: -// rs2_val == -16385, rs1_val == 32768 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000; op2val:-0x4001 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x8000, -0x4001, x1, 440, x2) +// rd==x3, rs1_val == -32769, +// opcode: div ; op1:x31; op2:x30; dest:x3; op1val:-0x8001; op2val:0xb504f334 +TEST_RR_OP(div, x3, x31, x30, 0x0, -0x8001, 0xb504f334, x13, 9*XLEN/8, x14) inst_87: -// rs2_val == -32769, rs1_val == 2 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0x8001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0x8001, x1, 448, x2) +// rd==x2, rs1_val == -65537, +// opcode: div ; op1:x31; op2:x30; dest:x2; op1val:-0x10001; op2val:0xb504f334 +TEST_RR_OP(div, x2, x31, x30, 0x0, -0x10001, 0xb504f334, x13, 10*XLEN/8, x14) inst_88: -// rs2_val == -65537, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000; op2val:-0x10001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2000, -0x10001, x1, 456, x2) +// rd==x1, rs1_val == -131073, +// opcode: div ; op1:x31; op2:x30; dest:x1; op1val:-0x20001; op2val:0xb504f334 +TEST_RR_OP(div, x1, x31, x30, 0x0, -0x20001, 0xb504f334, x13, 11*XLEN/8, x14) inst_89: -// rs2_val == -131073, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000000; op2val:-0x20001 -TEST_RR_OP(div, x12, x10, x11, -0xfff, 0x20000000, -0x20001, x1, 464, x2) +// rs1_val == -262145, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x40001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x40001, 0xb504f334, x13, 12*XLEN/8, x14) inst_90: -// rs2_val == -262145, rs1_val == -129 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x81; op2val:-0x40001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x81, -0x40001, x1, 472, x2) +// rs1_val == -524289, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x80001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x80001, 0xb504f334, x13, 13*XLEN/8, x14) inst_91: -// rs2_val == -524289, rs1_val == 2147483648 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80000000; op2val:-0x80001 -TEST_RR_OP(div, x12, x10, x11, -0xfff, 0x80000000, -0x80001, x1, 480, x2) +// rs1_val == -1048577, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x100001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x100001, 0xb504f334, x13, 14*XLEN/8, x14) inst_92: -// rs2_val == -1048577, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:-0x100001 -TEST_RR_OP(div, x12, x10, x11, -0xb50, 0xb504f333, -0x100001, x1, 488, x2) +// rs1_val == -2097153, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x200001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x200001, 0xb504f334, x13, 15*XLEN/8, x14) inst_93: -// rs2_val == -2097153, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:-0x200001 -TEST_RR_OP(div, x12, x10, x11, 0x5a8, -0xb504f332, -0x200001, x1, 496, x2) +// rs1_val == -4194305, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x400001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x400001, 0xb504f334, x13, 16*XLEN/8, x14) inst_94: -// rs2_val == -4194305, rs1_val == -5 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5; op2val:-0x400001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5, -0x400001, x1, 504, x2) +// rs1_val == -8388609, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x800001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x800001, 0xb504f334, x13, 17*XLEN/8, x14) inst_95: -// rs2_val == -8388609, rs1_val == -16385 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4001; op2val:-0x800001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x4001, -0x800001, x1, 512, x2) +// rs1_val == -16777217, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x1000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x1000001, 0xb504f334, x13, 18*XLEN/8, x14) inst_96: -// rs2_val == -16777217, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x80000001; op2val:-0x1000001 -TEST_RR_OP(div, x12, x10, x11, 0x7f, -0x80000001, -0x1000001, x1, 520, x2) +// rs1_val == -33554433, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x2000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x2000001, 0xb504f334, x13, 19*XLEN/8, x14) inst_97: -// rs2_val == -33554433, rs1_val == 65536 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x10000; op2val:-0x2000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x10000, -0x2000001, x1, 528, x2) +// rs1_val == -67108865, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x4000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x4000001, 0xb504f334, x13, 20*XLEN/8, x14) inst_98: -// rs2_val == -67108865, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200000; op2val:-0x4000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x200000, -0x4000001, x1, 536, x2) +// rs1_val == -134217729, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x8000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x8000001, 0xb504f334, x13, 21*XLEN/8, x14) inst_99: -// rs2_val == -134217729, rs1_val == -549755813889 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8000000001; op2val:-0x8000001 -TEST_RR_OP(div, x12, x10, x11, 0xfff, -0x8000000001, -0x8000001, x1, 544, x2) +// rs1_val == -268435457, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x10000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x10000001, 0xb504f334, x13, 22*XLEN/8, x14) inst_100: -// rs2_val == -268435457, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000; op2val:-0x10000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40000, -0x10000001, x1, 552, x2) +// rs1_val == -536870913, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x20000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x20000001, 0xb504f334, x13, 23*XLEN/8, x14) inst_101: -// rs2_val == -536870913, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000000000000; op2val:-0x20000001 -TEST_RR_OP(div, x12, x10, x11, -0x3fffff, 0x8000000000000, -0x20000001, x1, 560, x2) +// rs1_val == -1073741825, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x40000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x40000001, 0xb504f334, x13, 24*XLEN/8, x14) inst_102: -// rs2_val == -1073741825, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000000; op2val:-0x40000001 -TEST_RR_OP(div, x12, x10, x11, -0x3f, 0x1000000000, -0x40000001, x1, 568, x2) +// rs1_val == -2147483649, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x80000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x80000001, 0xb504f334, x13, 25*XLEN/8, x14) inst_103: -// rs2_val == -2147483649, rs1_val == -67108865 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4000001; op2val:-0x80000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x4000001, -0x80000001, x1, 576, x2) +// rs1_val == -4294967297, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x100000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x100000001, 0xb504f334, x13, 26*XLEN/8, x14) inst_104: -// rs2_val == -4294967297, rs1_val == 4503599627370496 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x10000000000000; op2val:-0x100000001 -TEST_RR_OP(div, x12, x10, x11, -0xfffff, 0x10000000000000, -0x100000001, x1, 584, x2) +// rs1_val == -8589934593, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x200000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2, -0x200000001, 0xb504f334, x13, 27*XLEN/8, x14) inst_105: -// rs2_val == -8589934593, rs1_val == 4194304 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x400000; op2val:-0x200000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x400000, -0x200000001, x1, 592, x2) +// rs1_val == -17179869185, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x400000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5, -0x400000001, 0xb504f334, x13, 28*XLEN/8, x14) inst_106: -// rs2_val == -17179869185, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10000000001; op2val:-0x400000001 -TEST_RR_OP(div, x12, x10, x11, 0x3f, -0x10000000001, -0x400000001, x1, 600, x2) +// rs1_val == -34359738369, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x800000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb, -0x800000001, 0xb504f334, x13, 29*XLEN/8, x14) inst_107: -// rs2_val == -34359738369, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10001; op2val:-0x800000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x10001, -0x800000001, x1, 608, x2) +// rs1_val == -68719476737, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x1000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16, -0x1000000001, 0xb504f334, x13, 30*XLEN/8, x14) inst_108: -// rs2_val == -68719476737, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xa; op2val:-0x1000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xa, -0x1000000001, x1, 616, x2) +// rs1_val == -137438953473, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x2000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d, -0x2000000001, 0xb504f334, x13, 31*XLEN/8, x14) inst_109: -// rs2_val == -274877906945, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:-0x4000000001 -TEST_RR_OP(div, x12, x10, x11, -0x1555555, 0x5555555555555554, -0x4000000001, x1, 624, x2) +// rs1_val == -274877906945, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x4000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a, -0x4000000001, 0xb504f334, x13, 32*XLEN/8, x14) inst_110: -// rs2_val == -549755813889, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000000; op2val:-0x8000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x20000000, -0x8000000001, x1, 632, x2) +// rs1_val == -549755813889, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x8000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb5, -0x8000000001, 0xb504f334, x13, 33*XLEN/8, x14) inst_111: -// rs2_val == -1099511627777, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x10000000; op2val:-0x10000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x10000000, -0x10000000001, x1, 640, x2) +// rs1_val == -1099511627777, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x10000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16a, -0x10000000001, 0xb504f334, x13, 34*XLEN/8, x14) inst_112: -// rs2_val == -2199023255553, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0x20000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0x20000000001, x1, 648, x2) +// rs1_val == -2199023255553, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x20000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d4, -0x20000000001, 0xb504f334, x13, 35*XLEN/8, x14) inst_113: -// rs2_val == -4398046511105, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000000; op2val:-0x40000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x1000000000, -0x40000000001, x1, 656, x2) +// rs1_val == -4398046511105, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x40000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a8, -0x40000000001, 0xb504f334, x13, 36*XLEN/8, x14) inst_114: -// rs2_val == -8796093022209, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000000; op2val:-0x80000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40000000, -0x80000000001, x1, 664, x2) +// rs1_val == -8796093022209, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x80000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb50, -0x80000000001, 0xb504f334, x13, 37*XLEN/8, x14) inst_115: -// rs2_val == -17592186044417, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5; op2val:-0x100000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5, -0x100000000001, x1, 672, x2) +// rs1_val == -17592186044417, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x100000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16a0, -0x100000000001, 0xb504f334, x13, 38*XLEN/8, x14) inst_116: -// rs2_val == -35184372088833, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4000000000000; op2val:-0x200000000001 -TEST_RR_OP(div, x12, x10, x11, -0x1f, 0x4000000000000, -0x200000000001, x1, 680, x2) +// rs1_val == -35184372088833, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x200000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d41, -0x200000000001, 0xb504f334, x13, 39*XLEN/8, x14) inst_117: -// rs2_val == -70368744177665, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10001; op2val:-0x400000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x10001, -0x400000000001, x1, 688, x2) +// rs1_val == -70368744177665, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x400000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a82, -0x400000000001, 0xb504f334, x13, 40*XLEN/8, x14) inst_118: -// rs2_val == -140737488355329, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:-0x800000000001 -TEST_RR_OP(div, x12, x10, x11, -0xaaaa, 0x5555555555555554, -0x800000000001, x1, 696, x2) +// rs1_val == -140737488355329, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x800000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb504, -0x800000000001, 0xb504f334, x13, 41*XLEN/8, x14) inst_119: -// rs2_val == -281474976710657, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x7; op2val:-0x1000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x7, -0x1000000000001, x1, 704, x2) +// rs1_val == -281474976710657, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x1000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16a09, -0x1000000000001, 0xb504f334, x13, 42*XLEN/8, x14) inst_120: -// rs2_val == -562949953421313, rs1_val == 16777216 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000; op2val:-0x2000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x1000000, -0x2000000000001, x1, 712, x2) +// rs1_val == -562949953421313, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x2000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d413, -0x2000000000001, 0xb504f334, x13, 43*XLEN/8, x14) inst_121: -// rs2_val == -1125899906842625, rs1_val == -9 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x9; op2val:-0x4000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x9, -0x4000000000001, x1, 720, x2) +// rs1_val == -1125899906842625, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x4000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a827, -0x4000000000001, 0xb504f334, x13, 44*XLEN/8, x14) inst_122: -// rs2_val == -2251799813685249, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2; op2val:-0x8000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x2, -0x8000000000001, x1, 728, x2) +// rs1_val == -2251799813685249, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x8000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb504f, -0x8000000000001, 0xb504f334, x13, 45*XLEN/8, x14) inst_123: -// rs2_val == -4503599627370497, rs1_val == 2048 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800; op2val:-0x10000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x800, -0x10000000000001, x1, 736, x2) +// rs1_val == -4503599627370497, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x10000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16a09e, -0x10000000000001, 0xb504f334, x13, 46*XLEN/8, x14) inst_124: -// rs2_val == -9007199254740993, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:-0x20000000000001 -TEST_RR_OP(div, x12, x10, x11, -0x2aa, 0x5555555555555555, -0x20000000000001, x1, 744, x2) +// rs1_val == -9007199254740993, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x20000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d413c, -0x20000000000001, 0xb504f334, x13, 47*XLEN/8, x14) inst_125: -// rs2_val == -18014398509481985, rs1_val == 288230376151711744 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x400000000000000; op2val:-0x40000000000001 -TEST_RR_OP(div, x12, x10, x11, -0xf, 0x400000000000000, -0x40000000000001, x1, 752, x2) +// rs1_val == -18014398509481985, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x40000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a8279, -0x40000000000001, 0xb504f334, x13, 48*XLEN/8, x14) inst_126: -// rs2_val == -36028797018963969, rs1_val == -70368744177665 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x400000000001; op2val:-0x80000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x400000000001, -0x80000000000001, x1, 760, x2) +// rs1_val == -36028797018963969, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x80000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb504f3, -0x80000000000001, 0xb504f334, x13, 49*XLEN/8, x14) inst_127: -// rs2_val == -72057594037927937, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:-0x100000000000001 -TEST_RR_OP(div, x12, x10, x11, -0x66, 0x6666666666666667, -0x100000000000001, x1, 768, x2) +// rs1_val == -72057594037927937, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x100000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16a09e6, -0x100000000000001, 0xb504f334, x13, 50*XLEN/8, x14) inst_128: -// rs2_val == -144115188075855873, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x20000000001; op2val:-0x200000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x20000000001, -0x200000000000001, x1, 776, x2) +// rs1_val == -144115188075855873, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x200000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d413cc, -0x200000000000001, 0xb504f334, x13, 51*XLEN/8, x14) inst_129: -// rs2_val == -288230376151711745, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4; op2val:-0x400000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x4, -0x400000000000001, x1, 784, x2) +// rs1_val == -288230376151711745, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x400000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a82799, -0x400000000000001, 0xb504f334, x13, 52*XLEN/8, x14) inst_130: -// rs2_val == -576460752303423489, rs1_val == -140737488355329 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x800000000001; op2val:-0x800000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x800000000001, -0x800000000000001, x1, 792, x2) +// rs1_val == -576460752303423489, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x800000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0xb504f33, -0x800000000000001, 0xb504f334, x13, 53*XLEN/8, x14) inst_131: -// rs2_val == -1152921504606846977, rs1_val == 16384 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4000; op2val:-0x1000000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4000, -0x1000000000000001, x1, 800, x2) +// rs1_val == -1152921504606846977, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x1000000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x16a09e66, -0x1000000000000001, 0xb504f334, x13, 54*XLEN/8, x14) inst_132: -// rs2_val == -2305843009213693953, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:-0x2000000000000001 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x3333333333333333, -0x2000000000000001, x1, 808, x2) +// rs1_val == -2305843009213693953, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x2000000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x2d413ccc, -0x2000000000000001, 0xb504f334, x13, 55*XLEN/8, x14) inst_133: -// rs2_val == -4611686018427387905, rs1_val == -33554433 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2000001; op2val:-0x4000000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x2000001, -0x4000000000000001, x1, 816, x2) +// rs1_val == -4611686018427387905, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x4000000000000001; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x5a827999, -0x4000000000000001, 0xb504f334, x13, 56*XLEN/8, x14) inst_134: -// rs2_val == 6148914691236517205, rs1_val == 32 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x20, 0x5555555555555555, x1, 824, x2) +// rs2_val == 1, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x1 +TEST_RR_OP(div, x31, x30, x29, 0xb504f334, 0xb504f334, 0x1, x13, 57*XLEN/8, x14) inst_135: -// rs2_val == -6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8000000001; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x8000000001, -0x5555555555555556, x1, 832, x2) +// rs2_val == 2, rs1_val==3037000500 and rs2_val==2 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x5a82799a, 0xb504f334, 0x2, x13, 58*XLEN/8, x14) inst_136: -// rs1_val == 64, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40; op2val:-0x2000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40, -0x2000001, x1, 840, x2) +// rs2_val == 4, rs1_val==3037000500 and rs2_val==4 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x2d413ccd, 0xb504f334, 0x4, x13, 59*XLEN/8, x14) inst_137: -// rs1_val == 128, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80; op2val:0x9 -TEST_RR_OP(div, x12, x10, x11, 0xe, 0x80, 0x9, x1, 848, x2) +// rs2_val == 8, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x8 +TEST_RR_OP(div, x31, x30, x29, 0x16a09e66, 0xb504f334, 0x8, x13, 60*XLEN/8, x14) inst_138: -// rs1_val == 512, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x200, 0x6666666666666665, x1, 856, x2) +// rs2_val == 16, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x10 +TEST_RR_OP(div, x31, x30, x29, 0xb504f33, 0xb504f334, 0x10, x13, 61*XLEN/8, x14) inst_139: -// rs1_val == 1024, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x400; op2val:-0x41 -TEST_RR_OP(div, x12, x10, x11, -0xf, 0x400, -0x41, x1, 864, x2) +// rs2_val == 32, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x20 +TEST_RR_OP(div, x31, x30, x29, 0x5a82799, 0xb504f334, 0x20, x13, 62*XLEN/8, x14) inst_140: -// rs1_val == 524288, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80000; op2val:-0x10001 -TEST_RR_OP(div, x12, x10, x11, -0x7, 0x80000, -0x10001, x1, 872, x2) +// rs2_val == 64, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x40 +TEST_RR_OP(div, x31, x30, x29, 0x2d413cc, 0xb504f334, 0x40, x13, 63*XLEN/8, x14) inst_141: -// rs1_val == 1048576, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x100000; op2val:0x800000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x100000, 0x800000000, x1, 880, x2) +// rs2_val == 128, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x80 +TEST_RR_OP(div, x31, x30, x29, 0x16a09e6, 0xb504f334, 0x80, x13, 64*XLEN/8, x14) inst_142: -// rs1_val == 8388608, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800000; op2val:0x100000 -TEST_RR_OP(div, x12, x10, x11, 0x8, 0x800000, 0x100000, x1, 888, x2) +// rs2_val == 256, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x100 +TEST_RR_OP(div, x31, x30, x29, 0xb504f3, 0xb504f334, 0x100, x13, 65*XLEN/8, x14) inst_143: -// rs1_val == 33554432, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000000; op2val:0x2000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2000000, 0x2000000000000, x1, 896, x2) +// rs2_val == 512, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x200 +TEST_RR_OP(div, x31, x30, x29, 0x5a8279, 0xb504f334, 0x200, x13, 66*XLEN/8, x14) inst_144: -// rs1_val == 67108864, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4000000; op2val:0x100000 -TEST_RR_OP(div, x12, x10, x11, 0x40, 0x4000000, 0x100000, x1, 904, x2) +// rs2_val == 1024, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x400 +TEST_RR_OP(div, x31, x30, x29, 0x2d413c, 0xb504f334, 0x400, x13, 67*XLEN/8, x14) inst_145: -// rs1_val == 4294967296, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x100000000; op2val:0x100 -TEST_RR_OP(div, x12, x10, x11, 0x1000000, 0x100000000, 0x100, x1, 912, x2) +// rs2_val == 2048, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x800 +TEST_RR_OP(div, x31, x30, x29, 0x16a09e, 0xb504f334, 0x800, x13, 68*XLEN/8, x14) inst_146: -// rs1_val == 8589934592, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200000000; op2val:-0x10001 -TEST_RR_OP(div, x12, x10, x11, -0x1fffe, 0x200000000, -0x10001, x1, 920, x2) +// rs2_val == 4096, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x1000 +TEST_RR_OP(div, x31, x30, x29, 0xb504f, 0xb504f334, 0x1000, x13, 69*XLEN/8, x14) inst_147: -// rs1_val == 17179869184, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x400000000; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x400000000, 0x5555555555555555, x1, 928, x2) +// rs2_val == 8192, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x2000 +TEST_RR_OP(div, x31, x30, x29, 0x5a827, 0xb504f334, 0x2000, x13, 70*XLEN/8, x14) inst_148: -// rs1_val == 137438953472, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000000000; op2val:0x200000000 -TEST_RR_OP(div, x12, x10, x11, 0x10, 0x2000000000, 0x200000000, x1, 936, x2) +// rs2_val == 16384, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x4000 +TEST_RR_OP(div, x31, x30, x29, 0x2d413, 0xb504f334, 0x4000, x13, 71*XLEN/8, x14) inst_149: -// rs1_val == 4398046511104, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x40000000000; op2val:-0x1000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x40000000000, -0x1000000000001, x1, 944, x2) +// rs2_val == 32768, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x8000 +TEST_RR_OP(div, x31, x30, x29, 0x16a09, 0xb504f334, 0x8000, x13, 72*XLEN/8, x14) inst_150: -// rs1_val == 8796093022208, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x80000000000; op2val:-0x40000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x80000000000, -0x40000000000001, x1, 952, x2) +// rs2_val == 65536, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x10000 +TEST_RR_OP(div, x31, x30, x29, 0xb504, 0xb504f334, 0x10000, x13, 73*XLEN/8, x14) inst_151: -// rs1_val == 70368744177664, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x400000000000; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x5a82, 0x400000000000, -0xb504f333, x1, 960, x2) +// rs2_val == 131072, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x20000 +TEST_RR_OP(div, x31, x30, x29, 0x5a82, 0xb504f334, 0x20000, x13, 74*XLEN/8, x14) inst_152: -// rs1_val == 140737488355328, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x800000000000; op2val:0x100000 -TEST_RR_OP(div, x12, x10, x11, 0x8000000, 0x800000000000, 0x100000, x1, 968, x2) +// rs2_val == 262144, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x40000 +TEST_RR_OP(div, x31, x30, x29, 0x2d41, 0xb504f334, 0x40000, x13, 75*XLEN/8, x14) inst_153: -// rs1_val == 281474976710656, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000000000; op2val:-0xa -TEST_RR_OP(div, x12, x10, x11, -0x199999999999, 0x1000000000000, -0xa, x1, 976, x2) +// rs2_val == 524288, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x80000 +TEST_RR_OP(div, x31, x30, x29, 0x16a0, 0xb504f334, 0x80000, x13, 76*XLEN/8, x14) inst_154: -// rs1_val == 562949953421312, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000000000000; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0xaaaaaaaaaaaa, 0x2000000000000, 0x3, x1, 984, x2) +// rs2_val == 1048576, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x100000 +TEST_RR_OP(div, x31, x30, x29, 0xb50, 0xb504f334, 0x100000, x13, 77*XLEN/8, x14) inst_155: -// rs1_val == 9007199254740992, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x20000000000000; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x6666666666666, 0x20000000000000, 0x5, x1, 992, x2) +// rs2_val == 2097152, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x200000 +TEST_RR_OP(div, x31, x30, x29, 0x5a8, 0xb504f334, 0x200000, x13, 78*XLEN/8, x14) inst_156: -// rs1_val == 144115188075855872, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x200000000000000; op2val:-0x2000000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x200000000000000, -0x2000000000000001, x1, 1000, x2) +// rs2_val == 4194304, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x400000 +TEST_RR_OP(div, x31, x30, x29, 0x2d4, 0xb504f334, 0x400000, x13, 79*XLEN/8, x14) inst_157: -// rs1_val == 2305843009213693952, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2000000000000000; op2val:-0x801 -TEST_RR_OP(div, x12, x10, x11, -0x3ff800ffe003f, 0x2000000000000000, -0x801, x1, 1008, x2) +// rs2_val == 8388608, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x800000 +TEST_RR_OP(div, x31, x30, x29, 0x16a, 0xb504f334, 0x800000, x13, 80*XLEN/8, x14) inst_158: -// rs1_val == 4611686018427387904, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4000000000000000; op2val:-0x2 -TEST_RR_OP(div, x12, x10, x11, -0x2000000000000000, 0x4000000000000000, -0x2, x1, 1016, x2) +// rs2_val == 16777216, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x1000000 +TEST_RR_OP(div, x31, x30, x29, 0xb5, 0xb504f334, 0x1000000, x13, 81*XLEN/8, x14) inst_159: -// rs1_val == -17, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x11; op2val:-0x80000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x11, -0x80000000000001, x1, 1024, x2) +// rs2_val == 33554432, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x2000000 +TEST_RR_OP(div, x31, x30, x29, 0x5a, 0xb504f334, 0x2000000, x13, 82*XLEN/8, x14) inst_160: -// rs1_val == -257, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x101; op2val:0x800000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x101, 0x800000000000, x1, 1032, x2) +// rs2_val == 67108864, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x4000000 +TEST_RR_OP(div, x31, x30, x29, 0x2d, 0xb504f334, 0x4000000, x13, 83*XLEN/8, x14) inst_161: -// rs1_val == -513, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x201; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, -0x66, -0x201, 0x5, x1, 1040, x2) +// rs2_val == 134217728, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x8000000 +TEST_RR_OP(div, x31, x30, x29, 0x16, 0xb504f334, 0x8000000, x13, 84*XLEN/8, x14) inst_162: -// rs1_val == -2049, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x801; op2val:0x10000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x801, 0x10000, x1, 1048, x2) +// rs2_val == 268435456, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x10000000 +TEST_RR_OP(div, x31, x30, x29, 0xb, 0xb504f334, 0x10000000, x13, 85*XLEN/8, x14) inst_163: -// rs1_val == -8193, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2001; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x2001, 0x3333333333333334, x1, 1056, x2) +// rs2_val == 536870912, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x20000000 +TEST_RR_OP(div, x31, x30, x29, 0x5, 0xb504f334, 0x20000000, x13, 86*XLEN/8, x14) inst_164: -// rs1_val == -131073, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x20001; op2val:0x80000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x20001, 0x80000000, x1, 1064, x2) +// rs2_val == 1073741824, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x40000000 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0xb504f334, 0x40000000, x13, 87*XLEN/8, x14) inst_165: -// rs1_val == -524289, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x80001; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, -0x40000, -0x80001, 0x2, x1, 1072, x2) +// rs2_val == 2147483648, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x80000000 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f334, 0x80000000, x13, 88*XLEN/8, x14) inst_166: -// rs1_val == -1048577, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x100001; op2val:0x1000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x100001, 0x1000000, x1, 1080, x2) +// rs2_val == 4294967296, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x100000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x100000000, x13, 89*XLEN/8, x14) inst_167: -// rs1_val == -2097153, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x200001; op2val:-0x2000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x200001, -0x2000000000001, x1, 1088, x2) +// rs2_val == 8589934592, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x200000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x200000000, x13, 90*XLEN/8, x14) inst_168: -// rs1_val == -8388609, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x800001; op2val:-0x201 -TEST_RR_OP(div, x12, x10, x11, 0x3fe0, -0x800001, -0x201, x1, 1096, x2) +// rs2_val == 17179869184, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x400000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x400000000, x13, 91*XLEN/8, x14) inst_169: -// rs1_val == -16777217, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1000001; op2val:-0x800000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x1000001, -0x800000000001, x1, 1104, x2) +// rs2_val == 34359738368, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x800000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x800000000, x13, 92*XLEN/8, x14) inst_170: -// rs1_val == -134217729, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8000001; op2val:-0x2000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x8000001, -0x2000000001, x1, 1112, x2) +// rs2_val == 68719476736, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x1000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x1000000000, x13, 93*XLEN/8, x14) inst_171: -// rs1_val == -268435457, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10000001; op2val:0x1000000 -TEST_RR_OP(div, x12, x10, x11, -0x10, -0x10000001, 0x1000000, x1, 1120, x2) +// rs2_val == 137438953472, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x2000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x2000000000, x13, 94*XLEN/8, x14) inst_172: -// rs1_val == -536870913, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x20000001; op2val:0x1000000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x20000001, 0x1000000000000000, x1, 1128, x2) +// rs2_val == 274877906944, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x4000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x4000000000, x13, 95*XLEN/8, x14) inst_173: -// rs1_val == -1073741825, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40000001; op2val:-0x4000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x40000001, -0x4000000001, x1, 1136, x2) +// rs2_val == 549755813888, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x8000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x8000000000, x13, 96*XLEN/8, x14) inst_174: -// rs1_val == -8589934593, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x200000001; op2val:-0x21 -TEST_RR_OP(div, x12, x10, x11, 0xf83e0f8, -0x200000001, -0x21, x1, 1144, x2) +// rs2_val == 1099511627776, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x10000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x10000000000, x13, 97*XLEN/8, x14) inst_175: -// rs1_val == -34359738369, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x800000001; op2val:0x2000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x800000001, 0x2000000000000, x1, 1152, x2) +// rs2_val == 2199023255552, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x20000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x20000000000, x13, 98*XLEN/8, x14) inst_176: -// rs1_val == -68719476737, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1000000001; op2val:-0x1000000001 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x1000000001, -0x1000000001, x1, 1160, x2) +// rs2_val == 4398046511104, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x40000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x40000000000, x13, 99*XLEN/8, x14) inst_177: -// rs1_val == -137438953473, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2000000001; op2val:-0x200000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x2000000001, -0x200000000000001, x1, 1168, x2) +// rs2_val == 8796093022208, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x80000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x80000000000, x13, 100*XLEN/8, x14) inst_178: -// rs1_val == -274877906945, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4000000001; op2val:0x800000000 -TEST_RR_OP(div, x12, x10, x11, -0x8, -0x4000000001, 0x800000000, x1, 1176, x2) +// rs2_val == 17592186044416, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x100000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x100000000000, x13, 101*XLEN/8, x14) inst_179: -// rs1_val == -4398046511105, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x40000000001; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x40000000001, 0x3333333333333333, x1, 1184, x2) +// rs2_val == 35184372088832, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x200000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x200000000000, x13, 102*XLEN/8, x14) inst_180: -// rs1_val == -8796093022209, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x80000000001; op2val:0x20 -TEST_RR_OP(div, x12, x10, x11, -0x4000000000, -0x80000000001, 0x20, x1, 1192, x2) +// rs2_val == 70368744177664, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x400000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x400000000000, x13, 103*XLEN/8, x14) inst_181: -// rs1_val == -17592186044417, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x100000000001; op2val:0x200000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x100000000001, 0x200000000000, x1, 1200, x2) +// rs2_val == 140737488355328, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x800000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x800000000000, x13, 104*XLEN/8, x14) inst_182: -// rs1_val == -35184372088833, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x200000000001; op2val:-0x1000001 -TEST_RR_OP(div, x12, x10, x11, 0x1fffff, -0x200000000001, -0x1000001, x1, 1208, x2) +// rs2_val == 281474976710656, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x1000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x1000000000000, x13, 105*XLEN/8, x14) inst_183: -// rs1_val == -281474976710657, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x1000000000001; op2val:-0x20001 -TEST_RR_OP(div, x12, x10, x11, 0x7fffc000, -0x1000000000001, -0x20001, x1, 1216, x2) +// rs2_val == 562949953421312, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x2000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x2000000000000, x13, 106*XLEN/8, x14) inst_184: -// rs1_val == -562949953421313, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x2000000000001; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x2d413, -0x2000000000001, -0xb504f332, x1, 1224, x2) +// rs2_val == 1125899906842624, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x4000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x4000000000000, x13, 107*XLEN/8, x14) inst_185: -// rs1_val == -1125899906842625, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4000000000001; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x4000000000001, 0x5555555555555555, x1, 1232, x2) +// rs2_val == 2251799813685248, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x8000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x8000000000000, x13, 108*XLEN/8, x14) inst_186: -// rs1_val == -2251799813685249, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x8000000000001; op2val:0x20000000000000 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x8000000000001, 0x20000000000000, x1, 1240, x2) +// rs2_val == 4503599627370496, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x10000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x10000000000000, x13, 109*XLEN/8, x14) inst_187: -// rs1_val == -4503599627370497, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x10000000000001; op2val:-0x800000000000001 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x10000000000001, -0x800000000000001, x1, 1248, x2) +// rs2_val == 9007199254740992, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x20000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x20000000000000, x13, 110*XLEN/8, x14) inst_188: -// rs1_val == -288230376151711745, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x400000000000001; op2val:-0x41 -TEST_RR_OP(div, x12, x10, x11, 0xfc0fc0fc0fc0f, -0x400000000000001, -0x41, x1, 1256, x2) +// rs2_val == 18014398509481984, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x40000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x40000000000000, x13, 111*XLEN/8, x14) inst_189: -// rs1_val == -576460752303423489, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x800000000000001; op2val:-0x6 -TEST_RR_OP(div, x12, x10, x11, 0x155555555555555, -0x800000000000001, -0x6, x1, 1264, x2) +// rs2_val == 36028797018963968, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x80000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x80000000000000, x13, 112*XLEN/8, x14) inst_190: -// rs1_val == -4611686018427387905, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x4000000000000001; op2val:0x400000000000000 -TEST_RR_OP(div, x12, x10, x11, -0x10, -0x4000000000000001, 0x400000000000000, x1, 1272, x2) +// rs2_val == 72057594037927936, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x100000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x100000000000000, x13, 113*XLEN/8, x14) inst_191: -// rs1_val == -6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:-0x401 -TEST_RR_OP(div, x12, x10, x11, 0x15500155001550, -0x5555555555555556, -0x401, x1, 1280, x2) +// rs2_val == 144115188075855872, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x200000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x200000000000000, x13, 114*XLEN/8, x14) inst_192: -// rs1_val==3 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x5555555555555555, x1, 1288, x2) +// rs2_val == 288230376151711744, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x400000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x400000000000000, x13, 115*XLEN/8, x14) inst_193: -// rs1_val==3 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0x5555555555555556, x1, 1296, x2) +// rs2_val == 576460752303423488, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x800000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x800000000000000, x13, 116*XLEN/8, x14) inst_194: -// rs1_val==3 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x5, x1, 1304, x2) +// rs2_val == 1152921504606846976, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x1000000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x1000000000000000, x13, 117*XLEN/8, x14) inst_195: -// rs1_val==3 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x3333333333333333, x1, 1312, x2) +// rs2_val == 2305843009213693952, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x2000000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x2000000000000000, x13, 118*XLEN/8, x14) inst_196: -// rs1_val==3 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x6666666666666666, x1, 1320, x2) +// rs2_val == 4611686018427387904, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x4000000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x4000000000000000, x13, 119*XLEN/8, x14) inst_197: -// rs1_val==3 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0xb504f333, x1, 1328, x2) +// rs2_val == -9223372036854775808, rs2_val == (-2**(xlen-1)) +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0x8000000000000000 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, -0x8000000000000000, x13, 120*XLEN/8, x14) inst_198: -// rs1_val==3 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0xb504f333, x1, 1336, x2) +// rs1_val == 1, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x1, 0xb504f334, x13, 121*XLEN/8, x14) inst_199: -// rs1_val==3 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3, 0x2, x1, 1344, x2) +// rs1_val == 2, rs1_val==2 and rs2_val==3037000500 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0xb504f334, x13, 122*XLEN/8, x14) inst_200: -// rs1_val==3 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x5555555555555554, x1, 1352, x2) +// rs1_val == 4, rs1_val==4 and rs2_val==3037000500 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0xb504f334, x13, 123*XLEN/8, x14) inst_201: -// rs1_val==3 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x3, 0x0, x1, 1360, x2) +// rs1_val == 8, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x8, 0xb504f334, x13, 124*XLEN/8, x14) inst_202: -// rs1_val==3 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x4, x1, 1368, x2) +// rs1_val == 16, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x10, 0xb504f334, x13, 125*XLEN/8, x14) inst_203: -// rs1_val==3 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x3333333333333332, x1, 1376, x2) +// rs1_val == 32, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x20, 0xb504f334, x13, 126*XLEN/8, x14) inst_204: -// rs1_val==3 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x6666666666666665, x1, 1384, x2) +// rs1_val == 64, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x40, 0xb504f334, x13, 127*XLEN/8, x14) inst_205: -// rs1_val==3 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0xb504f332, x1, 1392, x2) +// rs1_val == 128, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x80, 0xb504f334, x13, 128*XLEN/8, x14) inst_206: -// rs1_val==3 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x5555555555555556, x1, 1400, x2) +// rs1_val == 256, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x100, 0xb504f334, x13, 129*XLEN/8, x14) inst_207: -// rs1_val==3 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0x5555555555555555, x1, 1408, x2) +// rs1_val == 512, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x200, 0xb504f334, x13, 130*XLEN/8, x14) inst_208: -// rs1_val==3 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x6, x1, 1416, x2) +// rs1_val == 1024, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x400, 0xb504f334, x13, 131*XLEN/8, x14) inst_209: -// rs1_val==3 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x3333333333333334, x1, 1424, x2) +// rs1_val == 2048, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x800, 0xb504f334, x13, 132*XLEN/8, x14) inst_210: -// rs1_val==3 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0x6666666666666667, x1, 1432, x2) +// rs1_val == 4096, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x1000, 0xb504f334, x13, 133*XLEN/8, x14) inst_211: -// rs1_val==3 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, -0xb504f332, x1, 1440, x2) +// rs1_val == 8192, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2000, 0xb504f334, x13, 134*XLEN/8, x14) inst_212: -// rs1_val==3 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3, 0xb504f334, x1, 1448, x2) +// rs1_val == 16384, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4000, 0xb504f334, x13, 135*XLEN/8, x14) inst_213: -// rs1_val==6148914691236517205 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c71c71c71, 0x5555555555555555, 0x3, x1, 1456, x2) +// rs1_val == 32768, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x8000, 0xb504f334, x13, 136*XLEN/8, x14) inst_214: -// rs1_val==6148914691236517205 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555555, 0x5555555555555555, x1, 1464, x2) +// rs1_val == 65536, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x10000, 0xb504f334, x13, 137*XLEN/8, x14) inst_215: -// rs1_val==6148914691236517205 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555555, -0x5555555555555556, x1, 1472, x2) +// rs1_val == 131072, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x20000, 0xb504f334, x13, 138*XLEN/8, x14) inst_216: -// rs1_val==6148914691236517205 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111111, 0x5555555555555555, 0x5, x1, 1480, x2) +// rs1_val == 262144, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x40000, 0xb504f334, x13, 139*XLEN/8, x14) inst_217: -// rs1_val==6148914691236517205 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555555, 0x3333333333333333, x1, 1488, x2) +// rs1_val == 524288, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x80000, 0xb504f334, x13, 140*XLEN/8, x14) inst_218: -// rs1_val==6148914691236517205 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555555, 0x6666666666666666, x1, 1496, x2) +// rs1_val == 1048576, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x100000, 0xb504f334, x13, 141*XLEN/8, x14) inst_219: -// rs1_val==6148914691236517205 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x78adf778, 0x5555555555555555, -0xb504f333, x1, 1504, x2) +// rs1_val == 2097152, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x200000, 0xb504f334, x13, 142*XLEN/8, x14) inst_220: -// rs1_val==6148914691236517205 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x78adf778, 0x5555555555555555, 0xb504f333, x1, 1512, x2) +// rs1_val == 4194304, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x400000, 0xb504f334, x13, 143*XLEN/8, x14) inst_221: -// rs1_val==6148914691236517205 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2aaaaaaaaaaaaaaa, 0x5555555555555555, 0x2, x1, 1520, x2) +// rs1_val == 8388608, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x800000, 0xb504f334, x13, 144*XLEN/8, x14) inst_222: -// rs1_val==6148914691236517205 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555555, 0x5555555555555554, x1, 1528, x2) +// rs1_val == 16777216, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x1000000, 0xb504f334, x13, 145*XLEN/8, x14) inst_223: -// rs1_val==6148914691236517205 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x5555555555555555, 0x0, x1, 1536, x2) +// rs1_val == 33554432, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2000000, 0xb504f334, x13, 146*XLEN/8, x14) inst_224: -// rs1_val==6148914691236517205 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1555555555555555, 0x5555555555555555, 0x4, x1, 1544, x2) +// rs1_val == 67108864, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4000000, 0xb504f334, x13, 147*XLEN/8, x14) inst_225: -// rs1_val==6148914691236517205 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555555, 0x3333333333333332, x1, 1552, x2) +// rs1_val == 134217728, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x8000000, 0xb504f334, x13, 148*XLEN/8, x14) inst_226: -// rs1_val==6148914691236517205 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555555, 0x6666666666666665, x1, 1560, x2) +// rs1_val == 268435456, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x10000000, 0xb504f334, x13, 149*XLEN/8, x14) inst_227: -// rs1_val==6148914691236517205 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x78adf779, 0x5555555555555555, 0xb504f332, x1, 1568, x2) +// rs1_val == 536870912, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x20000000, 0xb504f334, x13, 150*XLEN/8, x14) inst_228: -// rs1_val==6148914691236517205 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555555, 0x5555555555555556, x1, 1576, x2) +// rs1_val == 1073741824, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x40000000, 0xb504f334, x13, 151*XLEN/8, x14) inst_229: -// rs1_val==6148914691236517205 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x5555555555555555, -0x5555555555555555, x1, 1584, x2) +// rs1_val == 2147483648, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x80000000, 0xb504f334, x13, 152*XLEN/8, x14) inst_230: -// rs1_val==6148914691236517205 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e38e38e38, 0x5555555555555555, 0x6, x1, 1592, x2) +// rs1_val == 4294967296, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x100000000, 0xb504f334, x13, 153*XLEN/8, x14) inst_231: -// rs1_val==6148914691236517205 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555555, 0x3333333333333334, x1, 1600, x2) +// rs1_val == 8589934592, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x200000000, 0xb504f334, x13, 154*XLEN/8, x14) inst_232: -// rs1_val==6148914691236517205 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555555, 0x6666666666666667, x1, 1608, x2) +// rs1_val == 17179869184, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5, 0x400000000, 0xb504f334, x13, 155*XLEN/8, x14) inst_233: -// rs1_val==6148914691236517205 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x78adf779, 0x5555555555555555, -0xb504f332, x1, 1616, x2) +// rs1_val == 34359738368, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb, 0x800000000, 0xb504f334, x13, 156*XLEN/8, x14) inst_234: -// rs1_val==6148914691236517205 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555555; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x78adf777, 0x5555555555555555, 0xb504f334, x1, 1624, x2) +// rs1_val == 68719476736, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16, 0x1000000000, 0xb504f334, x13, 157*XLEN/8, x14) inst_235: -// rs1_val==-6148914691236517206 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, -0x1c71c71c71c71c72, -0x5555555555555556, 0x3, x1, 1632, x2) +// rs1_val == 137438953472, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d, 0x2000000000, 0xb504f334, x13, 158*XLEN/8, x14) inst_236: -// rs1_val==-6148914691236517206 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555556, 0x5555555555555555, x1, 1640, x2) +// rs1_val == 274877906944, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a, 0x4000000000, 0xb504f334, x13, 159*XLEN/8, x14) inst_237: -// rs1_val==-6148914691236517206 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x5555555555555556, -0x5555555555555556, x1, 1648, x2) +// rs1_val == 549755813888, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb5, 0x8000000000, 0xb504f334, x13, 160*XLEN/8, x14) inst_238: -// rs1_val==-6148914691236517206 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, -0x1111111111111111, -0x5555555555555556, 0x5, x1, 1656, x2) +// rs1_val == 1099511627776, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16a, 0x10000000000, 0xb504f334, x13, 161*XLEN/8, x14) inst_239: -// rs1_val==-6148914691236517206 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555556, 0x3333333333333333, x1, 1664, x2) +// rs1_val == 2199023255552, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d4, 0x20000000000, 0xb504f334, x13, 162*XLEN/8, x14) inst_240: -// rs1_val==-6148914691236517206 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555556, 0x6666666666666666, x1, 1672, x2) +// rs1_val == 4398046511104, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a8, 0x40000000000, 0xb504f334, x13, 163*XLEN/8, x14) inst_241: -// rs1_val==-6148914691236517206 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x78adf778, -0x5555555555555556, -0xb504f333, x1, 1680, x2) +// rs1_val == 8796093022208, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb50, 0x80000000000, 0xb504f334, x13, 164*XLEN/8, x14) inst_242: -// rs1_val==-6148914691236517206 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x78adf778, -0x5555555555555556, 0xb504f333, x1, 1688, x2) +// rs1_val == 17592186044416, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16a0, 0x100000000000, 0xb504f334, x13, 165*XLEN/8, x14) inst_243: -// rs1_val==-6148914691236517206 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, -0x2aaaaaaaaaaaaaab, -0x5555555555555556, 0x2, x1, 1696, x2) +// rs1_val == 35184372088832, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d41, 0x200000000000, 0xb504f334, x13, 166*XLEN/8, x14) inst_244: -// rs1_val==-6148914691236517206 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555556, 0x5555555555555554, x1, 1704, x2) +// rs1_val == 70368744177664, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a82, 0x400000000000, 0xb504f334, x13, 167*XLEN/8, x14) inst_245: -// rs1_val==-6148914691236517206 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, -0x5555555555555556, 0x0, x1, 1712, x2) +// rs1_val == 140737488355328, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb504, 0x800000000000, 0xb504f334, x13, 168*XLEN/8, x14) inst_246: -// rs1_val==-6148914691236517206 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, -0x1555555555555555, -0x5555555555555556, 0x4, x1, 1720, x2) +// rs1_val == 281474976710656, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16a09, 0x1000000000000, 0xb504f334, x13, 169*XLEN/8, x14) inst_247: -// rs1_val==-6148914691236517206 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555556, 0x3333333333333332, x1, 1728, x2) +// rs1_val == 562949953421312, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d413, 0x2000000000000, 0xb504f334, x13, 170*XLEN/8, x14) inst_248: -// rs1_val==-6148914691236517206 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555556, 0x6666666666666665, x1, 1736, x2) +// rs1_val == 1125899906842624, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a827, 0x4000000000000, 0xb504f334, x13, 171*XLEN/8, x14) inst_249: -// rs1_val==-6148914691236517206 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x78adf779, -0x5555555555555556, 0xb504f332, x1, 1744, x2) +// rs1_val == 2251799813685248, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x8000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb504f, 0x8000000000000, 0xb504f334, x13, 172*XLEN/8, x14) inst_250: -// rs1_val==-6148914691236517206 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555556, 0x5555555555555556, x1, 1752, x2) +// rs1_val == 4503599627370496, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x10000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16a09e, 0x10000000000000, 0xb504f334, x13, 173*XLEN/8, x14) inst_251: -// rs1_val==-6148914691236517206 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x5555555555555556, -0x5555555555555555, x1, 1760, x2) +// rs1_val == 9007199254740992, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x20000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d413c, 0x20000000000000, 0xb504f334, x13, 174*XLEN/8, x14) inst_252: -// rs1_val==-6148914691236517206 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, -0xe38e38e38e38e39, -0x5555555555555556, 0x6, x1, 1768, x2) +// rs1_val == 18014398509481984, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x40000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a8279, 0x40000000000000, 0xb504f334, x13, 175*XLEN/8, x14) inst_253: -// rs1_val==-6148914691236517206 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555556, 0x3333333333333334, x1, 1776, x2) +// rs1_val == 36028797018963968, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x80000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb504f3, 0x80000000000000, 0xb504f334, x13, 176*XLEN/8, x14) inst_254: -// rs1_val==-6148914691236517206 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555556, 0x6666666666666667, x1, 1784, x2) +// rs1_val == 72057594037927936, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x100000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16a09e6, 0x100000000000000, 0xb504f334, x13, 177*XLEN/8, x14) inst_255: -// rs1_val==-6148914691236517206 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x78adf779, -0x5555555555555556, -0xb504f332, x1, 1792, x2) +// rs1_val == 144115188075855872, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x200000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d413cc, 0x200000000000000, 0xb504f334, x13, 178*XLEN/8, x14) inst_256: -// rs1_val==-6148914691236517206 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555556; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, -0x78adf777, -0x5555555555555556, 0xb504f334, x1, 1800, x2) +// rs1_val == 288230376151711744, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x400000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a82799, 0x400000000000000, 0xb504f334, x13, 179*XLEN/8, x14) inst_257: -// rs1_val==5 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5, 0x3, x1, 1808, x2) +// rs1_val == 576460752303423488, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x800000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0xb504f33, 0x800000000000000, 0xb504f334, x13, 180*XLEN/8, x14) inst_258: -// rs1_val==5 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x5555555555555555, x1, 1816, x2) +// rs1_val == 1152921504606846976, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x1000000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x16a09e66, 0x1000000000000000, 0xb504f334, x13, 181*XLEN/8, x14) inst_259: -// rs1_val==5 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0x5555555555555556, x1, 1824, x2) +// rs1_val == 2305843009213693952, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2000000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x2d413ccc, 0x2000000000000000, 0xb504f334, x13, 182*XLEN/8, x14) inst_260: -// rs1_val==5 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5, 0x5, x1, 1832, x2) +// rs1_val == 4611686018427387904, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4000000000000000; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x5a827999, 0x4000000000000000, 0xb504f334, x13, 183*XLEN/8, x14) inst_261: -// rs1_val==5 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x3333333333333333, x1, 1840, x2) +// rs1_val==3 and rs2_val==6148914691236517205, rs2_val == 6148914691236517205 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x5555555555555555, x13, 184*XLEN/8, x14) inst_262: -// rs1_val==5 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x6666666666666666, x1, 1848, x2) +// rs1_val==3 and rs2_val==-6148914691236517206, rs2_val == -6148914691236517206 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0x5555555555555556, x13, 185*XLEN/8, x14) inst_263: -// rs1_val==5 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0xb504f333, x1, 1856, x2) +// rs1_val==3 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x5, x13, 186*XLEN/8, x14) inst_264: -// rs1_val==5 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0xb504f333, x1, 1864, x2) +// rs1_val==3 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x3333333333333333, x13, 187*XLEN/8, x14) inst_265: -// rs1_val==5 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x5, 0x2, x1, 1872, x2) +// rs1_val==3 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x6666666666666666, x13, 188*XLEN/8, x14) inst_266: -// rs1_val==5 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x5555555555555554, x1, 1880, x2) +// rs1_val==3 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0xb504f333, x13, 189*XLEN/8, x14) inst_267: -// rs1_val==5 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x5, 0x0, x1, 1888, x2) +// rs1_val==3 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0xb504f333, x13, 190*XLEN/8, x14) inst_268: -// rs1_val==5 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x3333333333333332, x1, 1896, x2) +// rs1_val==3 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3, 0x2, x13, 191*XLEN/8, x14) inst_269: -// rs1_val==5 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x6666666666666665, x1, 1904, x2) +// rs1_val==3 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x5555555555555554, x13, 192*XLEN/8, x14) inst_270: -// rs1_val==5 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0xb504f332, x1, 1912, x2) +// rs1_val==3 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x3333333333333332, x13, 193*XLEN/8, x14) inst_271: -// rs1_val==5 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x5555555555555556, x1, 1920, x2) +// rs1_val==3 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x6666666666666665, x13, 194*XLEN/8, x14) inst_272: -// rs1_val==5 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0x5555555555555555, x1, 1928, x2) +// rs1_val == 6148914691236517205, rs1_val==6148914691236517205 and rs2_val==3037000500 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x78adf777, 0x5555555555555555, 0xb504f334, x13, 195*XLEN/8, x14) inst_273: -// rs1_val==5 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x6, x1, 1936, x2) +// rs1_val==3 and rs2_val==0, rs2_val == 0 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x3, 0x0, x13, 196*XLEN/8, x14) inst_274: -// rs1_val==5 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x3333333333333334, x1, 1944, x2) +// rs1_val==3 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0xb504f332, x13, 197*XLEN/8, x14) inst_275: -// rs1_val==5 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0x6666666666666667, x1, 1952, x2) +// rs1_val == -6148914691236517206, rs1_val==-6148914691236517206 and rs2_val==3037000500 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x78adf777, -0x5555555555555556, 0xb504f334, x13, 198*XLEN/8, x14) inst_276: -// rs1_val==5 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, -0xb504f332, x1, 1960, x2) +// rs1_val==3 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x4, x13, 199*XLEN/8, x14) inst_277: -// rs1_val==5 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5, 0xb504f334, x1, 1968, x2) +// rs1_val==3 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x5555555555555556, x13, 200*XLEN/8, x14) inst_278: -// rs1_val==3689348814741910323 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111111, 0x3333333333333333, 0x3, x1, 1976, x2) +// rs1_val==3 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0x5555555555555555, x13, 201*XLEN/8, x14) inst_279: -// rs1_val==3689348814741910323 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x5555555555555555, x1, 1984, x2) +// rs1_val==3 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x6, x13, 202*XLEN/8, x14) inst_280: -// rs1_val==3689348814741910323 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, -0x5555555555555556, x1, 1992, x2) +// rs1_val==3 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x3333333333333334, x13, 203*XLEN/8, x14) inst_281: -// rs1_val==3689348814741910323 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xa3d70a3d70a3d70, 0x3333333333333333, 0x5, x1, 2000, x2) +// rs1_val==3 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0x6666666666666667, x13, 204*XLEN/8, x14) inst_282: -// rs1_val==3689348814741910323 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3333333333333333, 0x3333333333333333, x1, 2008, x2) +// rs1_val==3 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, -0xb504f332, x13, 205*XLEN/8, x14) inst_283: -// rs1_val==3689348814741910323 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x6666666666666666, x1, 2016, x2) +// rs1_val==3 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3, 0xb504f334, x13, 206*XLEN/8, x14) inst_284: -// rs1_val==3689348814741910323 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x48686148, 0x3333333333333333, -0xb504f333, x1, 2024, x2) +// rs1_val==6148914691236517205 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1c71c71c71c71c71, 0x5555555555555555, 0x3, x13, 207*XLEN/8, x14) inst_285: -// rs1_val==3689348814741910323 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x48686148, 0x3333333333333333, 0xb504f333, x1, 2032, x2) +// rs1_val==6148914691236517205 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555555, 0x5555555555555555, x13, 208*XLEN/8, x14) inst_286: -// rs1_val==3689348814741910323 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1999999999999999, 0x3333333333333333, 0x2, x1, 2040, x2) -RVTEST_SIGBASE( x1,signature_x1_1) +// rs1_val==6148914691236517205 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555555, -0x5555555555555556, x13, 209*XLEN/8, x14) inst_287: -// rs1_val==3689348814741910323 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x5555555555555554, x1, 0, x2) +// rs1_val==6148914691236517205 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111111, 0x5555555555555555, 0x5, x13, 210*XLEN/8, x14) inst_288: -// rs1_val==3689348814741910323 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x3333333333333333, 0x0, x1, 8, x2) +// rs1_val==6148914691236517205 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555555, 0x3333333333333333, x13, 211*XLEN/8, x14) inst_289: -// rs1_val==3689348814741910323 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xccccccccccccccc, 0x3333333333333333, 0x4, x1, 16, x2) +// rs1_val==6148914691236517205 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555555, 0x6666666666666666, x13, 212*XLEN/8, x14) inst_290: -// rs1_val==3689348814741910323 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3333333333333333, 0x3333333333333332, x1, 24, x2) +// rs1_val==6148914691236517205 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x78adf778, 0x5555555555555555, -0xb504f333, x13, 213*XLEN/8, x14) inst_291: -// rs1_val==3689348814741910323 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x6666666666666665, x1, 32, x2) +// rs1_val==6148914691236517205 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x78adf778, 0x5555555555555555, 0xb504f333, x13, 214*XLEN/8, x14) inst_292: -// rs1_val==3689348814741910323 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x48686148, 0x3333333333333333, 0xb504f332, x1, 40, x2) +// rs1_val==6148914691236517205 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2aaaaaaaaaaaaaaa, 0x5555555555555555, 0x2, x13, 215*XLEN/8, x14) inst_293: -// rs1_val==3689348814741910323 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x5555555555555556, x1, 48, x2) +// rs1_val==6148914691236517205 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555555, 0x5555555555555554, x13, 216*XLEN/8, x14) inst_294: -// rs1_val==3689348814741910323 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, -0x5555555555555555, x1, 56, x2) +// rs1_val==6148914691236517205 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555555, 0x3333333333333332, x13, 217*XLEN/8, x14) inst_295: -// rs1_val==3689348814741910323 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x888888888888888, 0x3333333333333333, 0x6, x1, 64, x2) +// rs1_val==6148914691236517205 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555555, 0x6666666666666665, x13, 218*XLEN/8, x14) inst_296: -// rs1_val==3689348814741910323 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x3333333333333334, x1, 72, x2) +// rs1_val==6148914691236517205 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x5555555555555555, 0x0, x13, 219*XLEN/8, x14) inst_297: -// rs1_val==3689348814741910323 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333333, 0x6666666666666667, x1, 80, x2) +// rs1_val==6148914691236517205 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x78adf779, 0x5555555555555555, 0xb504f332, x13, 220*XLEN/8, x14) inst_298: -// rs1_val==3689348814741910323 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x48686148, 0x3333333333333333, -0xb504f332, x1, 88, x2) +// rs1_val==6148914691236517205 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1555555555555555, 0x5555555555555555, 0x4, x13, 221*XLEN/8, x14) inst_299: -// rs1_val==3689348814741910323 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333333; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x48686147, 0x3333333333333333, 0xb504f334, x1, 96, x2) +// rs1_val==6148914691236517205 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555555, 0x5555555555555556, x13, 222*XLEN/8, x14) inst_300: -// rs1_val==7378697629483820646 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x2222222222222222, 0x6666666666666666, 0x3, x1, 104, x2) +// rs1_val==6148914691236517205 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x5555555555555555, -0x5555555555555555, x13, 223*XLEN/8, x14) inst_301: -// rs1_val==7378697629483820646 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666666, 0x5555555555555555, x1, 112, x2) +// rs1_val==6148914691236517205 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0xe38e38e38e38e38, 0x5555555555555555, 0x6, x13, 224*XLEN/8, x14) inst_302: -// rs1_val==7378697629483820646 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x6666666666666666, -0x5555555555555556, x1, 120, x2) +// rs1_val==6148914691236517205 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555555, 0x3333333333333334, x13, 225*XLEN/8, x14) inst_303: -// rs1_val==7378697629483820646 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x147ae147ae147ae1, 0x6666666666666666, 0x5, x1, 128, x2) +// rs1_val==6148914691236517205 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555555, 0x6666666666666667, x13, 226*XLEN/8, x14) inst_304: -// rs1_val==7378697629483820646 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6666666666666666, 0x3333333333333333, x1, 136, x2) +// rs1_val==6148914691236517205 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555555; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x78adf779, 0x5555555555555555, -0xb504f332, x13, 227*XLEN/8, x14) inst_305: -// rs1_val==7378697629483820646 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666666, 0x6666666666666666, x1, 144, x2) +// rs1_val==-6148914691236517206 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x1c71c71c71c71c72, -0x5555555555555556, 0x3, x13, 228*XLEN/8, x14) inst_306: -// rs1_val==7378697629483820646 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x90d0c290, 0x6666666666666666, -0xb504f333, x1, 152, x2) +// rs1_val==-6148914691236517206 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555556, 0x5555555555555555, x13, 229*XLEN/8, x14) inst_307: -// rs1_val==7378697629483820646 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c290, 0x6666666666666666, 0xb504f333, x1, 160, x2) +// rs1_val==-6148914691236517206 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0x5555555555555556, -0x5555555555555556, x13, 230*XLEN/8, x14) inst_308: -// rs1_val==7378697629483820646 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x3333333333333333, 0x6666666666666666, 0x2, x1, 168, x2) +// rs1_val==-6148914691236517206 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x1111111111111111, -0x5555555555555556, 0x5, x13, 231*XLEN/8, x14) inst_309: -// rs1_val==7378697629483820646 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666666, 0x5555555555555554, x1, 176, x2) +// rs1_val==-6148914691236517206 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555556, 0x3333333333333333, x13, 232*XLEN/8, x14) inst_310: -// rs1_val==7378697629483820646 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x6666666666666666, 0x0, x1, 184, x2) +// rs1_val==-6148914691236517206 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555556, 0x6666666666666666, x13, 233*XLEN/8, x14) inst_311: -// rs1_val==7378697629483820646 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1999999999999999, 0x6666666666666666, 0x4, x1, 192, x2) +// rs1_val==-6148914691236517206 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x78adf778, -0x5555555555555556, -0xb504f333, x13, 234*XLEN/8, x14) inst_312: -// rs1_val==7378697629483820646 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6666666666666666, 0x3333333333333332, x1, 200, x2) +// rs1_val==-6148914691236517206 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x78adf778, -0x5555555555555556, 0xb504f333, x13, 235*XLEN/8, x14) inst_313: -// rs1_val==7378697629483820646 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666666, 0x6666666666666665, x1, 208, x2) +// rs1_val==-6148914691236517206 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x2aaaaaaaaaaaaaab, -0x5555555555555556, 0x2, x13, 236*XLEN/8, x14) inst_314: -// rs1_val==7378697629483820646 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c291, 0x6666666666666666, 0xb504f332, x1, 216, x2) +// rs1_val==-6148914691236517206 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555556, 0x5555555555555554, x13, 237*XLEN/8, x14) inst_315: -// rs1_val==7378697629483820646 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666666, 0x5555555555555556, x1, 224, x2) +// rs1_val==-6148914691236517206 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555556, 0x3333333333333332, x13, 238*XLEN/8, x14) inst_316: -// rs1_val==7378697629483820646 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x6666666666666666, -0x5555555555555555, x1, 232, x2) +// rs1_val==-6148914691236517206 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555556, 0x6666666666666665, x13, 239*XLEN/8, x14) inst_317: -// rs1_val==7378697629483820646 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111111, 0x6666666666666666, 0x6, x1, 240, x2) +// rs1_val==-6148914691236517206 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, -0x5555555555555556, 0x0, x13, 240*XLEN/8, x14) inst_318: -// rs1_val==7378697629483820646 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666666, 0x3333333333333334, x1, 248, x2) +// rs1_val==-6148914691236517206 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x78adf779, -0x5555555555555556, 0xb504f332, x13, 241*XLEN/8, x14) inst_319: -// rs1_val==7378697629483820646 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6666666666666666, 0x6666666666666667, x1, 256, x2) +// rs1_val==-6148914691236517206 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x1555555555555555, -0x5555555555555556, 0x4, x13, 242*XLEN/8, x14) inst_320: -// rs1_val==7378697629483820646 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x90d0c291, 0x6666666666666666, -0xb504f332, x1, 264, x2) +// rs1_val==-6148914691236517206 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555556, 0x5555555555555556, x13, 243*XLEN/8, x14) inst_321: -// rs1_val==7378697629483820646 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c28f, 0x6666666666666666, 0xb504f334, x1, 272, x2) +// rs1_val==-6148914691236517206 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0x5555555555555556, -0x5555555555555555, x13, 244*XLEN/8, x14) inst_322: -// rs1_val==-3037000499 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, -0x3c56fbbb, -0xb504f333, 0x3, x1, 280, x2) +// rs1_val==-6148914691236517206 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0xe38e38e38e38e39, -0x5555555555555556, 0x6, x13, 245*XLEN/8, x14) inst_323: -// rs1_val==-3037000499 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x5555555555555555, x1, 288, x2) +// rs1_val==-6148914691236517206 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555556, 0x3333333333333334, x13, 246*XLEN/8, x14) inst_324: -// rs1_val==-3037000499 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, -0x5555555555555556, x1, 296, x2) +// rs1_val==-6148914691236517206 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555556, 0x6666666666666667, x13, 247*XLEN/8, x14) inst_325: -// rs1_val==-3037000499 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, -0x243430a3, -0xb504f333, 0x5, x1, 304, x2) +// rs1_val==-6148914691236517206 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555556; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x78adf779, -0x5555555555555556, -0xb504f332, x13, 248*XLEN/8, x14) inst_326: -// rs1_val==-3037000499 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x3333333333333333, x1, 312, x2) +// rs1_val==5 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5, 0x3, x13, 249*XLEN/8, x14) inst_327: -// rs1_val==-3037000499 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x6666666666666666, x1, 320, x2) +// rs1_val==5 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x5555555555555555, x13, 250*XLEN/8, x14) inst_328: -// rs1_val==-3037000499 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0xb504f333, -0xb504f333, x1, 328, x2) +// rs1_val==5 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0x5555555555555556, x13, 251*XLEN/8, x14) inst_329: -// rs1_val==-3037000499 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0xb504f333, 0xb504f333, x1, 336, x2) +// rs1_val==5 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5, 0x5, x13, 252*XLEN/8, x14) inst_330: -// rs1_val==-3037000499 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, -0x5a827999, -0xb504f333, 0x2, x1, 344, x2) +// rs1_val==5 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x3333333333333333, x13, 253*XLEN/8, x14) inst_331: -// rs1_val==-3037000499 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x5555555555555554, x1, 352, x2) +// rs1_val==5 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x6666666666666666, x13, 254*XLEN/8, x14) inst_332: -// rs1_val==-3037000499 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, -0xb504f333, 0x0, x1, 360, x2) +// rs1_val==5 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0xb504f333, x13, 255*XLEN/8, x14) +RVTEST_SIGBASE(x13,signature_x13_1) inst_333: -// rs1_val==-3037000499 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, -0x2d413ccc, -0xb504f333, 0x4, x1, 368, x2) +// rs1_val==5 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0xb504f333, x13, 0*XLEN/8, x14) inst_334: -// rs1_val==-3037000499 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x3333333333333332, x1, 376, x2) +// rs1_val==5 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x5, 0x2, x13, 1*XLEN/8, x14) inst_335: -// rs1_val==-3037000499 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x6666666666666665, x1, 384, x2) +// rs1_val==5 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x5555555555555554, x13, 2*XLEN/8, x14) inst_336: -// rs1_val==-3037000499 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0xb504f333, 0xb504f332, x1, 392, x2) +// rs1_val==5 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x3333333333333332, x13, 3*XLEN/8, x14) inst_337: -// rs1_val==-3037000499 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x5555555555555556, x1, 400, x2) +// rs1_val==5 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x6666666666666665, x13, 4*XLEN/8, x14) inst_338: -// rs1_val==-3037000499 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, -0x5555555555555555, x1, 408, x2) +// rs1_val==5 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x5, 0x0, x13, 5*XLEN/8, x14) inst_339: -// rs1_val==-3037000499 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, -0x1e2b7ddd, -0xb504f333, 0x6, x1, 416, x2) +// rs1_val==5 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0xb504f332, x13, 6*XLEN/8, x14) inst_340: -// rs1_val==-3037000499 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x3333333333333334, x1, 424, x2) +// rs1_val==5 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5, 0x4, x13, 7*XLEN/8, x14) inst_341: -// rs1_val==-3037000499 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0x6666666666666667, x1, 432, x2) +// rs1_val==5 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x5555555555555556, x13, 8*XLEN/8, x14) inst_342: -// rs1_val==-3037000499 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0xb504f333, -0xb504f332, x1, 440, x2) +// rs1_val==5 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0x5555555555555555, x13, 9*XLEN/8, x14) inst_343: -// rs1_val==-3037000499 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f333; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f333, 0xb504f334, x1, 448, x2) +// rs1_val==5 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x6, x13, 10*XLEN/8, x14) inst_344: -// rs1_val==3037000499 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x3c56fbbb, 0xb504f333, 0x3, x1, 456, x2) +// rs1_val==5 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x3333333333333334, x13, 11*XLEN/8, x14) inst_345: -// rs1_val==3037000499 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x5555555555555555, x1, 464, x2) +// rs1_val==5 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0x6666666666666667, x13, 12*XLEN/8, x14) inst_346: -// rs1_val==3037000499 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, -0x5555555555555556, x1, 472, x2) +// rs1_val==5 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, -0xb504f332, x13, 13*XLEN/8, x14) inst_347: -// rs1_val==3037000499 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x243430a3, 0xb504f333, 0x5, x1, 480, x2) +// rs1_val==5 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5, 0xb504f334, x13, 14*XLEN/8, x14) inst_348: -// rs1_val==3037000499 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x3333333333333333, x1, 488, x2) +// rs1_val==3689348814741910323 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111111, 0x3333333333333333, 0x3, x13, 15*XLEN/8, x14) inst_349: -// rs1_val==3037000499 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x6666666666666666, x1, 496, x2) +// rs1_val==3689348814741910323 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x5555555555555555, x13, 16*XLEN/8, x14) inst_350: -// rs1_val==3037000499 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0xb504f333, -0xb504f333, x1, 504, x2) +// rs1_val==3689348814741910323 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, -0x5555555555555556, x13, 17*XLEN/8, x14) inst_351: -// rs1_val==3037000499 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504f333, 0xb504f333, x1, 512, x2) +// rs1_val==3689348814741910323 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0xa3d70a3d70a3d70, 0x3333333333333333, 0x5, x13, 18*XLEN/8, x14) inst_352: -// rs1_val==3037000499 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x5a827999, 0xb504f333, 0x2, x1, 520, x2) +// rs1_val==3689348814741910323 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3333333333333333, 0x3333333333333333, x13, 19*XLEN/8, x14) inst_353: -// rs1_val==3037000499 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x5555555555555554, x1, 528, x2) +// rs1_val==3689348814741910323 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x6666666666666666, x13, 20*XLEN/8, x14) inst_354: -// rs1_val==3037000499 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0xb504f333, 0x0, x1, 536, x2) +// rs1_val==3689348814741910323 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x48686148, 0x3333333333333333, -0xb504f333, x13, 21*XLEN/8, x14) inst_355: -// rs1_val==3037000499 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x2d413ccc, 0xb504f333, 0x4, x1, 544, x2) +// rs1_val==3689348814741910323 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x48686148, 0x3333333333333333, 0xb504f333, x13, 22*XLEN/8, x14) inst_356: -// rs1_val==3037000499 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x3333333333333332, x1, 552, x2) +// rs1_val==3689348814741910323 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1999999999999999, 0x3333333333333333, 0x2, x13, 23*XLEN/8, x14) inst_357: -// rs1_val==3037000499 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x6666666666666665, x1, 560, x2) +// rs1_val==3689348814741910323 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x5555555555555554, x13, 24*XLEN/8, x14) inst_358: -// rs1_val==3037000499 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504f333, 0xb504f332, x1, 568, x2) +// rs1_val==3689348814741910323 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3333333333333333, 0x3333333333333332, x13, 25*XLEN/8, x14) inst_359: -// rs1_val==3037000499 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x5555555555555556, x1, 576, x2) +// rs1_val==3689348814741910323 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x6666666666666665, x13, 26*XLEN/8, x14) inst_360: -// rs1_val==3037000499 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, -0x5555555555555555, x1, 584, x2) +// rs1_val==3689348814741910323 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x3333333333333333, 0x0, x13, 27*XLEN/8, x14) inst_361: -// rs1_val==3037000499 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1e2b7ddd, 0xb504f333, 0x6, x1, 592, x2) +// rs1_val==3689348814741910323 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x48686148, 0x3333333333333333, 0xb504f332, x13, 28*XLEN/8, x14) inst_362: -// rs1_val==3037000499 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x3333333333333334, x1, 600, x2) +// rs1_val==3689348814741910323 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0xccccccccccccccc, 0x3333333333333333, 0x4, x13, 29*XLEN/8, x14) inst_363: -// rs1_val==3037000499 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0x6666666666666667, x1, 608, x2) +// rs1_val==3689348814741910323 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x5555555555555556, x13, 30*XLEN/8, x14) inst_364: -// rs1_val==3037000499 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0xb504f333, -0xb504f332, x1, 616, x2) +// rs1_val==3689348814741910323 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, -0x5555555555555555, x13, 31*XLEN/8, x14) inst_365: -// rs1_val==3037000499 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f333; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f333, 0xb504f334, x1, 624, x2) +// rs1_val==3689348814741910323 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x888888888888888, 0x3333333333333333, 0x6, x13, 32*XLEN/8, x14) inst_366: -// rs1_val==2 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x3, x1, 632, x2) +// rs1_val==3689348814741910323 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x3333333333333334, x13, 33*XLEN/8, x14) inst_367: -// rs1_val==2 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x5555555555555555, x1, 640, x2) +// rs1_val==3689348814741910323 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333333, 0x6666666666666667, x13, 34*XLEN/8, x14) inst_368: -// rs1_val==2 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0x5555555555555556, x1, 648, x2) +// rs1_val==3689348814741910323 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x48686148, 0x3333333333333333, -0xb504f332, x13, 35*XLEN/8, x14) inst_369: -// rs1_val==2 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x5, x1, 656, x2) +// rs1_val==3689348814741910323 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333333; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x48686147, 0x3333333333333333, 0xb504f334, x13, 36*XLEN/8, x14) inst_370: -// rs1_val==2 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x3333333333333333, x1, 664, x2) +// rs1_val==7378697629483820646 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x2222222222222222, 0x6666666666666666, 0x3, x13, 37*XLEN/8, x14) inst_371: -// rs1_val==2 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x6666666666666666, x1, 672, x2) +// rs1_val==7378697629483820646 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666666, 0x5555555555555555, x13, 38*XLEN/8, x14) inst_372: -// rs1_val==2 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0xb504f333, x1, 680, x2) +// rs1_val==7378697629483820646 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x6666666666666666, -0x5555555555555556, x13, 39*XLEN/8, x14) inst_373: -// rs1_val==2 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0xb504f333, x1, 688, x2) +// rs1_val==7378697629483820646 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x147ae147ae147ae1, 0x6666666666666666, 0x5, x13, 40*XLEN/8, x14) inst_374: -// rs1_val==2 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x2, 0x2, x1, 696, x2) +// rs1_val==7378697629483820646 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6666666666666666, 0x3333333333333333, x13, 41*XLEN/8, x14) inst_375: -// rs1_val==2 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x5555555555555554, x1, 704, x2) +// rs1_val==7378697629483820646 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666666, 0x6666666666666666, x13, 42*XLEN/8, x14) inst_376: -// rs1_val==2 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x2, 0x0, x1, 712, x2) +// rs1_val==7378697629483820646 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x90d0c290, 0x6666666666666666, -0xb504f333, x13, 43*XLEN/8, x14) inst_377: -// rs1_val==2 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x4, x1, 720, x2) +// rs1_val==7378697629483820646 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c290, 0x6666666666666666, 0xb504f333, x13, 44*XLEN/8, x14) inst_378: -// rs1_val==2 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x3333333333333332, x1, 728, x2) +// rs1_val==7378697629483820646 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x3333333333333333, 0x6666666666666666, 0x2, x13, 45*XLEN/8, x14) inst_379: -// rs1_val==2 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x6666666666666665, x1, 736, x2) +// rs1_val==7378697629483820646 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666666, 0x5555555555555554, x13, 46*XLEN/8, x14) inst_380: -// rs1_val==2 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0xb504f332, x1, 744, x2) +// rs1_val==7378697629483820646 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6666666666666666, 0x3333333333333332, x13, 47*XLEN/8, x14) inst_381: -// rs1_val==2 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x5555555555555556, x1, 752, x2) +// rs1_val==7378697629483820646 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666666, 0x6666666666666665, x13, 48*XLEN/8, x14) inst_382: -// rs1_val==2 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0x5555555555555555, x1, 760, x2) +// rs1_val==7378697629483820646 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x6666666666666666, 0x0, x13, 49*XLEN/8, x14) inst_383: -// rs1_val==2 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x6, x1, 768, x2) +// rs1_val==7378697629483820646 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c291, 0x6666666666666666, 0xb504f332, x13, 50*XLEN/8, x14) inst_384: -// rs1_val==2 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x3333333333333334, x1, 776, x2) +// rs1_val==7378697629483820646 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1999999999999999, 0x6666666666666666, 0x4, x13, 51*XLEN/8, x14) inst_385: -// rs1_val==2 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0x6666666666666667, x1, 784, x2) +// rs1_val==7378697629483820646 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666666, 0x5555555555555556, x13, 52*XLEN/8, x14) inst_386: -// rs1_val==2 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, -0xb504f332, x1, 792, x2) +// rs1_val==7378697629483820646 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x6666666666666666, -0x5555555555555555, x13, 53*XLEN/8, x14) inst_387: -// rs1_val==2 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x2; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x2, 0xb504f334, x1, 800, x2) +// rs1_val==7378697629483820646 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111111, 0x6666666666666666, 0x6, x13, 54*XLEN/8, x14) inst_388: -// rs1_val==6148914691236517204 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c71c71c71, 0x5555555555555554, 0x3, x1, 808, x2) +// rs1_val==7378697629483820646 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666666, 0x3333333333333334, x13, 55*XLEN/8, x14) inst_389: -// rs1_val==6148914691236517204 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, 0x5555555555555555, x1, 816, x2) +// rs1_val==7378697629483820646 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6666666666666666, 0x6666666666666667, x13, 56*XLEN/8, x14) inst_390: -// rs1_val==6148914691236517204 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, -0x5555555555555556, x1, 824, x2) +// rs1_val==7378697629483820646 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x90d0c291, 0x6666666666666666, -0xb504f332, x13, 57*XLEN/8, x14) inst_391: -// rs1_val==6148914691236517204 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111110, 0x5555555555555554, 0x5, x1, 832, x2) +// rs1_val==7378697629483820646 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666666; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c28f, 0x6666666666666666, 0xb504f334, x13, 58*XLEN/8, x14) inst_392: -// rs1_val==6148914691236517204 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555554, 0x3333333333333333, x1, 840, x2) +// rs1_val==-3037000499 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x3c56fbbb, -0xb504f333, 0x3, x13, 59*XLEN/8, x14) inst_393: -// rs1_val==6148914691236517204 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, 0x6666666666666666, x1, 848, x2) +// rs1_val==-3037000499 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x5555555555555555, x13, 60*XLEN/8, x14) inst_394: -// rs1_val==6148914691236517204 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x78adf778, 0x5555555555555554, -0xb504f333, x1, 856, x2) +// rs1_val==-3037000499 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, -0x5555555555555556, x13, 61*XLEN/8, x14) inst_395: -// rs1_val==6148914691236517204 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x78adf778, 0x5555555555555554, 0xb504f333, x1, 864, x2) +// rs1_val==-3037000499 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x243430a3, -0xb504f333, 0x5, x13, 62*XLEN/8, x14) inst_396: -// rs1_val==6148914691236517204 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2aaaaaaaaaaaaaaa, 0x5555555555555554, 0x2, x1, 872, x2) +// rs1_val==-3037000499 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x3333333333333333, x13, 63*XLEN/8, x14) inst_397: -// rs1_val==6148914691236517204 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555554, 0x5555555555555554, x1, 880, x2) +// rs1_val==-3037000499 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x6666666666666666, x13, 64*XLEN/8, x14) inst_398: -// rs1_val==6148914691236517204 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x5555555555555554, 0x0, x1, 888, x2) +// rs1_val==-3037000499 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0xb504f333, -0xb504f333, x13, 65*XLEN/8, x14) inst_399: -// rs1_val==6148914691236517204 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1555555555555555, 0x5555555555555554, 0x4, x1, 896, x2) +// rs1_val==-3037000499 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0xb504f333, 0xb504f333, x13, 66*XLEN/8, x14) inst_400: -// rs1_val==6148914691236517204 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555554, 0x3333333333333332, x1, 904, x2) +// rs1_val==-3037000499 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x5a827999, -0xb504f333, 0x2, x13, 67*XLEN/8, x14) inst_401: -// rs1_val==6148914691236517204 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, 0x6666666666666665, x1, 912, x2) +// rs1_val==-3037000499 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x5555555555555554, x13, 68*XLEN/8, x14) inst_402: -// rs1_val==6148914691236517204 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x78adf779, 0x5555555555555554, 0xb504f332, x1, 920, x2) +// rs1_val==-3037000499 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x3333333333333332, x13, 69*XLEN/8, x14) inst_403: -// rs1_val==6148914691236517204 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, 0x5555555555555556, x1, 928, x2) +// rs1_val==-3037000499 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x6666666666666665, x13, 70*XLEN/8, x14) inst_404: -// rs1_val==6148914691236517204 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, -0x5555555555555555, x1, 936, x2) +// rs1_val==-3037000499 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, -0xb504f333, 0x0, x13, 71*XLEN/8, x14) inst_405: -// rs1_val==6148914691236517204 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e38e38e38, 0x5555555555555554, 0x6, x1, 944, x2) +// rs1_val==-3037000499 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0xb504f333, 0xb504f332, x13, 72*XLEN/8, x14) inst_406: -// rs1_val==6148914691236517204 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555554, 0x3333333333333334, x1, 952, x2) +// rs1_val==-3037000499 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x2d413ccc, -0xb504f333, 0x4, x13, 73*XLEN/8, x14) inst_407: -// rs1_val==6148914691236517204 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555554, 0x6666666666666667, x1, 960, x2) +// rs1_val==-3037000499 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x5555555555555556, x13, 74*XLEN/8, x14) inst_408: -// rs1_val==6148914691236517204 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x78adf779, 0x5555555555555554, -0xb504f332, x1, 968, x2) +// rs1_val==-3037000499 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, -0x5555555555555555, x13, 75*XLEN/8, x14) inst_409: -// rs1_val==6148914691236517204 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555554; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x78adf777, 0x5555555555555554, 0xb504f334, x1, 976, x2) +// rs1_val==-3037000499 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0x1e2b7ddd, -0xb504f333, 0x6, x13, 76*XLEN/8, x14) inst_410: -// rs1_val==0 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x3, x1, 984, x2) +// rs1_val==-3037000499 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x3333333333333334, x13, 77*XLEN/8, x14) inst_411: -// rs1_val==0 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x5555555555555555, x1, 992, x2) +// rs1_val==-3037000499 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0x6666666666666667, x13, 78*XLEN/8, x14) inst_412: -// rs1_val==0 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0x5555555555555556, x1, 1000, x2) +// rs1_val==-3037000499 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0xb504f333, -0xb504f332, x13, 79*XLEN/8, x14) inst_413: -// rs1_val==0 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x5, x1, 1008, x2) +// rs1_val==-3037000499 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f333; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f333, 0xb504f334, x13, 80*XLEN/8, x14) inst_414: -// rs1_val==0 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x3333333333333333, x1, 1016, x2) +// rs1_val==3037000499 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x3c56fbbb, 0xb504f333, 0x3, x13, 81*XLEN/8, x14) inst_415: -// rs1_val==0 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x6666666666666666, x1, 1024, x2) +// rs1_val==3037000499 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x5555555555555555, x13, 82*XLEN/8, x14) inst_416: -// rs1_val==0 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0xb504f333, x1, 1032, x2) +// rs1_val==3037000499 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, -0x5555555555555556, x13, 83*XLEN/8, x14) inst_417: -// rs1_val==0 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0xb504f333, x1, 1040, x2) +// rs1_val==3037000499 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x243430a3, 0xb504f333, 0x5, x13, 84*XLEN/8, x14) inst_418: -// rs1_val==0 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0xb504f332, x1, 1048, x2) +// rs1_val==3037000499 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x3333333333333333, x13, 85*XLEN/8, x14) inst_419: -// rs1_val==0 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0xb504f334, x1, 1056, x2) +// rs1_val==3037000499 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x6666666666666666, x13, 86*XLEN/8, x14) inst_420: -// rs1_val==4 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x4, 0x3, x1, 1064, x2) +// rs1_val==3037000499 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504f333, -0xb504f333, x13, 87*XLEN/8, x14) inst_421: -// rs1_val==4 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x5555555555555555, x1, 1072, x2) +// rs1_val==3037000499 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f333, 0xb504f333, x13, 88*XLEN/8, x14) inst_422: -// rs1_val==4 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0x5555555555555556, x1, 1080, x2) +// rs1_val==3037000499 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x5a827999, 0xb504f333, 0x2, x13, 89*XLEN/8, x14) inst_423: -// rs1_val==4 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x5, x1, 1088, x2) +// rs1_val==3037000499 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x5555555555555554, x13, 90*XLEN/8, x14) inst_424: -// rs1_val==4 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x3333333333333333, x1, 1096, x2) +// rs1_val==3037000499 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x3333333333333332, x13, 91*XLEN/8, x14) inst_425: -// rs1_val==4 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x6666666666666666, x1, 1104, x2) +// rs1_val==3037000499 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x6666666666666665, x13, 92*XLEN/8, x14) inst_426: -// rs1_val==4 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0xb504f333, x1, 1112, x2) +// rs1_val==3037000499 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0xb504f333, 0x0, x13, 93*XLEN/8, x14) inst_427: -// rs1_val==4 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0xb504f333, x1, 1120, x2) +// rs1_val==3037000499 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f333, 0xb504f332, x13, 94*XLEN/8, x14) inst_428: -// rs1_val==4 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x4, 0x2, x1, 1128, x2) +// rs1_val==3037000499 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x2d413ccc, 0xb504f333, 0x4, x13, 95*XLEN/8, x14) inst_429: -// rs1_val==4 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x5555555555555554, x1, 1136, x2) +// rs1_val==3037000499 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x5555555555555556, x13, 96*XLEN/8, x14) inst_430: -// rs1_val==4 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x4, 0x0, x1, 1144, x2) +// rs1_val==3037000499 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, -0x5555555555555555, x13, 97*XLEN/8, x14) inst_431: -// rs1_val==4 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x4, 0x4, x1, 1152, x2) +// rs1_val==3037000499 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1e2b7ddd, 0xb504f333, 0x6, x13, 98*XLEN/8, x14) inst_432: -// rs1_val==4 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x3333333333333332, x1, 1160, x2) +// rs1_val==3037000499 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x3333333333333334, x13, 99*XLEN/8, x14) inst_433: -// rs1_val==4 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x6666666666666665, x1, 1168, x2) +// rs1_val==3037000499 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0x6666666666666667, x13, 100*XLEN/8, x14) inst_434: -// rs1_val==4 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0xb504f332, x1, 1176, x2) +// rs1_val==3037000499 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504f333, -0xb504f332, x13, 101*XLEN/8, x14) inst_435: -// rs1_val==4 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x5555555555555556, x1, 1184, x2) +// rs1_val==3037000499 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f333; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f333, 0xb504f334, x13, 102*XLEN/8, x14) inst_436: -// rs1_val==4 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0x5555555555555555, x1, 1192, x2) +// rs1_val==2 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x3, x13, 103*XLEN/8, x14) inst_437: -// rs1_val==4 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x6, x1, 1200, x2) +// rs1_val==2 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x5555555555555555, x13, 104*XLEN/8, x14) inst_438: -// rs1_val==4 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x3333333333333334, x1, 1208, x2) +// rs1_val==2 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0x5555555555555556, x13, 105*XLEN/8, x14) inst_439: -// rs1_val==4 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0x6666666666666667, x1, 1216, x2) +// rs1_val==2 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x5, x13, 106*XLEN/8, x14) inst_440: -// rs1_val==4 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, -0xb504f332, x1, 1224, x2) +// rs1_val==2 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x3333333333333333, x13, 107*XLEN/8, x14) inst_441: -// rs1_val==4 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x4; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x4, 0xb504f334, x1, 1232, x2) +// rs1_val==2 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x6666666666666666, x13, 108*XLEN/8, x14) inst_442: -// rs1_val==3689348814741910322 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111110, 0x3333333333333332, 0x3, x1, 1240, x2) +// rs1_val==2 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0xb504f333, x13, 109*XLEN/8, x14) inst_443: -// rs1_val==3689348814741910322 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x5555555555555555, x1, 1248, x2) +// rs1_val==2 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0xb504f333, x13, 110*XLEN/8, x14) inst_444: -// rs1_val==3689348814741910322 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, -0x5555555555555556, x1, 1256, x2) +// rs1_val==2 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x2, 0x2, x13, 111*XLEN/8, x14) inst_445: -// rs1_val==3689348814741910322 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xa3d70a3d70a3d70, 0x3333333333333332, 0x5, x1, 1264, x2) +// rs1_val==2 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x5555555555555554, x13, 112*XLEN/8, x14) inst_446: -// rs1_val==3689348814741910322 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x3333333333333333, x1, 1272, x2) +// rs1_val==2 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x3333333333333332, x13, 113*XLEN/8, x14) inst_447: -// rs1_val==3689348814741910322 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x6666666666666666, x1, 1280, x2) +// rs1_val==2 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x6666666666666665, x13, 114*XLEN/8, x14) inst_448: -// rs1_val==3689348814741910322 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x48686148, 0x3333333333333332, -0xb504f333, x1, 1288, x2) +// rs1_val==2 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x2, 0x0, x13, 115*XLEN/8, x14) inst_449: -// rs1_val==3689348814741910322 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x48686148, 0x3333333333333332, 0xb504f333, x1, 1296, x2) +// rs1_val==2 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0xb504f332, x13, 116*XLEN/8, x14) inst_450: -// rs1_val==3689348814741910322 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x1999999999999999, 0x3333333333333332, 0x2, x1, 1304, x2) +// rs1_val==2 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x4, x13, 117*XLEN/8, x14) inst_451: -// rs1_val==3689348814741910322 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x5555555555555554, x1, 1312, x2) +// rs1_val==2 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x5555555555555556, x13, 118*XLEN/8, x14) inst_452: -// rs1_val==3689348814741910322 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x3333333333333332, 0x0, x1, 1320, x2) +// rs1_val==2 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0x5555555555555555, x13, 119*XLEN/8, x14) inst_453: -// rs1_val==3689348814741910322 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xccccccccccccccc, 0x3333333333333332, 0x4, x1, 1328, x2) +// rs1_val==2 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x6, x13, 120*XLEN/8, x14) inst_454: -// rs1_val==3689348814741910322 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3333333333333332, 0x3333333333333332, x1, 1336, x2) +// rs1_val==2 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x3333333333333334, x13, 121*XLEN/8, x14) inst_455: -// rs1_val==3689348814741910322 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x6666666666666665, x1, 1344, x2) +// rs1_val==2 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, 0x6666666666666667, x13, 122*XLEN/8, x14) inst_456: -// rs1_val==3689348814741910322 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x48686148, 0x3333333333333332, 0xb504f332, x1, 1352, x2) +// rs1_val==2 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x2, -0xb504f332, x13, 123*XLEN/8, x14) inst_457: -// rs1_val==3689348814741910322 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x5555555555555556, x1, 1360, x2) +// rs1_val==6148914691236517204 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1c71c71c71c71c71, 0x5555555555555554, 0x3, x13, 124*XLEN/8, x14) inst_458: -// rs1_val==3689348814741910322 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, -0x5555555555555555, x1, 1368, x2) +// rs1_val==6148914691236517204 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, 0x5555555555555555, x13, 125*XLEN/8, x14) inst_459: -// rs1_val==3689348814741910322 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x888888888888888, 0x3333333333333332, 0x6, x1, 1376, x2) +// rs1_val==6148914691236517204 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, -0x5555555555555556, x13, 126*XLEN/8, x14) inst_460: -// rs1_val==3689348814741910322 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x3333333333333334, x1, 1384, x2) +// rs1_val==6148914691236517204 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111110, 0x5555555555555554, 0x5, x13, 127*XLEN/8, x14) inst_461: -// rs1_val==3689348814741910322 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333332, 0x6666666666666667, x1, 1392, x2) +// rs1_val==6148914691236517204 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555554, 0x3333333333333333, x13, 128*XLEN/8, x14) inst_462: -// rs1_val==3689348814741910322 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x48686148, 0x3333333333333332, -0xb504f332, x1, 1400, x2) +// rs1_val==6148914691236517204 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, 0x6666666666666666, x13, 129*XLEN/8, x14) inst_463: -// rs1_val==3689348814741910322 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333332; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x48686147, 0x3333333333333332, 0xb504f334, x1, 1408, x2) +// rs1_val==6148914691236517204 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x78adf778, 0x5555555555555554, -0xb504f333, x13, 130*XLEN/8, x14) inst_464: -// rs1_val==7378697629483820645 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x2222222222222221, 0x6666666666666665, 0x3, x1, 1416, x2) +// rs1_val==6148914691236517204 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x78adf778, 0x5555555555555554, 0xb504f333, x13, 131*XLEN/8, x14) inst_465: -// rs1_val==7378697629483820645 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666665, 0x5555555555555555, x1, 1424, x2) +// rs1_val==6148914691236517204 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2aaaaaaaaaaaaaaa, 0x5555555555555554, 0x2, x13, 132*XLEN/8, x14) inst_466: -// rs1_val==7378697629483820645 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x6666666666666665, -0x5555555555555556, x1, 1432, x2) +// rs1_val==6148914691236517204 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555554, 0x5555555555555554, x13, 133*XLEN/8, x14) inst_467: -// rs1_val==7378697629483820645 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x147ae147ae147ae1, 0x6666666666666665, 0x5, x1, 1440, x2) +// rs1_val==6148914691236517204 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555554, 0x3333333333333332, x13, 134*XLEN/8, x14) inst_468: -// rs1_val==7378697629483820645 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666665, 0x3333333333333333, x1, 1448, x2) +// rs1_val==6148914691236517204 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, 0x6666666666666665, x13, 135*XLEN/8, x14) inst_469: -// rs1_val==7378697629483820645 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6666666666666665, 0x6666666666666666, x1, 1456, x2) +// rs1_val==6148914691236517204 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x5555555555555554, 0x0, x13, 136*XLEN/8, x14) inst_470: -// rs1_val==7378697629483820645 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x90d0c290, 0x6666666666666665, -0xb504f333, x1, 1464, x2) +// rs1_val==6148914691236517204 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x78adf779, 0x5555555555555554, 0xb504f332, x13, 137*XLEN/8, x14) inst_471: -// rs1_val==7378697629483820645 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c290, 0x6666666666666665, 0xb504f333, x1, 1472, x2) +// rs1_val==6148914691236517204 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1555555555555555, 0x5555555555555554, 0x4, x13, 138*XLEN/8, x14) inst_472: -// rs1_val==7378697629483820645 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x3333333333333332, 0x6666666666666665, 0x2, x1, 1480, x2) +// rs1_val==6148914691236517204 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, 0x5555555555555556, x13, 139*XLEN/8, x14) inst_473: -// rs1_val==7378697629483820645 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666665, 0x5555555555555554, x1, 1488, x2) +// rs1_val==6148914691236517204 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, -0x5555555555555555, x13, 140*XLEN/8, x14) inst_474: -// rs1_val==7378697629483820645 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x6666666666666665, 0x0, x1, 1496, x2) +// rs1_val==6148914691236517204 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0xe38e38e38e38e38, 0x5555555555555554, 0x6, x13, 141*XLEN/8, x14) inst_475: -// rs1_val==7378697629483820645 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1999999999999999, 0x6666666666666665, 0x4, x1, 1504, x2) +// rs1_val==6148914691236517204 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555554, 0x3333333333333334, x13, 142*XLEN/8, x14) inst_476: -// rs1_val==7378697629483820645 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6666666666666665, 0x3333333333333332, x1, 1512, x2) +// rs1_val==6148914691236517204 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555554, 0x6666666666666667, x13, 143*XLEN/8, x14) inst_477: -// rs1_val==7378697629483820645 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666665, 0x6666666666666665, x1, 1520, x2) +// rs1_val==6148914691236517204 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x78adf779, 0x5555555555555554, -0xb504f332, x13, 144*XLEN/8, x14) inst_478: -// rs1_val==7378697629483820645 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c291, 0x6666666666666665, 0xb504f332, x1, 1528, x2) +// rs1_val==6148914691236517204 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555554; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x78adf777, 0x5555555555555554, 0xb504f334, x13, 145*XLEN/8, x14) inst_479: -// rs1_val==7378697629483820645 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666665, 0x5555555555555556, x1, 1536, x2) +// rs1_val==3689348814741910322 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111110, 0x3333333333333332, 0x3, x13, 146*XLEN/8, x14) inst_480: -// rs1_val==7378697629483820645 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x6666666666666665, -0x5555555555555555, x1, 1544, x2) +// rs1_val==3689348814741910322 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x5555555555555555, x13, 147*XLEN/8, x14) inst_481: -// rs1_val==7378697629483820645 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111110, 0x6666666666666665, 0x6, x1, 1552, x2) +// rs1_val==3689348814741910322 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x48686148, 0x3333333333333332, -0xb504f332, x13, 148*XLEN/8, x14) inst_482: -// rs1_val==7378697629483820645 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666665, 0x3333333333333334, x1, 1560, x2) +// rs1_val==3689348814741910322 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x48686147, 0x3333333333333332, 0xb504f334, x13, 149*XLEN/8, x14) inst_483: -// rs1_val==7378697629483820645 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6666666666666665, 0x6666666666666667, x1, 1568, x2) +// rs1_val==7378697629483820645 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x2222222222222221, 0x6666666666666665, 0x3, x13, 150*XLEN/8, x14) inst_484: -// rs1_val==7378697629483820645 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x90d0c291, 0x6666666666666665, -0xb504f332, x1, 1576, x2) +// rs1_val==7378697629483820645 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666665, 0x5555555555555555, x13, 151*XLEN/8, x14) inst_485: -// rs1_val==7378697629483820645 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666665; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c28f, 0x6666666666666665, 0xb504f334, x1, 1584, x2) +// rs1_val==7378697629483820645 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x6666666666666665, -0x5555555555555556, x13, 152*XLEN/8, x14) inst_486: -// rs1_val==3037000498 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x3c56fbbb, 0xb504f332, 0x3, x1, 1592, x2) +// rs1_val==7378697629483820645 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x147ae147ae147ae1, 0x6666666666666665, 0x5, x13, 153*XLEN/8, x14) inst_487: -// rs1_val==3037000498 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x5555555555555555, x1, 1600, x2) +// rs1_val==7378697629483820645 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666665, 0x3333333333333333, x13, 154*XLEN/8, x14) inst_488: -// rs1_val==3037000498 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, -0x5555555555555556, x1, 1608, x2) +// rs1_val==7378697629483820645 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6666666666666665, 0x6666666666666666, x13, 155*XLEN/8, x14) inst_489: -// rs1_val==3037000498 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x243430a3, 0xb504f332, 0x5, x1, 1616, x2) +// rs1_val==7378697629483820645 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x90d0c290, 0x6666666666666665, -0xb504f333, x13, 156*XLEN/8, x14) inst_490: -// rs1_val==3037000498 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x3333333333333333, x1, 1624, x2) +// rs1_val==7378697629483820645 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c290, 0x6666666666666665, 0xb504f333, x13, 157*XLEN/8, x14) inst_491: -// rs1_val==3037000498 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x6666666666666666, x1, 1632, x2) +// rs1_val==7378697629483820645 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x3333333333333332, 0x6666666666666665, 0x2, x13, 158*XLEN/8, x14) inst_492: -// rs1_val==3037000498 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, -0xb504f333, x1, 1640, x2) +// rs1_val==7378697629483820645 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666665, 0x5555555555555554, x13, 159*XLEN/8, x14) inst_493: -// rs1_val==3037000498 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0xb504f333, x1, 1648, x2) +// rs1_val==7378697629483820645 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6666666666666665, 0x3333333333333332, x13, 160*XLEN/8, x14) inst_494: -// rs1_val==3037000498 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x5a827999, 0xb504f332, 0x2, x1, 1656, x2) +// rs1_val==7378697629483820645 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666665, 0x6666666666666665, x13, 161*XLEN/8, x14) inst_495: -// rs1_val==3037000498 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x5555555555555554, x1, 1664, x2) +// rs1_val==7378697629483820645 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x6666666666666665, 0x0, x13, 162*XLEN/8, x14) inst_496: -// rs1_val==3037000498 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0xb504f332, 0x0, x1, 1672, x2) +// rs1_val==7378697629483820645 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c291, 0x6666666666666665, 0xb504f332, x13, 163*XLEN/8, x14) inst_497: -// rs1_val==3037000498 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x2d413ccc, 0xb504f332, 0x4, x1, 1680, x2) +// rs1_val==7378697629483820645 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1999999999999999, 0x6666666666666665, 0x4, x13, 164*XLEN/8, x14) inst_498: -// rs1_val==3037000498 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x3333333333333332, x1, 1688, x2) +// rs1_val==7378697629483820645 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666665, 0x5555555555555556, x13, 165*XLEN/8, x14) inst_499: -// rs1_val==3037000498 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x6666666666666665, x1, 1696, x2) +// rs1_val==7378697629483820645 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x6666666666666665, -0x5555555555555555, x13, 166*XLEN/8, x14) inst_500: -// rs1_val==3037000498 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504f332, 0xb504f332, x1, 1704, x2) +// rs1_val==7378697629483820645 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111110, 0x6666666666666665, 0x6, x13, 167*XLEN/8, x14) inst_501: -// rs1_val==3037000498 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x5555555555555556, x1, 1712, x2) +// rs1_val==7378697629483820645 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666665, 0x3333333333333334, x13, 168*XLEN/8, x14) inst_502: -// rs1_val==3037000498 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, -0x5555555555555555, x1, 1720, x2) +// rs1_val==7378697629483820645 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6666666666666665, 0x6666666666666667, x13, 169*XLEN/8, x14) inst_503: -// rs1_val==3037000498 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1e2b7ddd, 0xb504f332, 0x6, x1, 1728, x2) +// rs1_val==7378697629483820645 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x90d0c291, 0x6666666666666665, -0xb504f332, x13, 170*XLEN/8, x14) inst_504: -// rs1_val==3037000498 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x3333333333333334, x1, 1736, x2) +// rs1_val==7378697629483820645 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666665; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c28f, 0x6666666666666665, 0xb504f334, x13, 171*XLEN/8, x14) inst_505: -// rs1_val==3037000498 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0x6666666666666667, x1, 1744, x2) +// rs1_val==0 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x3, x13, 172*XLEN/8, x14) inst_506: -// rs1_val==3037000498 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0xb504f332, -0xb504f332, x1, 1752, x2) +// rs1_val==0 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x5555555555555555, x13, 173*XLEN/8, x14) inst_507: -// rs1_val==3037000498 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f332; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f332, 0xb504f334, x1, 1760, x2) +// rs1_val==0 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0x5555555555555556, x13, 174*XLEN/8, x14) inst_508: -// rs1_val==6148914691236517206 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1c71c71c71c71c72, 0x5555555555555556, 0x3, x1, 1768, x2) +// rs1_val==0 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x5, x13, 175*XLEN/8, x14) inst_509: -// rs1_val==6148914691236517206 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555556, 0x5555555555555555, x1, 1776, x2) +// rs1_val==0 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x3333333333333333, x13, 176*XLEN/8, x14) inst_510: -// rs1_val==6148914691236517206 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x5555555555555556, -0x5555555555555556, x1, 1784, x2) +// rs1_val==0 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x6666666666666666, x13, 177*XLEN/8, x14) inst_511: -// rs1_val==6148914691236517206 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111111, 0x5555555555555556, 0x5, x1, 1792, x2) +// rs1_val==0 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0xb504f333, x13, 178*XLEN/8, x14) inst_512: -// rs1_val==6148914691236517206 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555556, 0x3333333333333333, x1, 1800, x2) +// rs1_val==0 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0xb504f333, x13, 179*XLEN/8, x14) inst_513: -// rs1_val==6148914691236517206 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555556, 0x6666666666666666, x1, 1808, x2) +// rs1_val==0 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x2, x13, 180*XLEN/8, x14) inst_514: -// rs1_val==6148914691236517206 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x78adf778, 0x5555555555555556, -0xb504f333, x1, 1816, x2) +// rs1_val==0 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x5555555555555554, x13, 181*XLEN/8, x14) inst_515: -// rs1_val==6148914691236517206 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x78adf778, 0x5555555555555556, 0xb504f333, x1, 1824, x2) +// rs1_val==0 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x3333333333333332, x13, 182*XLEN/8, x14) inst_516: -// rs1_val==6148914691236517206 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x2aaaaaaaaaaaaaab, 0x5555555555555556, 0x2, x1, 1832, x2) +// rs1_val==0 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x6666666666666665, x13, 183*XLEN/8, x14) inst_517: -// rs1_val==6148914691236517206 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555556, 0x5555555555555554, x1, 1840, x2) +// rs1_val==0 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x0, 0x0, x13, 184*XLEN/8, x14) inst_518: -// rs1_val==6148914691236517206 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x5555555555555556, 0x0, x1, 1848, x2) +// rs1_val==0 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0xb504f332, x13, 185*XLEN/8, x14) inst_519: -// rs1_val==6148914691236517206 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1555555555555555, 0x5555555555555556, 0x4, x1, 1856, x2) +// rs1_val==0 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x4, x13, 186*XLEN/8, x14) inst_520: -// rs1_val==6148914691236517206 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555556, 0x3333333333333332, x1, 1864, x2) +// rs1_val==0 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x5555555555555556, x13, 187*XLEN/8, x14) inst_521: -// rs1_val==6148914691236517206 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555556, 0x6666666666666665, x1, 1872, x2) +// rs1_val==0 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0x5555555555555555, x13, 188*XLEN/8, x14) inst_522: -// rs1_val==6148914691236517206 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x78adf779, 0x5555555555555556, 0xb504f332, x1, 1880, x2) +// rs1_val==0 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x6, x13, 189*XLEN/8, x14) inst_523: -// rs1_val==6148914691236517206 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555556, 0x5555555555555556, x1, 1888, x2) +// rs1_val==0 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x3333333333333334, x13, 190*XLEN/8, x14) inst_524: -// rs1_val==6148914691236517206 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x5555555555555556, -0x5555555555555555, x1, 1896, x2) +// rs1_val==0 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, 0x6666666666666667, x13, 191*XLEN/8, x14) inst_525: -// rs1_val==6148914691236517206 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0xe38e38e38e38e39, 0x5555555555555556, 0x6, x1, 1904, x2) +// rs1_val==0 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x0, -0xb504f332, x13, 192*XLEN/8, x14) inst_526: -// rs1_val==6148914691236517206 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x5555555555555556, 0x3333333333333334, x1, 1912, x2) +// rs1_val==3037000498 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x3c56fbbb, 0xb504f332, 0x3, x13, 193*XLEN/8, x14) inst_527: -// rs1_val==6148914691236517206 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x5555555555555556, 0x6666666666666667, x1, 1920, x2) +// rs1_val==3037000498 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x5555555555555555, x13, 194*XLEN/8, x14) inst_528: -// rs1_val==6148914691236517206 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x78adf779, 0x5555555555555556, -0xb504f332, x1, 1928, x2) +// rs1_val==3037000498 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, -0x5555555555555556, x13, 195*XLEN/8, x14) inst_529: -// rs1_val==6148914691236517206 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x5555555555555556; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x78adf777, 0x5555555555555556, 0xb504f334, x1, 1936, x2) +// rs1_val==3037000498 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x243430a3, 0xb504f332, 0x5, x13, 196*XLEN/8, x14) inst_530: -// rs1_val==-6148914691236517205 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, -0x1c71c71c71c71c71, -0x5555555555555555, 0x3, x1, 1944, x2) +// rs1_val==3037000498 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x3333333333333333, x13, 197*XLEN/8, x14) inst_531: -// rs1_val==-6148914691236517205 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555555, 0x5555555555555555, x1, 1952, x2) +// rs1_val==3037000498 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x6666666666666666, x13, 198*XLEN/8, x14) inst_532: -// rs1_val==-6148914691236517205 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555555, -0x5555555555555556, x1, 1960, x2) +// rs1_val==3037000498 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, -0xb504f333, x13, 199*XLEN/8, x14) inst_533: -// rs1_val==-6148914691236517205 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, -0x1111111111111111, -0x5555555555555555, 0x5, x1, 1968, x2) +// rs1_val==3037000498 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0xb504f333, x13, 200*XLEN/8, x14) inst_534: -// rs1_val==-6148914691236517205 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555555, 0x3333333333333333, x1, 1976, x2) +// rs1_val==3037000498 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x5a827999, 0xb504f332, 0x2, x13, 201*XLEN/8, x14) inst_535: -// rs1_val==-6148914691236517205 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555555, 0x6666666666666666, x1, 1984, x2) +// rs1_val==3037000498 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x5555555555555554, x13, 202*XLEN/8, x14) inst_536: -// rs1_val==-6148914691236517205 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x78adf778, -0x5555555555555555, -0xb504f333, x1, 1992, x2) +// rs1_val==3037000498 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x3333333333333332, x13, 203*XLEN/8, x14) inst_537: -// rs1_val==-6148914691236517205 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x78adf778, -0x5555555555555555, 0xb504f333, x1, 2000, x2) +// rs1_val==3037000498 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x6666666666666665, x13, 204*XLEN/8, x14) inst_538: -// rs1_val==-6148914691236517205 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, -0x2aaaaaaaaaaaaaaa, -0x5555555555555555, 0x2, x1, 2008, x2) +// rs1_val==3037000498 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0xb504f332, 0x0, x13, 205*XLEN/8, x14) inst_539: -// rs1_val==-6148914691236517205 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555555, 0x5555555555555554, x1, 2016, x2) +// rs1_val==3037000498 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f332, 0xb504f332, x13, 206*XLEN/8, x14) inst_540: -// rs1_val==-6148914691236517205 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, -0x5555555555555555, 0x0, x1, 2024, x2) +// rs1_val==3037000498 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x2d413ccc, 0xb504f332, 0x4, x13, 207*XLEN/8, x14) inst_541: -// rs1_val==-6148914691236517205 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, -0x1555555555555555, -0x5555555555555555, 0x4, x1, 2032, x2) +// rs1_val==3037000498 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x5555555555555556, x13, 208*XLEN/8, x14) inst_542: -// rs1_val==-6148914691236517205 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555555, 0x3333333333333332, x1, 2040, x2) -RVTEST_SIGBASE( x1,signature_x1_2) +// rs1_val==3037000498 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, -0x5555555555555555, x13, 209*XLEN/8, x14) inst_543: -// rs1_val==-6148914691236517205 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555555, 0x6666666666666665, x1, 0, x2) +// rs1_val==3037000498 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1e2b7ddd, 0xb504f332, 0x6, x13, 210*XLEN/8, x14) inst_544: -// rs1_val==-6148914691236517205 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x78adf779, -0x5555555555555555, 0xb504f332, x1, 8, x2) +// rs1_val==3037000498 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x3333333333333334, x13, 211*XLEN/8, x14) inst_545: -// rs1_val==-6148914691236517205 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555555, 0x5555555555555556, x1, 16, x2) +// rs1_val==3037000498 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0x6666666666666667, x13, 212*XLEN/8, x14) inst_546: -// rs1_val==-6148914691236517205 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0x5555555555555555, -0x5555555555555555, x1, 24, x2) +// rs1_val==3037000498 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504f332, -0xb504f332, x13, 213*XLEN/8, x14) inst_547: -// rs1_val==-6148914691236517205 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, -0xe38e38e38e38e38, -0x5555555555555555, 0x6, x1, 32, x2) +// rs1_val==3037000498 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f332; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f332, 0xb504f334, x13, 214*XLEN/8, x14) inst_548: -// rs1_val==-6148914691236517205 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0x5555555555555555, 0x3333333333333334, x1, 40, x2) +// rs1_val==4 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x4, 0x3, x13, 215*XLEN/8, x14) inst_549: -// rs1_val==-6148914691236517205 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0x5555555555555555, 0x6666666666666667, x1, 48, x2) +// rs1_val==4 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x5555555555555555, x13, 216*XLEN/8, x14) inst_550: -// rs1_val==-6148914691236517205 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x78adf779, -0x5555555555555555, -0xb504f332, x1, 56, x2) +// rs1_val==4 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0x5555555555555556, x13, 217*XLEN/8, x14) inst_551: -// rs1_val==-6148914691236517205 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0x5555555555555555; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, -0x78adf777, -0x5555555555555555, 0xb504f334, x1, 64, x2) +// rs1_val==4 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x5, x13, 218*XLEN/8, x14) inst_552: -// rs1_val==6 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6, 0x3, x1, 72, x2) +// rs1_val==4 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x3333333333333333, x13, 219*XLEN/8, x14) inst_553: -// rs1_val==6 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x5555555555555555, x1, 80, x2) +// rs1_val==4 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x6666666666666666, x13, 220*XLEN/8, x14) inst_554: -// rs1_val==6 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0x5555555555555556, x1, 88, x2) +// rs1_val==4 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0xb504f333, x13, 221*XLEN/8, x14) inst_555: -// rs1_val==6 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6, 0x5, x1, 96, x2) +// rs1_val==4 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0xb504f333, x13, 222*XLEN/8, x14) inst_556: -// rs1_val==6 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x3333333333333333, x1, 104, x2) +// rs1_val==4 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x4, 0x2, x13, 223*XLEN/8, x14) inst_557: -// rs1_val==6 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x6666666666666666, x1, 112, x2) +// rs1_val==4 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x5555555555555554, x13, 224*XLEN/8, x14) inst_558: -// rs1_val==6 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0xb504f333, x1, 120, x2) +// rs1_val==4 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x3333333333333332, x13, 225*XLEN/8, x14) inst_559: -// rs1_val==6 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0xb504f333, x1, 128, x2) +// rs1_val==4 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x6666666666666665, x13, 226*XLEN/8, x14) inst_560: -// rs1_val==6 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x3, 0x6, 0x2, x1, 136, x2) +// rs1_val==4 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x4, 0x0, x13, 227*XLEN/8, x14) inst_561: -// rs1_val==6 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x5555555555555554, x1, 144, x2) +// rs1_val==4 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0xb504f332, x13, 228*XLEN/8, x14) inst_562: -// rs1_val==6 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x6, 0x0, x1, 152, x2) +// rs1_val==4 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x4, 0x4, x13, 229*XLEN/8, x14) inst_563: -// rs1_val==6 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6, 0x4, x1, 160, x2) +// rs1_val==4 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x5555555555555556, x13, 230*XLEN/8, x14) inst_564: -// rs1_val==6 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x3333333333333332, x1, 168, x2) +// rs1_val==4 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0x5555555555555555, x13, 231*XLEN/8, x14) inst_565: -// rs1_val==6 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x6666666666666665, x1, 176, x2) +// rs1_val==4 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x6, x13, 232*XLEN/8, x14) inst_566: -// rs1_val==6 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0xb504f332, x1, 184, x2) +// rs1_val==4 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x3333333333333334, x13, 233*XLEN/8, x14) inst_567: -// rs1_val==6 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x5555555555555556, x1, 192, x2) +// rs1_val==4 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, 0x6666666666666667, x13, 234*XLEN/8, x14) inst_568: -// rs1_val==6 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0x5555555555555555, x1, 200, x2) +// rs1_val==4 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x4, -0xb504f332, x13, 235*XLEN/8, x14) inst_569: -// rs1_val==6 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6, 0x6, x1, 208, x2) +// rs1_val==6148914691236517206 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1c71c71c71c71c72, 0x5555555555555556, 0x3, x13, 236*XLEN/8, x14) inst_570: -// rs1_val==6 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x3333333333333334, x1, 216, x2) +// rs1_val==6148914691236517206 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555556, 0x5555555555555555, x13, 237*XLEN/8, x14) inst_571: -// rs1_val==6 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0x6666666666666667, x1, 224, x2) +// rs1_val==6148914691236517206 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x5555555555555556, -0x5555555555555556, x13, 238*XLEN/8, x14) inst_572: -// rs1_val==6 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, -0xb504f332, x1, 232, x2) +// rs1_val==6148914691236517206 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111111, 0x5555555555555556, 0x5, x13, 239*XLEN/8, x14) inst_573: -// rs1_val==6 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x6, 0xb504f334, x1, 240, x2) +// rs1_val==6148914691236517206 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555556, 0x3333333333333333, x13, 240*XLEN/8, x14) inst_574: -// rs1_val==3689348814741910324 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111111, 0x3333333333333334, 0x3, x1, 248, x2) +// rs1_val==6148914691236517206 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555556, 0x6666666666666666, x13, 241*XLEN/8, x14) inst_575: -// rs1_val==3689348814741910324 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, 0x5555555555555555, x1, 256, x2) +// rs1_val==6148914691236517206 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x78adf778, 0x5555555555555556, -0xb504f333, x13, 242*XLEN/8, x14) inst_576: -// rs1_val==3689348814741910324 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, -0x5555555555555556, x1, 264, x2) +// rs1_val==6148914691236517206 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x78adf778, 0x5555555555555556, 0xb504f333, x13, 243*XLEN/8, x14) inst_577: -// rs1_val==3689348814741910324 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0xa3d70a3d70a3d70, 0x3333333333333334, 0x5, x1, 272, x2) +// rs1_val==6148914691236517206 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x2aaaaaaaaaaaaaab, 0x5555555555555556, 0x2, x13, 244*XLEN/8, x14) inst_578: -// rs1_val==3689348814741910324 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3333333333333334, 0x3333333333333333, x1, 280, x2) +// rs1_val==6148914691236517206 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555556, 0x5555555555555554, x13, 245*XLEN/8, x14) inst_579: -// rs1_val==3689348814741910324 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, 0x6666666666666666, x1, 288, x2) +// rs1_val==6148914691236517206 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555556, 0x3333333333333332, x13, 246*XLEN/8, x14) inst_580: -// rs1_val==3689348814741910324 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x48686148, 0x3333333333333334, -0xb504f333, x1, 296, x2) +// rs1_val==6148914691236517206 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555556, 0x6666666666666665, x13, 247*XLEN/8, x14) inst_581: -// rs1_val==3689348814741910324 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x48686148, 0x3333333333333334, 0xb504f333, x1, 304, x2) +// rs1_val==6148914691236517206 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x5555555555555556, 0x0, x13, 248*XLEN/8, x14) inst_582: -// rs1_val==3689348814741910324 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x199999999999999a, 0x3333333333333334, 0x2, x1, 312, x2) +// rs1_val==6148914691236517206 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x78adf779, 0x5555555555555556, 0xb504f332, x13, 249*XLEN/8, x14) inst_583: -// rs1_val==3689348814741910324 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, 0x5555555555555554, x1, 320, x2) +// rs1_val==6148914691236517206 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1555555555555555, 0x5555555555555556, 0x4, x13, 250*XLEN/8, x14) inst_584: -// rs1_val==3689348814741910324 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x3333333333333334, 0x0, x1, 328, x2) +// rs1_val==6148914691236517206 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555556, 0x5555555555555556, x13, 251*XLEN/8, x14) inst_585: -// rs1_val==3689348814741910324 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0xccccccccccccccd, 0x3333333333333334, 0x4, x1, 336, x2) +// rs1_val==6148914691236517206 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x5555555555555556, -0x5555555555555555, x13, 252*XLEN/8, x14) inst_586: -// rs1_val==3689348814741910324 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3333333333333334, 0x3333333333333332, x1, 344, x2) +// rs1_val==6148914691236517206 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0xe38e38e38e38e39, 0x5555555555555556, 0x6, x13, 253*XLEN/8, x14) inst_587: -// rs1_val==3689348814741910324 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, 0x6666666666666665, x1, 352, x2) +// rs1_val==6148914691236517206 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x5555555555555556, 0x3333333333333334, x13, 254*XLEN/8, x14) inst_588: -// rs1_val==3689348814741910324 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x48686148, 0x3333333333333334, 0xb504f332, x1, 360, x2) +// rs1_val==6148914691236517206 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x5555555555555556, 0x6666666666666667, x13, 255*XLEN/8, x14) +RVTEST_SIGBASE(x13,signature_x13_2) inst_589: -// rs1_val==3689348814741910324 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, 0x5555555555555556, x1, 368, x2) +// rs1_val==6148914691236517206 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x78adf779, 0x5555555555555556, -0xb504f332, x13, 0*XLEN/8, x14) inst_590: -// rs1_val==3689348814741910324 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, -0x5555555555555555, x1, 376, x2) +// rs1_val==6148914691236517206 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x5555555555555556; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x78adf777, 0x5555555555555556, 0xb504f334, x13, 1*XLEN/8, x14) inst_591: -// rs1_val==3689348814741910324 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x888888888888888, 0x3333333333333334, 0x6, x1, 384, x2) +// rs1_val==-6148914691236517205 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x1c71c71c71c71c71, -0x5555555555555555, 0x3, x13, 2*XLEN/8, x14) inst_592: -// rs1_val==3689348814741910324 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3333333333333334, 0x3333333333333334, x1, 392, x2) +// rs1_val==-6148914691236517205 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555555, 0x5555555555555555, x13, 3*XLEN/8, x14) inst_593: -// rs1_val==3689348814741910324 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x3333333333333334, 0x6666666666666667, x1, 400, x2) +// rs1_val==-6148914691236517205 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555555, -0x5555555555555556, x13, 4*XLEN/8, x14) inst_594: -// rs1_val==3689348814741910324 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x48686148, 0x3333333333333334, -0xb504f332, x1, 408, x2) +// rs1_val==-6148914691236517205 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x1111111111111111, -0x5555555555555555, 0x5, x13, 5*XLEN/8, x14) inst_595: -// rs1_val==3689348814741910324 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3333333333333334; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x48686147, 0x3333333333333334, 0xb504f334, x1, 416, x2) +// rs1_val==-6148914691236517205 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555555, 0x3333333333333333, x13, 6*XLEN/8, x14) inst_596: -// rs1_val==7378697629483820647 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x2222222222222222, 0x6666666666666667, 0x3, x1, 424, x2) +// rs1_val==-6148914691236517205 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555555, 0x6666666666666666, x13, 7*XLEN/8, x14) inst_597: -// rs1_val==7378697629483820647 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x5555555555555555, x1, 432, x2) +// rs1_val==-6148914691236517205 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x78adf778, -0x5555555555555555, -0xb504f333, x13, 8*XLEN/8, x14) inst_598: -// rs1_val==7378697629483820647 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x6666666666666667, -0x5555555555555556, x1, 440, x2) +// rs1_val==-6148914691236517205 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x78adf778, -0x5555555555555555, 0xb504f333, x13, 9*XLEN/8, x14) inst_599: -// rs1_val==7378697629483820647 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x147ae147ae147ae1, 0x6666666666666667, 0x5, x1, 448, x2) +// rs1_val==-6148914691236517205 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x2aaaaaaaaaaaaaaa, -0x5555555555555555, 0x2, x13, 10*XLEN/8, x14) inst_600: -// rs1_val==7378697629483820647 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6666666666666667, 0x3333333333333333, x1, 456, x2) +// rs1_val==-6148914691236517205 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555555, 0x5555555555555554, x13, 11*XLEN/8, x14) inst_601: -// rs1_val==7378697629483820647 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x6666666666666666, x1, 464, x2) +// rs1_val==-6148914691236517205 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555555, 0x3333333333333332, x13, 12*XLEN/8, x14) inst_602: -// rs1_val==7378697629483820647 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x90d0c290, 0x6666666666666667, -0xb504f333, x1, 472, x2) +// rs1_val==-6148914691236517205 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555555, 0x6666666666666665, x13, 13*XLEN/8, x14) inst_603: -// rs1_val==7378697629483820647 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c290, 0x6666666666666667, 0xb504f333, x1, 480, x2) +// rs1_val==-6148914691236517205 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, -0x5555555555555555, 0x0, x13, 14*XLEN/8, x14) inst_604: -// rs1_val==7378697629483820647 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x3333333333333333, 0x6666666666666667, 0x2, x1, 488, x2) +// rs1_val==-6148914691236517205 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x78adf779, -0x5555555555555555, 0xb504f332, x13, 15*XLEN/8, x14) inst_605: -// rs1_val==7378697629483820647 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x5555555555555554, x1, 496, x2) +// rs1_val==-6148914691236517205 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x1555555555555555, -0x5555555555555555, 0x4, x13, 16*XLEN/8, x14) inst_606: -// rs1_val==7378697629483820647 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x6666666666666667, 0x0, x1, 504, x2) +// rs1_val==-6148914691236517205 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555555, 0x5555555555555556, x13, 17*XLEN/8, x14) inst_607: -// rs1_val==7378697629483820647 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x1999999999999999, 0x6666666666666667, 0x4, x1, 512, x2) +// rs1_val==-6148914691236517205 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0x5555555555555555, -0x5555555555555555, x13, 18*XLEN/8, x14) inst_608: -// rs1_val==7378697629483820647 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x2, 0x6666666666666667, 0x3333333333333332, x1, 520, x2) +// rs1_val==-6148914691236517205 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0xe38e38e38e38e38, -0x5555555555555555, 0x6, x13, 19*XLEN/8, x14) inst_609: -// rs1_val==7378697629483820647 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x6666666666666665, x1, 528, x2) +// rs1_val==3689348814741910322 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x48686148, 0x3333333333333332, 0xb504f332, x13, 20*XLEN/8, x14) inst_610: -// rs1_val==7378697629483820647 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c291, 0x6666666666666667, 0xb504f332, x1, 536, x2) +// rs1_val==3689348814741910322 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x888888888888888, 0x3333333333333332, 0x6, x13, 21*XLEN/8, x14) inst_611: -// rs1_val==7378697629483820647 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x5555555555555556, x1, 544, x2) +// rs1_val==3689348814741910322 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x48686148, 0x3333333333333332, 0xb504f333, x13, 22*XLEN/8, x14) inst_612: -// rs1_val==7378697629483820647 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0x6666666666666667, -0x5555555555555555, x1, 552, x2) +// rs1_val==-6148914691236517205 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0x5555555555555555, 0x3333333333333334, x13, 23*XLEN/8, x14) inst_613: -// rs1_val==7378697629483820647 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1111111111111111, 0x6666666666666667, 0x6, x1, 560, x2) +// rs1_val==3689348814741910322 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0xccccccccccccccc, 0x3333333333333332, 0x4, x13, 24*XLEN/8, x14) inst_614: -// rs1_val==7378697629483820647 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x3333333333333334, x1, 568, x2) +// rs1_val==3689348814741910322 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, -0x5555555555555555, x13, 25*XLEN/8, x14) inst_615: -// rs1_val==7378697629483820647 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x6666666666666667, 0x6666666666666667, x1, 576, x2) +// rs1_val==-6148914691236517205 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0x5555555555555555, 0x6666666666666667, x13, 26*XLEN/8, x14) inst_616: -// rs1_val==7378697629483820647 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x90d0c291, 0x6666666666666667, -0xb504f332, x1, 584, x2) +// rs1_val==-6148914691236517205 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x78adf779, -0x5555555555555555, -0xb504f332, x13, 27*XLEN/8, x14) inst_617: -// rs1_val==7378697629483820647 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666667; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x90d0c28f, 0x6666666666666667, 0xb504f334, x1, 592, x2) +// rs1_val==-6148914691236517205 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0x5555555555555555; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, -0x78adf777, -0x5555555555555555, 0xb504f334, x13, 28*XLEN/8, x14) inst_618: -// rs1_val==-3037000498 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, -0x3c56fbbb, -0xb504f332, 0x3, x1, 600, x2) +// rs1_val==6 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6, 0x3, x13, 29*XLEN/8, x14) inst_619: -// rs1_val==-3037000498 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x5555555555555555, x1, 608, x2) +// rs1_val==6 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x5555555555555555, x13, 30*XLEN/8, x14) inst_620: -// rs1_val==-3037000498 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, -0x5555555555555556, x1, 616, x2) +// rs1_val==6 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0x5555555555555556, x13, 31*XLEN/8, x14) inst_621: -// rs1_val==-3037000498 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, -0x243430a3, -0xb504f332, 0x5, x1, 624, x2) +// rs1_val==6 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6, 0x5, x13, 32*XLEN/8, x14) inst_622: -// rs1_val==-3037000498 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x3333333333333333, x1, 632, x2) +// rs1_val==6 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x3333333333333333, x13, 33*XLEN/8, x14) inst_623: -// rs1_val==-3037000498 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x6666666666666666, x1, 640, x2) +// rs1_val==6 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x6666666666666666, x13, 34*XLEN/8, x14) inst_624: -// rs1_val==-3037000498 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, -0xb504f333, x1, 648, x2) +// rs1_val==6 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0xb504f333, x13, 35*XLEN/8, x14) inst_625: -// rs1_val==-3037000498 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0xb504f333, x1, 656, x2) +// rs1_val==6 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0xb504f333, x13, 36*XLEN/8, x14) inst_626: -// rs1_val==-3037000498 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, -0x5a827999, -0xb504f332, 0x2, x1, 664, x2) +// rs1_val==6 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x3, 0x6, 0x2, x13, 37*XLEN/8, x14) inst_627: -// rs1_val==-3037000498 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x5555555555555554, x1, 672, x2) +// rs1_val==6 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x5555555555555554, x13, 38*XLEN/8, x14) inst_628: -// rs1_val==-3037000498 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, -0xb504f332, 0x0, x1, 680, x2) +// rs1_val==6 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x3333333333333332, x13, 39*XLEN/8, x14) inst_629: -// rs1_val==-3037000498 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, -0x2d413ccc, -0xb504f332, 0x4, x1, 688, x2) +// rs1_val==6 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x6666666666666665, x13, 40*XLEN/8, x14) inst_630: -// rs1_val==-3037000498 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x3333333333333332, x1, 696, x2) +// rs1_val==6 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x6, 0x0, x13, 41*XLEN/8, x14) inst_631: -// rs1_val==-3037000498 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x6666666666666665, x1, 704, x2) +// rs1_val==6 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0xb504f332, x13, 42*XLEN/8, x14) inst_632: -// rs1_val==-3037000498 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x1, -0xb504f332, 0xb504f332, x1, 712, x2) +// rs1_val==6 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6, 0x4, x13, 43*XLEN/8, x14) inst_633: -// rs1_val==-3037000498 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x5555555555555556, x1, 720, x2) +// rs1_val==6 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x5555555555555556, x13, 44*XLEN/8, x14) inst_634: -// rs1_val==-3037000498 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, -0x5555555555555555, x1, 728, x2) +// rs1_val==6 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0x5555555555555555, x13, 45*XLEN/8, x14) inst_635: -// rs1_val==-3037000498 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, -0x1e2b7ddd, -0xb504f332, 0x6, x1, 736, x2) +// rs1_val==6 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6, 0x6, x13, 46*XLEN/8, x14) inst_636: -// rs1_val==-3037000498 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x3333333333333334, x1, 744, x2) +// rs1_val==6 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x3333333333333334, x13, 47*XLEN/8, x14) inst_637: -// rs1_val==-3037000498 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0x6666666666666667, x1, 752, x2) +// rs1_val==6 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0x6666666666666667, x13, 48*XLEN/8, x14) inst_638: -// rs1_val==-3037000498 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x1, -0xb504f332, -0xb504f332, x1, 760, x2) +// rs1_val==6 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, -0xb504f332, x13, 49*XLEN/8, x14) inst_639: -// rs1_val==-3037000498 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:-0xb504f332; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x0, -0xb504f332, 0xb504f334, x1, 768, x2) +// rs1_val==6 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x6, 0xb504f334, x13, 50*XLEN/8, x14) inst_640: -// rs1_val==3037000500 and rs2_val==3, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x3c56fbbc, 0xb504f334, 0x3, x1, 776, x2) +// rs1_val==3689348814741910324 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111111, 0x3333333333333334, 0x3, x13, 51*XLEN/8, x14) inst_641: -// rs1_val==3037000500 and rs2_val==6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x5555555555555555, x1, 784, x2) +// rs1_val==3689348814741910324 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, 0x5555555555555555, x13, 52*XLEN/8, x14) inst_642: -// rs1_val==3037000500 and rs2_val==-6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:-0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, -0x5555555555555556, x1, 792, x2) +// rs1_val==3689348814741910324 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, -0x5555555555555556, x13, 53*XLEN/8, x14) inst_643: -// rs1_val==3037000500 and rs2_val==5, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x5 -TEST_RR_OP(div, x12, x10, x11, 0x243430a4, 0xb504f334, 0x5, x1, 800, x2) +// rs1_val==3689348814741910324 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0xa3d70a3d70a3d70, 0x3333333333333334, 0x5, x13, 54*XLEN/8, x14) inst_644: -// rs1_val==3037000500 and rs2_val==3689348814741910323, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x3333333333333333, x1, 808, x2) +// rs1_val==3689348814741910324 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3333333333333334, 0x3333333333333333, x13, 55*XLEN/8, x14) inst_645: -// rs1_val==3037000500 and rs2_val==7378697629483820646, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x6666666666666666 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x6666666666666666, x1, 816, x2) +// rs1_val==3689348814741910324 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, 0x6666666666666666, x13, 56*XLEN/8, x14) inst_646: -// rs1_val==3037000500 and rs2_val==-3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:-0xb504f333 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0xb504f334, -0xb504f333, x1, 824, x2) +// rs1_val==3689348814741910324 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x48686148, 0x3333333333333334, -0xb504f333, x13, 57*XLEN/8, x14) inst_647: -// rs1_val==3037000500 and rs2_val==3037000499, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0xb504f333 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504f334, 0xb504f333, x1, 832, x2) +// rs1_val==3689348814741910324 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x48686148, 0x3333333333333334, 0xb504f333, x13, 58*XLEN/8, x14) inst_648: -// rs1_val==3037000500 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x5a82799a, 0xb504f334, 0x2, x1, 840, x2) +// rs1_val==3689348814741910324 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x199999999999999a, 0x3333333333333334, 0x2, x13, 59*XLEN/8, x14) inst_649: -// rs1_val==3037000500 and rs2_val==6148914691236517204, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x5555555555555554 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x5555555555555554, x1, 848, x2) +// rs1_val==3689348814741910324 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, 0x5555555555555554, x13, 60*XLEN/8, x14) inst_650: -// rs1_val==3037000500 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0xb504f334, 0x0, x1, 856, x2) +// rs1_val==3689348814741910324 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3333333333333334, 0x3333333333333332, x13, 61*XLEN/8, x14) inst_651: -// rs1_val==3037000500 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x2d413ccd, 0xb504f334, 0x4, x1, 864, x2) +// rs1_val==3689348814741910324 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, 0x6666666666666665, x13, 62*XLEN/8, x14) inst_652: -// rs1_val==3037000500 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x3333333333333332, x1, 872, x2) +// rs1_val==3689348814741910324 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x3333333333333334, 0x0, x13, 63*XLEN/8, x14) inst_653: -// rs1_val==3037000500 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x6666666666666665, x1, 880, x2) +// rs1_val==3689348814741910324 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x48686148, 0x3333333333333334, 0xb504f332, x13, 64*XLEN/8, x14) inst_654: -// rs1_val==3037000500 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504f334, 0xb504f332, x1, 888, x2) +// rs1_val==3689348814741910324 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0xccccccccccccccd, 0x3333333333333334, 0x4, x13, 65*XLEN/8, x14) inst_655: -// rs1_val==3037000500 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x5555555555555556, x1, 896, x2) +// rs1_val==3689348814741910324 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, 0x5555555555555556, x13, 66*XLEN/8, x14) inst_656: -// rs1_val==3037000500 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, -0x5555555555555555, x1, 904, x2) +// rs1_val==3689348814741910324 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, -0x5555555555555555, x13, 67*XLEN/8, x14) inst_657: -// rs1_val==3037000500 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x1e2b7dde, 0xb504f334, 0x6, x1, 912, x2) +// rs1_val==3689348814741910324 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x888888888888888, 0x3333333333333334, 0x6, x13, 68*XLEN/8, x14) inst_658: -// rs1_val==3037000500 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x3333333333333334, x1, 920, x2) +// rs1_val==3689348814741910324 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3333333333333334, 0x3333333333333334, x13, 69*XLEN/8, x14) inst_659: -// rs1_val==3037000500 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0xb504f334, 0x6666666666666667, x1, 928, x2) +// rs1_val==3689348814741910324 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333334, 0x6666666666666667, x13, 70*XLEN/8, x14) inst_660: -// rs1_val==3037000500 and rs2_val==-3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:-0xb504f332 -TEST_RR_OP(div, x12, x10, x11, -0x1, 0xb504f334, -0xb504f332, x1, 936, x2) +// rs1_val==3689348814741910324 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x48686148, 0x3333333333333334, -0xb504f332, x13, 71*XLEN/8, x14) inst_661: -// rs1_val==3037000500 and rs2_val==3037000500, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0xb504f334; op2val:0xb504f334 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0xb504f334, 0xb504f334, x1, 944, x2) +// rs1_val==3689348814741910324 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333334; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x48686147, 0x3333333333333334, 0xb504f334, x13, 72*XLEN/8, x14) inst_662: -// rs1_val==0 and rs2_val==2, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x2 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x2, x1, 952, x2) +// rs1_val==7378697629483820647 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x2222222222222222, 0x6666666666666667, 0x3, x13, 73*XLEN/8, x14) inst_663: -// rs1_val==0 and rs2_val==0, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x0 -TEST_RR_OP(div, x12, x10, x11, 0xFFFFFFFFFFFFFFFF, 0x0, 0x0, x1, 960, x2) +// rs1_val==7378697629483820647 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x5555555555555555, x13, 74*XLEN/8, x14) inst_664: -// rs1_val==0 and rs2_val==4, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x4 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x4, x1, 968, x2) +// rs1_val==7378697629483820647 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x6666666666666667, -0x5555555555555556, x13, 75*XLEN/8, x14) inst_665: -// rs1_val==0 and rs2_val==3689348814741910322, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x3333333333333332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x3333333333333332, x1, 976, x2) +// rs1_val==7378697629483820647 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x147ae147ae147ae1, 0x6666666666666667, 0x5, x13, 76*XLEN/8, x14) inst_666: -// rs1_val==0 and rs2_val==7378697629483820645, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x6666666666666665 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x6666666666666665, x1, 984, x2) +// rs1_val==7378697629483820647 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6666666666666667, 0x3333333333333333, x13, 77*XLEN/8, x14) inst_667: -// rs1_val==0 and rs2_val==3037000498, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0xb504f332 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0xb504f332, x1, 992, x2) +// rs1_val==7378697629483820647 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x6666666666666666, x13, 78*XLEN/8, x14) inst_668: -// rs1_val==0 and rs2_val==6148914691236517206, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x5555555555555556 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x5555555555555556, x1, 1000, x2) +// rs1_val==7378697629483820647 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x90d0c290, 0x6666666666666667, -0xb504f333, x13, 79*XLEN/8, x14) inst_669: -// rs1_val==0 and rs2_val==-6148914691236517205, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0x5555555555555555 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, -0x5555555555555555, x1, 1008, x2) +// rs1_val==7378697629483820647 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c290, 0x6666666666666667, 0xb504f333, x13, 80*XLEN/8, x14) inst_670: -// rs1_val==0 and rs2_val==6, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x6 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x6, x1, 1016, x2) +// rs1_val==7378697629483820647 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x3333333333333333, 0x6666666666666667, 0x2, x13, 81*XLEN/8, x14) inst_671: -// rs1_val==0 and rs2_val==3689348814741910324, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x3333333333333334 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x3333333333333334, x1, 1024, x2) +// rs1_val==7378697629483820647 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x5555555555555554, x13, 82*XLEN/8, x14) inst_672: -// rs1_val==0 and rs2_val==7378697629483820647, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:0x6666666666666667 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x0, 0x6666666666666667, x1, 1032, x2) +// rs1_val==7378697629483820647 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x2, 0x6666666666666667, 0x3333333333333332, x13, 83*XLEN/8, x14) inst_673: -// rs1_val > 0 and rs2_val > 0, rs1_val == 8, rs1_val != rs2_val -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8; op2val:0x3333333333333333 -TEST_RR_OP(div, x12, x10, x11, 0x0, 0x8, 0x3333333333333333, x1, 1040, x2) +// rs1_val==7378697629483820647 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x6666666666666665, x13, 84*XLEN/8, x14) inst_674: -// rs1_val > 0 and rs2_val < 0, rs2_val == -9, rs1_val == 68719476736 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x1000000000; op2val:-0x9 -TEST_RR_OP(div, x12, x10, x11, -0x1c71c71c7, 0x1000000000, -0x9, x1, 1048, x2) +// rs1_val==7378697629483820647 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x6666666666666667, 0x0, x13, 85*XLEN/8, x14) inst_675: -// rs1_val == rs2_val, rs1_val==3 and rs2_val==3 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x3; op2val:0x3 -TEST_RR_OP(div, x12, x10, x11, 0x1, 0x3, 0x3, x1, 1056, x2) +// rs1_val==7378697629483820647 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c291, 0x6666666666666667, 0xb504f332, x13, 86*XLEN/8, x14) inst_676: -// rs2_val == 1, rs1_val == 549755813888 -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x8000000000; op2val:0x1 -TEST_RR_OP(div, x12, x10, x11, 0x8000000000, 0x8000000000, 0x1, x1, 1064, x2) +// rs1_val==7378697629483820647 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, 0x1999999999999999, 0x6666666666666667, 0x4, x13, 87*XLEN/8, x14) inst_677: -// rs2_val == 16384, -// opcode: div ; op1:x10; op2:x11; dest:x12; op1val:0x6666666666666666; op2val:0x4000 -TEST_RR_OP(div, x12, x10, x11, 0x1999999999999, 0x6666666666666666, 0x4000, x1, 1072, x2) +// rs1_val==7378697629483820647 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x5555555555555556, x13, 88*XLEN/8, x14) + +inst_678: +// rs1_val==7378697629483820647 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0x6666666666666667, -0x5555555555555555, x13, 89*XLEN/8, x14) + +inst_679: +// rs1_val==7378697629483820647 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1111111111111111, 0x6666666666666667, 0x6, x13, 90*XLEN/8, x14) + +inst_680: +// rs1_val==7378697629483820647 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x3333333333333334, x13, 91*XLEN/8, x14) + +inst_681: +// rs1_val==7378697629483820647 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x6666666666666667, 0x6666666666666667, x13, 92*XLEN/8, x14) + +inst_682: +// rs1_val==7378697629483820647 and rs2_val==-3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x90d0c291, 0x6666666666666667, -0xb504f332, x13, 93*XLEN/8, x14) + +inst_683: +// rs1_val==7378697629483820647 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x6666666666666667; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x90d0c28f, 0x6666666666666667, 0xb504f334, x13, 94*XLEN/8, x14) + +inst_684: +// rs1_val==-3037000498 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, -0x3c56fbbb, -0xb504f332, 0x3, x13, 95*XLEN/8, x14) + +inst_685: +// rs1_val==-3037000498 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x5555555555555555, x13, 96*XLEN/8, x14) + +inst_686: +// rs1_val==-3037000498 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, -0x5555555555555556, x13, 97*XLEN/8, x14) + +inst_687: +// rs1_val==3689348814741910322 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x48686148, 0x3333333333333332, -0xb504f333, x13, 98*XLEN/8, x14) + +inst_688: +// rs1_val==-3037000498 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, -0x243430a3, -0xb504f332, 0x5, x13, 99*XLEN/8, x14) + +inst_689: +// rs1_val==-3037000498 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x3333333333333333, x13, 100*XLEN/8, x14) + +inst_690: +// rs1_val==-3037000498 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x6666666666666666, x13, 101*XLEN/8, x14) + +inst_691: +// rs1_val==-3037000498 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, -0xb504f333, x13, 102*XLEN/8, x14) + +inst_692: +// rs1_val==-3037000498 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0xb504f333, x13, 103*XLEN/8, x14) + +inst_693: +// rs1_val==-3037000498 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, -0x5a827999, -0xb504f332, 0x2, x13, 104*XLEN/8, x14) + +inst_694: +// rs1_val==-3037000498 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x5555555555555554, x13, 105*XLEN/8, x14) + +inst_695: +// rs1_val==-3037000498 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x3333333333333332, x13, 106*XLEN/8, x14) + +inst_696: +// rs1_val==-3037000498 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x6666666666666665, x13, 107*XLEN/8, x14) + +inst_697: +// rs1_val==-3037000498 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, -0xb504f332, 0x0, x13, 108*XLEN/8, x14) + +inst_698: +// rs1_val==-3037000498 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x1, -0xb504f332, 0xb504f332, x13, 109*XLEN/8, x14) + +inst_699: +// rs1_val==-3037000498 and rs2_val==4, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x4 +TEST_RR_OP(div, x31, x30, x29, -0x2d413ccc, -0xb504f332, 0x4, x13, 110*XLEN/8, x14) + +inst_700: +// rs1_val==-3037000498 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x5555555555555556, x13, 111*XLEN/8, x14) + +inst_701: +// rs1_val==-3037000498 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, -0x5555555555555555, x13, 112*XLEN/8, x14) + +inst_702: +// rs1_val==-3037000498 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, -0x1e2b7ddd, -0xb504f332, 0x6, x13, 113*XLEN/8, x14) + +inst_703: +// rs1_val==-3037000498 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x3333333333333334, x13, 114*XLEN/8, x14) + +inst_704: +// rs1_val==-3037000498 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0x6666666666666667, x13, 115*XLEN/8, x14) + +inst_705: +// rs1_val==3037000500 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x3c56fbbc, 0xb504f334, 0x3, x13, 116*XLEN/8, x14) + +inst_706: +// rs1_val==3037000500 and rs2_val==6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x5555555555555555, x13, 117*XLEN/8, x14) + +inst_707: +// rs1_val==3037000500 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, -0x5555555555555556, x13, 118*XLEN/8, x14) + +inst_708: +// rs1_val==3037000500 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0x243430a4, 0xb504f334, 0x5, x13, 119*XLEN/8, x14) + +inst_709: +// rs1_val==3037000500 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x3333333333333333, x13, 120*XLEN/8, x14) + +inst_710: +// rs1_val==3037000500 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x6666666666666666, x13, 121*XLEN/8, x14) + +inst_711: +// rs1_val==3037000500 and rs2_val==-3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0xb504f333 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504f334, -0xb504f333, x13, 122*XLEN/8, x14) + +inst_712: +// rs1_val==3037000500 and rs2_val==3037000499, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0xb504f333 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f334, 0xb504f333, x13, 123*XLEN/8, x14) + +inst_713: +// rs1_val==3037000500 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x5555555555555554, x13, 124*XLEN/8, x14) + +inst_714: +// rs1_val==3037000500 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x3333333333333332, x13, 125*XLEN/8, x14) + +inst_715: +// rs1_val==3037000500 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x6666666666666665, x13, 126*XLEN/8, x14) + +inst_716: +// rs1_val==3037000500 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0xb504f334, 0x0, x13, 127*XLEN/8, x14) + +inst_717: +// rs1_val==3037000500 and rs2_val==3037000498, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f334, 0xb504f332, x13, 128*XLEN/8, x14) + +inst_718: +// rs1_val==3037000500 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x5555555555555556, x13, 129*XLEN/8, x14) + +inst_719: +// rs1_val==3037000500 and rs2_val==-6148914691236517205, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0x5555555555555555 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, -0x5555555555555555, x13, 130*XLEN/8, x14) + +inst_720: +// rs1_val==3689348814741910322 and rs2_val==-6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:-0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, -0x5555555555555556, x13, 131*XLEN/8, x14) + +inst_721: +// rs1_val==3037000500 and rs2_val==6, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x6 +TEST_RR_OP(div, x31, x30, x29, 0x1e2b7dde, 0xb504f334, 0x6, x13, 132*XLEN/8, x14) + +inst_722: +// rs1_val==3689348814741910322 and rs2_val==5, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x5 +TEST_RR_OP(div, x31, x30, x29, 0xa3d70a3d70a3d70, 0x3333333333333332, 0x5, x13, 133*XLEN/8, x14) + +inst_723: +// rs1_val==3037000500 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x3333333333333334, x13, 134*XLEN/8, x14) + +inst_724: +// rs1_val==3689348814741910322 and rs2_val==3689348814741910323, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x3333333333333333 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x3333333333333333, x13, 135*XLEN/8, x14) + +inst_725: +// rs1_val==3037000500 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, 0x6666666666666667, x13, 136*XLEN/8, x14) + +inst_726: +// rs1_val==3689348814741910322 and rs2_val==7378697629483820646, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x6666666666666666 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x6666666666666666, x13, 137*XLEN/8, x14) + +inst_727: +// rs1_val==3037000500 and rs2_val==3037000500, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0xb504f334, 0xb504f334, x13, 138*XLEN/8, x14) + +inst_728: +// rs1_val==3689348814741910322 and rs2_val==2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x2 +TEST_RR_OP(div, x31, x30, x29, 0x1999999999999999, 0x3333333333333332, 0x2, x13, 139*XLEN/8, x14) + +inst_729: +// rs1_val==3689348814741910322 and rs2_val==6148914691236517204, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x5555555555555554 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x5555555555555554, x13, 140*XLEN/8, x14) + +inst_730: +// rs1_val==3689348814741910322 and rs2_val==3689348814741910322, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x3333333333333332 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3333333333333332, 0x3333333333333332, x13, 141*XLEN/8, x14) + +inst_731: +// rs1_val==3689348814741910322 and rs2_val==7378697629483820645, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x6666666666666665 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x6666666666666665, x13, 142*XLEN/8, x14) + +inst_732: +// rs1_val==3689348814741910322 and rs2_val==0, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x0 +TEST_RR_OP(div, x31, x30, x29, 0xFFFFFFFFFFFFFFFF, 0x3333333333333332, 0x0, x13, 143*XLEN/8, x14) + +inst_733: +// rs1_val==3689348814741910322 and rs2_val==6148914691236517206, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x5555555555555556 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x5555555555555556, x13, 144*XLEN/8, x14) + +inst_734: +// rs1_val==3689348814741910322 and rs2_val==3689348814741910324, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x3333333333333334 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x3333333333333334, x13, 145*XLEN/8, x14) + +inst_735: +// rs1_val==3689348814741910322 and rs2_val==7378697629483820647, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3333333333333332; op2val:0x6666666666666667 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0x3333333333333332, 0x6666666666666667, x13, 146*XLEN/8, x14) + +inst_736: +// rs1_val != rs2_val, rs1_val==3037000500 and rs2_val==-3037000498, rs1_val > 0 and rs2_val < 0 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, -0x1, 0xb504f334, -0xb504f332, x13, 147*XLEN/8, x14) + +inst_737: +// rs1_val < 0 and rs2_val < 0, rs1_val==-3037000498 and rs2_val==-3037000498, rs1_val == rs2_val +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:-0xb504f332 +TEST_RR_OP(div, x31, x30, x29, 0x1, -0xb504f332, -0xb504f332, x13, 148*XLEN/8, x14) + +inst_738: +// rs1_val < 0 and rs2_val > 0, rs1_val==-3037000498 and rs2_val==3037000500 +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:-0xb504f332; op2val:0xb504f334 +TEST_RR_OP(div, x31, x30, x29, 0x0, -0xb504f332, 0xb504f334, x13, 149*XLEN/8, x14) + +inst_739: +// rs1_val==3 and rs2_val==3, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0x3; op2val:0x3 +TEST_RR_OP(div, x31, x30, x29, 0x1, 0x3, 0x3, x13, 150*XLEN/8, x14) + +inst_740: +// rs2_val == -2, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0x2 +TEST_RR_OP(div, x31, x30, x29, -0x5a82799a, 0xb504f334, -0x2, x13, 151*XLEN/8, x14) + +inst_741: +// rs2_val == -18014398509481985, +// opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb504f334; op2val:-0x40000000000001 +TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb504f334, -0x40000000000001, x13, 152*XLEN/8, x14) #endif @@ -3432,62 +3754,66 @@ RVMODEL_HALT RVTEST_DATA_BEGIN .align 4 - rvtest_data: .word 0xbabecafe -.word 0xbabecafe -.word 0xbabecafe -.word 0xbabecafe +.word 0xabecafeb +.word 0xbecafeba +.word 0xecafebab RVTEST_DATA_END - RVMODEL_DATA_BEGIN rvtest_sig_begin: sig_begin_canary: CANARY; -signature_x15_0: - .fill 0*(XLEN/32),4,0xdeadbeef +signature_x1_0: + .fill 0*((XLEN/8)/4),4,0xdeadbeef -signature_x15_1: - .fill 17*(XLEN/32),4,0xdeadbeef + +signature_x1_1: + .fill 28*((XLEN/8)/4),4,0xdeadbeef + + +signature_x6_0: + .fill 24*((XLEN/8)/4),4,0xdeadbeef signature_x10_0: - .fill 14*(XLEN/32),4,0xdeadbeef + .fill 25*((XLEN/8)/4),4,0xdeadbeef -signature_x1_0: - .fill 256*(XLEN/32),4,0xdeadbeef +signature_x13_0: + .fill 256*((XLEN/8)/4),4,0xdeadbeef -signature_x1_1: - .fill 256*(XLEN/32),4,0xdeadbeef +signature_x13_1: + .fill 256*((XLEN/8)/4),4,0xdeadbeef -signature_x1_2: - .fill 135*(XLEN/32),4,0xdeadbeef +signature_x13_2: + .fill 153*((XLEN/8)/4),4,0xdeadbeef #ifdef rvtest_mtrap_routine - tsig_begin_canary: CANARY; + mtrap_sigptr: - .fill 64*(XLEN/32),4,0xdeadbeef + .fill 64*XLEN/32,4,0xdeadbeef + tsig_end_canary: CANARY; - #endif #ifdef rvtest_gpr_save gpr_save: - .fill 32*(XLEN/32),4,0xdeadbeef + .fill 32*XLEN/32,4,0xdeadbeef #endif + sig_end_canary: CANARY; rvtest_sig_end: From d81e9e49775a0db0b2349e4d8b0940e740bca396 Mon Sep 17 00:00:00 2001 From: MuhammadHammad001 Date: Fri, 29 Sep 2023 20:06:33 +0500 Subject: [PATCH 2/2] CHANGELOG updated --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d682b8bb..ee77eb6bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG - +## [3.7.3] - 2023-09-29 +- Added test RV32i_m/div-01.S and RV64i_m/div-01.S tests. +- Added tests for resolving missing coverage issue of harcoded registers[issue #306](https://github.com/riscv-non-isa/riscv-arch-test/issues/306) ## [3.7.0] - 2023-05-16 - Updated the LI macro - Make Trap handler compatible for RV32E