
// -----------
// This file was generated by riscv_ctg (https://github.com/riscv-software-src/riscv-ctg)
// version   : 0.11.0
// timestamp : Wed Aug  2 21:16:09 2023 GMT
// usage     : riscv_ctg \
//                  -- cgf //                  --cgf /home/abd/abd-data/riscv-ctg/sample_cgfs/dataset.cgf \
//                  --cgf /home/abd/abd-data/riscv-ctg/sample_cgfs/rv64ia.cgf \
 \
//                  -- xlen 64  \
// -----------
//
// -----------
// Copyright (c) 2020. RISC-V International. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
// -----------
//
// This assembly file tests the amominu.d instruction of the RISC-V RV64A extension for the amominu.d covergroup.
// 
#include "model_test.h"
#include "arch_test.h"
RVTEST_ISA("RV64IA")

.section .text.init
.globl rvtest_entry_point
rvtest_entry_point:
RVMODEL_BOOT
RVTEST_CODE_BEGIN

#ifdef TEST_CASE_1

RVTEST_CASE(0,"//check ISA:=regex(.*64.*);check ISA:=regex(.*I.*A.*);def TEST_CASE_1=True;",amominu.d)

RVTEST_SIGBASE(x1,signature_x1_1)

inst_0:
// rs1 == rd != rs2, rs1==x31, rs2==x30, rd==x31, rs2_val == (-2**(xlen-1)), rs2_val == -9223372036854775808
// opcode: amominu.d ; op1:x31; op2:x30; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x8000000000000000
TEST_AMO_OP(amominu.d, x31, x31, x30, 0xfffffffffffffbff, -0x8000000000000000, x1, 0*XLEN/8)

inst_1:
// rs2 == rd != rs1, rs1==x30, rs2==x29, rd==x29, rs2_val == (2**(xlen-1)-1), rs2_val == 9223372036854775807
// opcode: amominu.d ; op1:x30; op2:x29; dest:x29; op1val:0xfffffffffffffbff;  op2val:0x7fffffffffffffff
TEST_AMO_OP(amominu.d, x29, x30, x29, 0xfffffffffffffbff, 0x7fffffffffffffff, x1, 2*XLEN/8)

inst_2:
// rs1 != rs2  and rs1 != rd and rs2 != rd, rs1==x29, rs2==x31, rd==x30, rs2_val == 0, 
// opcode: amominu.d ; op1:x29; op2:x31; dest:x30; op1val:0xfffffffffffffbff;  op2val:0x0
TEST_AMO_OP(amominu.d, x30, x29, x31, 0xfffffffffffffbff, 0x0, x1, 4*XLEN/8)

inst_3:
// rs1==x28, rs2==x26, rd==x27, rs2_val == 1, 
// opcode: amominu.d ; op1:x28; op2:x26; dest:x27; op1val:0xfffffffffffffbff;  op2val:0x1
TEST_AMO_OP(amominu.d, x27, x28, x26, 0xfffffffffffffbff, 0x1, x1, 6*XLEN/8)

inst_4:
// rs1==x27, rs2==x28, rd==x26, rs2_val == 6148914691236517205, 
// opcode: amominu.d ; op1:x27; op2:x28; dest:x26; op1val:0xfffffffffffffbff;  op2val:0x5555555555555555
TEST_AMO_OP(amominu.d, x26, x27, x28, 0xfffffffffffffbff, 0x5555555555555555, x1, 8*XLEN/8)

inst_5:
// rs1==x26, rs2==x27, rd==x28, rs2_val == -6148914691236517206, 
// opcode: amominu.d ; op1:x26; op2:x27; dest:x28; op1val:0xfffffffffffffbff;  op2val:-0x5555555555555556
TEST_AMO_OP(amominu.d, x28, x26, x27, 0xfffffffffffffbff, -0x5555555555555556, x1, 10*XLEN/8)

inst_6:
// rs1==x25, rs2==x23, rd==x24, rs2_val == 2, 
// opcode: amominu.d ; op1:x25; op2:x23; dest:x24; op1val:0xfffffffffffffbff;  op2val:0x2
TEST_AMO_OP(amominu.d, x24, x25, x23, 0xfffffffffffffbff, 0x2, x1, 12*XLEN/8)

inst_7:
// rs1==x24, rs2==x25, rd==x23, rs2_val == -2, 
// opcode: amominu.d ; op1:x24; op2:x25; dest:x23; op1val:0xfffffffffffffbff;  op2val:-0x2
TEST_AMO_OP(amominu.d, x23, x24, x25, 0xfffffffffffffbff, -0x2, x1, 14*XLEN/8)

inst_8:
// rs1==x23, rs2==x24, rd==x25, rs2_val == -3, 
// opcode: amominu.d ; op1:x23; op2:x24; dest:x25; op1val:0xfffffffffffffbff;  op2val:-0x3
TEST_AMO_OP(amominu.d, x25, x23, x24, 0xfffffffffffffbff, -0x3, x1, 16*XLEN/8)

inst_9:
// rs1==x22, rs2==x20, rd==x21, rs2_val == -5, 
// opcode: amominu.d ; op1:x22; op2:x20; dest:x21; op1val:0xfffffffffffffbff;  op2val:-0x5
TEST_AMO_OP(amominu.d, x21, x22, x20, 0xfffffffffffffbff, -0x5, x1, 18*XLEN/8)

inst_10:
// rs1==x21, rs2==x22, rd==x20, rs2_val == -9, 
// opcode: amominu.d ; op1:x21; op2:x22; dest:x20; op1val:0xfffffffffffffbff;  op2val:-0x9
TEST_AMO_OP(amominu.d, x20, x21, x22, 0xfffffffffffffbff, -0x9, x1, 20*XLEN/8)

inst_11:
// rs1==x20, rs2==x21, rd==x22, rs2_val == -17, 
// opcode: amominu.d ; op1:x20; op2:x21; dest:x22; op1val:0xfffffffffffffbff;  op2val:-0x11
TEST_AMO_OP(amominu.d, x22, x20, x21, 0xfffffffffffffbff, -0x11, x1, 22*XLEN/8)

inst_12:
// rs1==x19, rs2==x17, rd==x18, rs2_val == -33, 
// opcode: amominu.d ; op1:x19; op2:x17; dest:x18; op1val:0xfffffffffffffbff;  op2val:-0x21
TEST_AMO_OP(amominu.d, x18, x19, x17, 0xfffffffffffffbff, -0x21, x1, 24*XLEN/8)

inst_13:
// rs1==x18, rs2==x19, rd==x17, rs2_val == -65, 
// opcode: amominu.d ; op1:x18; op2:x19; dest:x17; op1val:0xfffffffffffffbff;  op2val:-0x41
TEST_AMO_OP(amominu.d, x17, x18, x19, 0xfffffffffffffbff, -0x41, x1, 26*XLEN/8)

inst_14:
// rs1==x17, rs2==x18, rd==x19, rs2_val == -129, 
// opcode: amominu.d ; op1:x17; op2:x18; dest:x19; op1val:0xfffffffffffffbff;  op2val:-0x81
TEST_AMO_OP(amominu.d, x19, x17, x18, 0xfffffffffffffbff, -0x81, x1, 28*XLEN/8)

inst_15:
// rs1==x16, rs2==x14, rd==x15, rs2_val == -257, 
// opcode: amominu.d ; op1:x16; op2:x14; dest:x15; op1val:0xfffffffffffffbff;  op2val:-0x101
TEST_AMO_OP(amominu.d, x15, x16, x14, 0xfffffffffffffbff, -0x101, x1, 30*XLEN/8)

inst_16:
// rs1==x15, rs2==x16, rd==x14, rs2_val == -513, 
// opcode: amominu.d ; op1:x15; op2:x16; dest:x14; op1val:0xfffffffffffffbff;  op2val:-0x201
TEST_AMO_OP(amominu.d, x14, x15, x16, 0xfffffffffffffbff, -0x201, x1, 32*XLEN/8)

inst_17:
// rs1==x14, rs2==x15, rd==x16, rs2_val == -1025, 
// opcode: amominu.d ; op1:x14; op2:x15; dest:x16; op1val:0xfffffffffffffbff;  op2val:-0x401
TEST_AMO_OP(amominu.d, x16, x14, x15, 0xfffffffffffffbff, -0x401, x1, 34*XLEN/8)

inst_18:
// rs1==x13, rs2==x11, rd==x12, rs2_val == -2049, 
// opcode: amominu.d ; op1:x13; op2:x11; dest:x12; op1val:0xfffffffffffffbff;  op2val:-0x801
TEST_AMO_OP(amominu.d, x12, x13, x11, 0xfffffffffffffbff, -0x801, x1, 36*XLEN/8)

inst_19:
// rs1==x12, rs2==x13, rd==x11, rs2_val == -4097, 
// opcode: amominu.d ; op1:x12; op2:x13; dest:x11; op1val:0xfffffffffffffbff;  op2val:-0x1001
TEST_AMO_OP(amominu.d, x11, x12, x13, 0xfffffffffffffbff, -0x1001, x1, 38*XLEN/8)

inst_20:
// rs1==x11, rs2==x12, rd==x13, rs2_val == -8193, 
// opcode: amominu.d ; op1:x11; op2:x12; dest:x13; op1val:0xfffffffffffffbff;  op2val:-0x2001
TEST_AMO_OP(amominu.d, x13, x11, x12, 0xfffffffffffffbff, -0x2001, x1, 40*XLEN/8)

inst_21:
// rs1==x10, rs2==x8, rd==x9, rs2_val == -16385, 
// opcode: amominu.d ; op1:x10; op2:x8; dest:x9; op1val:0xfffffffffffffbff;  op2val:-0x4001
TEST_AMO_OP(amominu.d, x9, x10, x8, 0xfffffffffffffbff, -0x4001, x1, 42*XLEN/8)

inst_22:
// rs1==x9, rs2==x10, rd==x8, rs2_val == -32769, 
// opcode: amominu.d ; op1:x9; op2:x10; dest:x8; op1val:0xfffffffffffffbff;  op2val:-0x8001
TEST_AMO_OP(amominu.d, x8, x9, x10, 0xfffffffffffffbff, -0x8001, x1, 44*XLEN/8)

inst_23:
// rs1==x8, rs2==x9, rd==x10, rs2_val == -65537, 
// opcode: amominu.d ; op1:x8; op2:x9; dest:x10; op1val:0xfffffffffffffbff;  op2val:-0x10001
TEST_AMO_OP(amominu.d, x10, x8, x9, 0xfffffffffffffbff, -0x10001, x1, 46*XLEN/8)

inst_24:
// rs1==x7, rs2==x5, rd==x6, rs2_val == -131073, 
// opcode: amominu.d ; op1:x7; op2:x5; dest:x6; op1val:0xfffffffffffffbff;  op2val:-0x20001
TEST_AMO_OP(amominu.d, x6, x7, x5, 0xfffffffffffffbff, -0x20001, x1, 48*XLEN/8)
RVTEST_SIGBASE(x8,signature_x8_0)

inst_25:
// rs1==x6, rs2==x7, rd==x5, rs2_val == -262145, 
// opcode: amominu.d ; op1:x6; op2:x7; dest:x5; op1val:0xfffffffffffffbff;  op2val:-0x40001
TEST_AMO_OP(amominu.d, x5, x6, x7, 0xfffffffffffffbff, -0x40001, x8, 0*XLEN/8)

inst_26:
// rs1==x5, rs2==x6, rd==x7, rs2_val == -524289, 
// opcode: amominu.d ; op1:x5; op2:x6; dest:x7; op1val:0xfffffffffffffbff;  op2val:-0x80001
TEST_AMO_OP(amominu.d, x7, x5, x6, 0xfffffffffffffbff, -0x80001, x8, 2*XLEN/8)

inst_27:
// rs1==x4, rs2==x2, rd==x3, rs2_val == -1048577, 
// opcode: amominu.d ; op1:x4; op2:x2; dest:x3; op1val:0xfffffffffffffbff;  op2val:-0x100001
TEST_AMO_OP(amominu.d, x3, x4, x2, 0xfffffffffffffbff, -0x100001, x8, 4*XLEN/8)

inst_28:
// rs1==x3, rs2==x4, rd==x2, rs2_val == -2097153, 
// opcode: amominu.d ; op1:x3; op2:x4; dest:x2; op1val:0xfffffffffffffbff;  op2val:-0x200001
TEST_AMO_OP(amominu.d, x2, x3, x4, 0xfffffffffffffbff, -0x200001, x8, 6*XLEN/8)

inst_29:
// rs1==x2, rs2==x3, rd==x4, rs2_val == -4194305, 
// opcode: amominu.d ; op1:x2; op2:x3; dest:x4; op1val:0xfffffffffffffbff;  op2val:-0x400001
TEST_AMO_OP(amominu.d, x4, x2, x3, 0xfffffffffffffbff, -0x400001, x8, 8*XLEN/8)

inst_30:
// rs1==x1, rs2_val == -8388609, 
// opcode: amominu.d ; op1:x1; op2:x30; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x800001
TEST_AMO_OP(amominu.d, x31, x1, x30, 0xfffffffffffffbff, -0x800001, x8, 10*XLEN/8)

inst_31:
// rs2==x1, rs2_val == -16777217, 
// opcode: amominu.d ; op1:x30; op2:x1; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x1000001
TEST_AMO_OP(amominu.d, x31, x30, x1, 0xfffffffffffffbff, -0x1000001, x8, 12*XLEN/8)

inst_32:
// rs2==x0, rs2_val == -33554433, 
// opcode: amominu.d ; op1:x30; op2:x0; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x0
TEST_AMO_OP(amominu.d, x31, x30, x0, 0xfffffffffffffbff, 0x0, x8, 14*XLEN/8)

inst_33:
// rd==x1, rs2_val == -67108865, 
// opcode: amominu.d ; op1:x31; op2:x30; dest:x1; op1val:0xfffffffffffffbff;  op2val:-0x4000001
TEST_AMO_OP(amominu.d, x1, x31, x30, 0xfffffffffffffbff, -0x4000001, x8, 16*XLEN/8)

inst_34:
// rd==x0, rs2_val == -134217729, 
// opcode: amominu.d ; op1:x31; op2:x30; dest:x0; op1val:0xfffffffffffffbff;  op2val:-0x8000001
TEST_AMO_OP(amominu.d, x0, x31, x30, 0xfffffffffffffbff, -0x8000001, x8, 18*XLEN/8)

inst_35:
// rs2_val == -268435457, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x10000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x10000001, x8, 20*XLEN/8)

inst_36:
// rs2_val == -536870913, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x20000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x20000001, x8, 22*XLEN/8)

inst_37:
// rs2_val == -1073741825, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x40000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x40000001, x8, 24*XLEN/8)

inst_38:
// rs2_val == -2147483649, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x80000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x80000001, x8, 26*XLEN/8)

inst_39:
// rs2_val == -4294967297, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x100000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x100000001, x8, 28*XLEN/8)

inst_40:
// rs2_val == -8589934593, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x200000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x200000001, x8, 30*XLEN/8)

inst_41:
// rs2_val == -17179869185, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x400000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x400000001, x8, 32*XLEN/8)

inst_42:
// rs2_val == -34359738369, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x800000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x800000001, x8, 34*XLEN/8)

inst_43:
// rs2_val == -68719476737, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x1000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x1000000001, x8, 36*XLEN/8)

inst_44:
// rs2_val == -137438953473, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x2000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x2000000001, x8, 38*XLEN/8)

inst_45:
// rs2_val == -274877906945, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x4000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x4000000001, x8, 40*XLEN/8)

inst_46:
// rs2_val == -549755813889, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x8000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x8000000001, x8, 42*XLEN/8)

inst_47:
// rs2_val == -1099511627777, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x10000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x10000000001, x8, 44*XLEN/8)

inst_48:
// rs2_val == -2199023255553, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x20000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x20000000001, x8, 46*XLEN/8)

inst_49:
// rs2_val == -4398046511105, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x40000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x40000000001, x8, 48*XLEN/8)

inst_50:
// rs2_val == -8796093022209, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x80000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x80000000001, x8, 50*XLEN/8)

inst_51:
// rs2_val == -17592186044417, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x100000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x100000000001, x8, 52*XLEN/8)

inst_52:
// rs2_val == -35184372088833, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x200000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x200000000001, x8, 54*XLEN/8)

inst_53:
// rs2_val == -70368744177665, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x400000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x400000000001, x8, 56*XLEN/8)

inst_54:
// rs2_val == -140737488355329, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x800000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x800000000001, x8, 58*XLEN/8)

inst_55:
// rs2_val == -281474976710657, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x1000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x1000000000001, x8, 60*XLEN/8)

inst_56:
// rs2_val == -562949953421313, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x2000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x2000000000001, x8, 62*XLEN/8)

inst_57:
// rs2_val == -1125899906842625, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x4000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x4000000000001, x8, 64*XLEN/8)

inst_58:
// rs2_val == -2251799813685249, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x8000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x8000000000001, x8, 66*XLEN/8)

inst_59:
// rs2_val == -4503599627370497, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x10000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x10000000000001, x8, 68*XLEN/8)

inst_60:
// rs2_val == -9007199254740993, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x20000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x20000000000001, x8, 70*XLEN/8)

inst_61:
// rs2_val == -18014398509481985, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x40000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x40000000000001, x8, 72*XLEN/8)

inst_62:
// rs2_val == -36028797018963969, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x80000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x80000000000001, x8, 74*XLEN/8)

inst_63:
// rs2_val == -72057594037927937, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x100000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x100000000000001, x8, 76*XLEN/8)

inst_64:
// rs2_val == -144115188075855873, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x200000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x200000000000001, x8, 78*XLEN/8)

inst_65:
// rs2_val == -288230376151711745, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x400000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x400000000000001, x8, 80*XLEN/8)

inst_66:
// rs2_val == -576460752303423489, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x800000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x800000000000001, x8, 82*XLEN/8)

inst_67:
// rs2_val == -1152921504606846977, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x1000000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x1000000000000001, x8, 84*XLEN/8)

inst_68:
// rs2_val == 576460752303423488, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x800000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x800000000000000, x8, 86*XLEN/8)

inst_69:
// rs2_val == 1152921504606846976, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x1000000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x1000000000000000, x8, 88*XLEN/8)

inst_70:
// rs2_val == 2305843009213693952, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x2000000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x2000000000000000, x8, 90*XLEN/8)

inst_71:
// rs2_val == 4611686018427387904, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x4000000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x4000000000000000, x8, 92*XLEN/8)

inst_72:
// rs2_val == -2305843009213693953, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x2000000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x2000000000000001, x8, 94*XLEN/8)

inst_73:
// rs2_val == -4611686018427387905, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x4000000000000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x4000000000000001, x8, 96*XLEN/8)

inst_74:
// rs2_val == 4, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x4
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x4, x8, 98*XLEN/8)

inst_75:
// rs2_val == 8, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x8
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x8, x8, 100*XLEN/8)

inst_76:
// rs2_val == 16, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x10
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x10, x8, 102*XLEN/8)

inst_77:
// rs2_val == 32, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x20
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x20, x8, 104*XLEN/8)

inst_78:
// rs2_val == 64, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x40
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x40, x8, 106*XLEN/8)

inst_79:
// rs2_val == 128, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x80
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x80, x8, 108*XLEN/8)

inst_80:
// rs2_val == 256, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x100
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x100, x8, 110*XLEN/8)

inst_81:
// rs2_val == 512, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x200
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x200, x8, 112*XLEN/8)

inst_82:
// rs2_val == 1024, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x400
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x400, x8, 114*XLEN/8)

inst_83:
// rs2_val == 2048, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x800
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x800, x8, 116*XLEN/8)

inst_84:
// rs2_val == 4096, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x1000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x1000, x8, 118*XLEN/8)

inst_85:
// rs2_val == 8192, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x2000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x2000, x8, 120*XLEN/8)

inst_86:
// rs2_val == 16384, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x4000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x4000, x8, 122*XLEN/8)

inst_87:
// rs2_val == 32768, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x8000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x8000, x8, 124*XLEN/8)

inst_88:
// rs2_val == 65536, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x10000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x10000, x8, 126*XLEN/8)

inst_89:
// rs2_val == 131072, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x20000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x20000, x8, 128*XLEN/8)

inst_90:
// rs2_val == 262144, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x40000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x40000, x8, 130*XLEN/8)

inst_91:
// rs2_val == 524288, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x80000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x80000, x8, 132*XLEN/8)

inst_92:
// rs2_val == 1048576, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x100000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x100000, x8, 134*XLEN/8)

inst_93:
// rs2_val == 2097152, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x200000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x200000, x8, 136*XLEN/8)

inst_94:
// rs2_val == 4194304, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x400000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x400000, x8, 138*XLEN/8)

inst_95:
// rs2_val == 8388608, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x800000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x800000, x8, 140*XLEN/8)

inst_96:
// rs2_val == 16777216, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x1000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x1000000, x8, 142*XLEN/8)

inst_97:
// rs2_val == 33554432, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x2000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x2000000, x8, 144*XLEN/8)

inst_98:
// rs2_val == 67108864, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x4000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x4000000, x8, 146*XLEN/8)

inst_99:
// rs2_val == 134217728, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x8000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x8000000, x8, 148*XLEN/8)

inst_100:
// rs2_val == 268435456, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x10000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x10000000, x8, 150*XLEN/8)

inst_101:
// rs2_val == 536870912, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x20000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x20000000, x8, 152*XLEN/8)

inst_102:
// rs2_val == 1073741824, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x40000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x40000000, x8, 154*XLEN/8)

inst_103:
// rs2_val == 2147483648, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x80000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x80000000, x8, 156*XLEN/8)

inst_104:
// rs2_val == 4294967296, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x100000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x100000000, x8, 158*XLEN/8)

inst_105:
// rs2_val == 8589934592, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x200000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x200000000, x8, 160*XLEN/8)

inst_106:
// rs2_val == 17179869184, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x400000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x400000000, x8, 162*XLEN/8)

inst_107:
// rs2_val == 34359738368, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x800000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x800000000, x8, 164*XLEN/8)

inst_108:
// rs2_val == 68719476736, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x1000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x1000000000, x8, 166*XLEN/8)

inst_109:
// rs2_val == 137438953472, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x2000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x2000000000, x8, 168*XLEN/8)

inst_110:
// rs2_val == 274877906944, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x4000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x4000000000, x8, 170*XLEN/8)

inst_111:
// rs2_val == 549755813888, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x8000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x8000000000, x8, 172*XLEN/8)

inst_112:
// rs2_val == 1099511627776, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x10000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x10000000000, x8, 174*XLEN/8)

inst_113:
// rs2_val == 2199023255552, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x20000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x20000000000, x8, 176*XLEN/8)

inst_114:
// rs2_val == 4398046511104, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x40000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x40000000000, x8, 178*XLEN/8)

inst_115:
// rs2_val == 8796093022208, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x80000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x80000000000, x8, 180*XLEN/8)

inst_116:
// rs2_val == 17592186044416, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x100000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x100000000000, x8, 182*XLEN/8)

inst_117:
// rs2_val == 35184372088832, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x200000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x200000000000, x8, 184*XLEN/8)

inst_118:
// rs2_val == 70368744177664, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x400000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x400000000000, x8, 186*XLEN/8)

inst_119:
// rs2_val == 140737488355328, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x800000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x800000000000, x8, 188*XLEN/8)

inst_120:
// rs2_val == 281474976710656, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x1000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x1000000000000, x8, 190*XLEN/8)

inst_121:
// rs2_val == 562949953421312, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x2000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x2000000000000, x8, 192*XLEN/8)

inst_122:
// rs2_val == 1125899906842624, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x4000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x4000000000000, x8, 194*XLEN/8)

inst_123:
// rs2_val == 2251799813685248, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x8000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x8000000000000, x8, 196*XLEN/8)

inst_124:
// rs2_val == 4503599627370496, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x10000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x10000000000000, x8, 198*XLEN/8)

inst_125:
// rs2_val == 9007199254740992, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x20000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x20000000000000, x8, 200*XLEN/8)

inst_126:
// rs2_val == 18014398509481984, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x40000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x40000000000000, x8, 202*XLEN/8)

inst_127:
// rs2_val == 36028797018963968, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x80000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x80000000000000, x8, 204*XLEN/8)

inst_128:
// rs2_val == 72057594037927936, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x100000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x100000000000000, x8, 206*XLEN/8)

inst_129:
// rs2_val == 144115188075855872, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x200000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x200000000000000, x8, 208*XLEN/8)

inst_130:
// rs2_val == 288230376151711744, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:0x400000000000000
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, 0x400000000000000, x8, 210*XLEN/8)

inst_131:
// rs2_val == -33554433, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x2000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x2000001, x8, 212*XLEN/8)

inst_132:
// rs2_val == -134217729, 
// opcode: amominu.d ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffffffffbff;  op2val:-0x8000001
TEST_AMO_OP(amominu.d, x31, x30, x29, 0xfffffffffffffbff, -0x8000001, x8, 214*XLEN/8)
#endif


RVTEST_CODE_END
RVMODEL_HALT

RVTEST_DATA_BEGIN
.align 4
rvtest_data:
.word 0xbabecafe
.word 0xabecafeb
.word 0xbecafeba
.word 0xecafebab
RVTEST_DATA_END

RVMODEL_DATA_BEGIN
rvtest_sig_begin:
sig_begin_canary:
CANARY;



signature_x1_0:
    .fill 0*((XLEN/8)/4),4,0xdeadbeef


signature_x1_1:
    .fill 50*((XLEN/8)/4),4,0xdeadbeef


signature_x8_0:
    .fill 216*((XLEN/8)/4),4,0xdeadbeef

#ifdef rvtest_mtrap_routine
tsig_begin_canary:
CANARY;

mtrap_sigptr:
    .fill 64*XLEN/32,4,0xdeadbeef

tsig_end_canary:
CANARY;
#endif

#ifdef rvtest_gpr_save

gpr_save:
    .fill 32*XLEN/32,4,0xdeadbeef

#endif


sig_end_canary:
CANARY;
rvtest_sig_end:
RVMODEL_DATA_END
