// -----------
// This file was generated by riscv_ctg (https://gitlab.com/incoresemi/riscv-compliance/riscv_ctg)
// version   : 0.4.5
// timestamp : Thu May 20 05:54:26 2021 GMT
// usage     : riscv_ctg \
//                  --cgf /scratch/git-repo/github/riscv-ctg/sample_cgfs/dataset.cgf \
//                  --cgf /scratch/git-repo/github/riscv-ctg/sample_cgfs/rv32i_k.cgf \
//                  --base-isa rv32i \
//                  --randomize
// -----------
//
// -----------
// Copyright (c) 2021. Indian Institute of Technology Madras. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
// -----------
//
// This assembly file tests the grevi instruction of the RISC-V  extension for the rev.b covergroup.
// 
#include "model_test.h"
#include "arch_test.h"
RVTEST_ISA("RV32I")

.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(.*32.*);check ISA:=regex(.*I.*K.*);def TEST_CASE_1=True;",rev.b)

RVTEST_CASE(1,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*ZKs.*);def TEST_CASE_1=True;",rev.b)

RVTEST_CASE(2,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*ZKn.*);def TEST_CASE_1=True;",rev.b)

RVTEST_CASE(3,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*ZKb.*);def TEST_CASE_1=True;",rev.b)

RVTEST_SIGBASE( x1,signature_x1_1)

inst_0:
// rs1 != rd, rs1==x16, rd==x10, rs1_val == 0xFFFFFFFF 
// opcode: grevi ; op1:x16; dest:x10; op1val:0xffffffff;
li x16, 0xffffffff
grevi x10, x16, 7
sw x10, 0(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x10, 0x00000000)

inst_1:
// rs1 == rd, rs1==x23, rd==x23, rs1_val == 0x00000000 
// opcode: grevi ; op1:x23; dest:x23; op1val:0x0;
li x23, 0x0
grevi x23, x23, 7
sw x23, 4(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x23, 0x00000000)

inst_2:
// rs1==x20, rd==x22, rs1_val == 0x80000000 
// opcode: grevi ; op1:x20; dest:x22; op1val:0x80000000;
li x20, 0x80000000
grevi x22, x20, 7
sw x22, 8(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x22, 0x00000000)

inst_3:
// rs1==x11, rd==x15, rs1_val == 0x40000000 
// opcode: grevi ; op1:x11; dest:x15; op1val:0x40000000;
li x11, 0x40000000
grevi x15, x11, 7
sw x15, 12(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x15, 0x00000000)

inst_4:
// rs1==x19, rd==x11, rs1_val == 0xA0000000 
// opcode: grevi ; op1:x19; dest:x11; op1val:0xa0000000;
li x19, 0xa0000000
grevi x11, x19, 7
sw x11, 16(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x11, 0x00000000)

inst_5:
// rs1==x28, rd==x30, rs1_val == 0x90000000 
// opcode: grevi ; op1:x28; dest:x30; op1val:0x90000000;
li x28, 0x90000000
grevi x30, x28, 7
sw x30, 20(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x30, 0x00000000)

inst_6:
// rs1==x8, rd==x4, rs1_val == 0xC8000000 
// opcode: grevi ; op1:x8; dest:x4; op1val:0xc8000000;
li x8, 0xc8000000
grevi x4, x8, 7
sw x4, 24(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x4, 0x00000000)

inst_7:
// rs1==x4, rd==x6, rs1_val == 0x2C000000 
// opcode: grevi ; op1:x4; dest:x6; op1val:0x2c000000;
li x4, 0x2c000000
grevi x6, x4, 7
sw x6, 28(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x6, 0x00000000)

inst_8:
// rs1==x13, rd==x27, rs1_val == 0xAE000000 
// opcode: grevi ; op1:x13; dest:x27; op1val:0xae000000;
li x13, 0xae000000
grevi x27, x13, 7
sw x27, 32(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x27, 0x00000000)

inst_9:
// rs1==x25, rd==x29, rs1_val == 0x43000000 
// opcode: grevi ; op1:x25; dest:x29; op1val:0x43000000;
li x25, 0x43000000
grevi x29, x25, 7
sw x29, 36(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x29, 0x00000000)

inst_10:
// rs1==x9, rd==x12, rs1_val == 0xF1800000 
// opcode: grevi ; op1:x9; dest:x12; op1val:0xf1800000;
li x9, 0xf1800000
grevi x12, x9, 7
sw x12, 40(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x12, 0x00000000)

inst_11:
// rs1==x2, rd==x3, rs1_val == 0xAEC00000 
// opcode: grevi ; op1:x2; dest:x3; op1val:0xaec00000;
li x2, 0xaec00000
grevi x3, x2, 7
sw x3, 44(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x3, 0x00000000)

inst_12:
// rs1==x30, rd==x17, rs1_val == 0x99200000 
// opcode: grevi ; op1:x30; dest:x17; op1val:0x99200000;
li x30, 0x99200000
grevi x17, x30, 7
sw x17, 48(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x17, 0x00000000)

inst_13:
// rs1==x26, rd==x16, rs1_val == 0xB0700000 
// opcode: grevi ; op1:x26; dest:x16; op1val:0xb0700000;
li x26, 0xb0700000
grevi x16, x26, 7
sw x16, 52(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x16, 0x00000000)

inst_14:
// rs1==x21, rd==x24, rs1_val == 0x35880000 
// opcode: grevi ; op1:x21; dest:x24; op1val:0x35880000;
li x21, 0x35880000
grevi x24, x21, 7
sw x24, 56(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x24, 0x00000000)

inst_15:
// rs1==x10, rd==x14, rs1_val == 0x5ACC0000 
// opcode: grevi ; op1:x10; dest:x14; op1val:0x5acc0000;
li x10, 0x5acc0000
grevi x14, x10, 7
sw x14, 60(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x14, 0x00000000)

inst_16:
// rs1==x27, rd==x13, rs1_val == 0x5E3A0000 
// opcode: grevi ; op1:x27; dest:x13; op1val:0x5e3a0000;
li x27, 0x5e3a0000
grevi x13, x27, 7
sw x13, 64(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x13, 0x00000000)

inst_17:
// rs1==x18, rd==x25, rs1_val == 0xAE1D0000 
// opcode: grevi ; op1:x18; dest:x25; op1val:0xae1d0000;
li x18, 0xae1d0000
grevi x25, x18, 7
sw x25, 68(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x5, x25, 0x00000000)

inst_18:
// rs1==x14, rd==x20, rs1_val == 0x6EB38000 
// opcode: grevi ; op1:x14; dest:x20; op1val:0x6eb38000;
li x14, 0x6eb38000
grevi x20, x14, 7
sw x20, 72(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x20, 0x00000000)

inst_19:
// rs1==x31, rd==x2, rs1_val == 0xBE164000 
// opcode: grevi ; op1:x31; dest:x2; op1val:0xbe164000;
li x31, 0xbe164000
grevi x2, x31, 7
sw x2, 76(x1)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x2, 0x00000000)
RVTEST_SIGBASE( x2,signature_x2_0)

inst_20:
// rs1==x5, rd==x0, rs1_val == 0xCDF1A000 
// opcode: grevi ; op1:x5; dest:x0; op1val:0xcdf1a000;
li x5, 0xcdf1a000
grevi x0, x5, 7
sw x0, 0(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x0, 0x00000000)

inst_21:
// rs1==x6, rd==x9, rs1_val == 0x804DD000 
// opcode: grevi ; op1:x6; dest:x9; op1val:0x804dd000;
li x6, 0x804dd000
grevi x9, x6, 7
sw x9, 4(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x9, 0x00000000)

inst_22:
// rs1==x7, rd==x26, rs1_val == 0x3D4F1800 
// opcode: grevi ; op1:x7; dest:x26; op1val:0x3d4f1800;
li x7, 0x3d4f1800
grevi x26, x7, 7
sw x26, 8(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x26, 0x00000000)

inst_23:
// rs1==x0, rd==x19, rs1_val == 0xBFA44C00 
// opcode: grevi ; op1:x0; dest:x19; op1val:0x0;
li x0, 0x0
grevi x19, x0, 7
sw x19, 12(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x19, 0x00000000)

inst_24:
// rs1==x3, rd==x28, rs1_val == 0x4544FA00 
// opcode: grevi ; op1:x3; dest:x28; op1val:0x4544fa00;
li x3, 0x4544fa00
grevi x28, x3, 7
sw x28, 16(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x28, 0x00000000)

inst_25:
// rs1==x24, rd==x1, rs1_val == 0xC7BFF300 
// opcode: grevi ; op1:x24; dest:x1; op1val:0xc7bff300;
li x24, 0xc7bff300
grevi x1, x24, 7
sw x1, 20(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x1, 0x00000000)

inst_26:
// rs1==x22, rd==x31, rs1_val == 0xD99D0080 
// opcode: grevi ; op1:x22; dest:x31; op1val:0xd99d0080;
li x22, 0xd99d0080
grevi x31, x22, 7
sw x31, 24(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x31, 0x00000000)

inst_27:
// rs1==x15, rd==x5, rs1_val == 0x205D39C0 
// opcode: grevi ; op1:x15; dest:x5; op1val:0x205d39c0;
li x15, 0x205d39c0
grevi x5, x15, 7
sw x5, 28(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x5, 0x00000000)

inst_28:
// rs1==x12, rd==x21, rs1_val == 0x31711BA0 
// opcode: grevi ; op1:x12; dest:x21; op1val:0x31711ba0;
li x12, 0x31711ba0
grevi x21, x12, 7
sw x21, 32(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x21, 0x00000000)

inst_29:
// rs1==x29, rd==x18, rs1_val == 0xA99E07B0 
// opcode: grevi ; op1:x29; dest:x18; op1val:0xa99e07b0;
li x29, 0xa99e07b0
grevi x18, x29, 7
sw x18, 36(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x18, 0x00000000)

inst_30:
// rs1==x1, rd==x7, rs1_val == 0x3BA8EA68 
// opcode: grevi ; op1:x1; dest:x7; op1val:0x3ba8ea68;
li x1, 0x3ba8ea68
grevi x7, x1, 7
sw x7, 40(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x7, 0x00000000)

inst_31:
// rs1==x17, rd==x8, rs1_val == 0xA14078B4 
// opcode: grevi ; op1:x17; dest:x8; op1val:0xa14078b4;
li x17, 0xa14078b4
grevi x8, x17, 7
sw x8, 44(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x8, 0x00000000)

inst_32:
// rs1_val == 0x89B9B4D6 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x89b9b4d6;
li x10, 0x89b9b4d6
grevi x11, x10, 7
sw x11, 48(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_33:
// rs1_val == 0x797D76DF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x797d76df;
li x10, 0x797d76df
grevi x11, x10, 7
sw x11, 52(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_34:
// rs1_val == 0x03B1D74C 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x3b1d74c;
li x10, 0x3b1d74c
grevi x11, x10, 7
sw x11, 56(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_35:
// rs1_val == 0xFF7D5EC1 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xff7d5ec1;
li x10, 0xff7d5ec1
grevi x11, x10, 7
sw x11, 60(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_36:
// rs1_val == 0x9BC03E23 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x9bc03e23;
li x10, 0x9bc03e23
grevi x11, x10, 7
sw x11, 64(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_37:
// rs1_val == 0xAF2529C7 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xaf2529c7;
li x10, 0xaf2529c7
grevi x11, x10, 7
sw x11, 68(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_38:
// rs1_val == 0xD670A82F 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xd670a82f;
li x10, 0xd670a82f
grevi x11, x10, 7
sw x11, 72(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_39:
// rs1_val == 0x2054FA9F 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2054fa9f;
li x10, 0x2054fa9f
grevi x11, x10, 7
sw x11, 76(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_40:
// rs1_val == 0x6E7C0C3F 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x6e7c0c3f;
li x10, 0x6e7c0c3f
grevi x11, x10, 7
sw x11, 80(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_41:
// rs1_val == 0x07AC5F7F 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x7ac5f7f;
li x10, 0x7ac5f7f
grevi x11, x10, 7
sw x11, 84(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_42:
// rs1_val == 0x4B6EA0FF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x4b6ea0ff;
li x10, 0x4b6ea0ff
grevi x11, x10, 7
sw x11, 88(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_43:
// rs1_val == 0xBEA425FF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xbea425ff;
li x10, 0xbea425ff
grevi x11, x10, 7
sw x11, 92(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_44:
// rs1_val == 0x36C2A3FF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x36c2a3ff;
li x10, 0x36c2a3ff
grevi x11, x10, 7
sw x11, 96(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_45:
// rs1_val == 0xD885B7FF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xd885b7ff;
li x10, 0xd885b7ff
grevi x11, x10, 7
sw x11, 100(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_46:
// rs1_val == 0x88042FFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x88042fff;
li x10, 0x88042fff
grevi x11, x10, 7
sw x11, 104(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_47:
// rs1_val == 0x12219FFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x12219fff;
li x10, 0x12219fff
grevi x11, x10, 7
sw x11, 108(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_48:
// rs1_val == 0x2155BFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2155bfff;
li x10, 0x2155bfff
grevi x11, x10, 7
sw x11, 112(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_49:
// rs1_val == 0x2FF77FFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2ff77fff;
li x10, 0x2ff77fff
grevi x11, x10, 7
sw x11, 116(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_50:
// rs1_val == 0xBBE8FFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xbbe8ffff;
li x10, 0xbbe8ffff
grevi x11, x10, 7
sw x11, 120(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_51:
// rs1_val == 0xA415FFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xa415ffff;
li x10, 0xa415ffff
grevi x11, x10, 7
sw x11, 124(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_52:
// rs1_val == 0x39A3FFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x39a3ffff;
li x10, 0x39a3ffff
grevi x11, x10, 7
sw x11, 128(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_53:
// rs1_val == 0xDE87FFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xde87ffff;
li x10, 0xde87ffff
grevi x11, x10, 7
sw x11, 132(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_54:
// rs1_val == 0x25AFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x25afffff;
li x10, 0x25afffff
grevi x11, x10, 7
sw x11, 136(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_55:
// rs1_val == 0xAA9FFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xaa9fffff;
li x10, 0xaa9fffff
grevi x11, x10, 7
sw x11, 140(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_56:
// rs1_val == 0x3B3FFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x3b3fffff;
li x10, 0x3b3fffff
grevi x11, x10, 7
sw x11, 144(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_57:
// rs1_val == 0xA67FFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xa67fffff;
li x10, 0xa67fffff
grevi x11, x10, 7
sw x11, 148(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_58:
// rs1_val == 0x2EFFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2effffff;
li x10, 0x2effffff
grevi x11, x10, 7
sw x11, 152(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_59:
// rs1_val == 0xE1FFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xe1ffffff;
li x10, 0xe1ffffff
grevi x11, x10, 7
sw x11, 156(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_60:
// rs1_val == 0xDBFFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xdbffffff;
li x10, 0xdbffffff
grevi x11, x10, 7
sw x11, 160(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_61:
// rs1_val == 0xC7FFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xc7ffffff;
li x10, 0xc7ffffff
grevi x11, x10, 7
sw x11, 164(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_62:
// rs1_val == 0xAFFFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xafffffff;
li x10, 0xafffffff
grevi x11, x10, 7
sw x11, 168(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_63:
// rs1_val == 0xDFFFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xdfffffff;
li x10, 0xdfffffff
grevi x11, x10, 7
sw x11, 172(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_64:
// rs1_val == 0xBFFFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xbfffffff;
li x10, 0xbfffffff
grevi x11, x10, 7
sw x11, 176(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_65:
// rs1_val == 0x7FFFFFFF 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x7fffffff;
li x10, 0x7fffffff
grevi x11, x10, 7
sw x11, 180(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_66:
// rs1_val == 0xFB710735 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfb710735;
li x10, 0xfb710735
grevi x11, x10, 7
sw x11, 184(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_67:
// rs1_val == 0x586E86CC 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x586e86cc;
li x10, 0x586e86cc
grevi x11, x10, 7
sw x11, 188(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_68:
// rs1_val == 0x2AB8AB68 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2ab8ab68;
li x10, 0x2ab8ab68
grevi x11, x10, 7
sw x11, 192(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_69:
// rs1_val == 0x126B7F63 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x126b7f63;
li x10, 0x126b7f63
grevi x11, x10, 7
sw x11, 196(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_70:
// rs1_val == 0x09852F28 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x9852f28;
li x10, 0x9852f28
grevi x11, x10, 7
sw x11, 200(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_71:
// rs1_val == 0x07EFF9C1 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x7eff9c1;
li x10, 0x7eff9c1
grevi x11, x10, 7
sw x11, 204(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_72:
// rs1_val == 0x0344DD40 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x344dd40;
li x10, 0x344dd40
grevi x11, x10, 7
sw x11, 208(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_73:
// rs1_val == 0x01E7D160 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x1e7d160;
li x10, 0x1e7d160
grevi x11, x10, 7
sw x11, 212(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_74:
// rs1_val == 0x00B62F26 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xb62f26;
li x10, 0xb62f26
grevi x11, x10, 7
sw x11, 216(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_75:
// rs1_val == 0x004CAF9D 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x4caf9d;
li x10, 0x4caf9d
grevi x11, x10, 7
sw x11, 220(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_76:
// rs1_val == 0x002BB482 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2bb482;
li x10, 0x2bb482
grevi x11, x10, 7
sw x11, 224(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_77:
// rs1_val == 0x0013EDC7 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x13edc7;
li x10, 0x13edc7
grevi x11, x10, 7
sw x11, 228(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_78:
// rs1_val == 0x00087994 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x87994;
li x10, 0x87994
grevi x11, x10, 7
sw x11, 232(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_79:
// rs1_val == 0x00051426 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x51426;
li x10, 0x51426
grevi x11, x10, 7
sw x11, 236(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_80:
// rs1_val == 0x00028854 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x28854;
li x10, 0x28854
grevi x11, x10, 7
sw x11, 240(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_81:
// rs1_val == 0x000167EE 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x167ee;
li x10, 0x167ee
grevi x11, x10, 7
sw x11, 244(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_82:
// rs1_val == 0x0000FE7A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfe7a;
li x10, 0xfe7a
grevi x11, x10, 7
sw x11, 248(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_83:
// rs1_val == 0x00005E87 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x5e87;
li x10, 0x5e87
grevi x11, x10, 7
sw x11, 252(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_84:
// rs1_val == 0x000031C3 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x31c3;
li x10, 0x31c3
grevi x11, x10, 7
sw x11, 256(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_85:
// rs1_val == 0x0000192A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x192a;
li x10, 0x192a
grevi x11, x10, 7
sw x11, 260(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_86:
// rs1_val == 0x00000E79 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xe79;
li x10, 0xe79
grevi x11, x10, 7
sw x11, 264(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_87:
// rs1_val == 0x0000077A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x77a;
li x10, 0x77a
grevi x11, x10, 7
sw x11, 268(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_88:
// rs1_val == 0x00000233 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x233;
li x10, 0x233
grevi x11, x10, 7
sw x11, 272(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_89:
// rs1_val == 0x00000151 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x151;
li x10, 0x151
grevi x11, x10, 7
sw x11, 276(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_90:
// rs1_val == 0x000000BE 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xbe;
li x10, 0xbe
grevi x11, x10, 7
sw x11, 280(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_91:
// rs1_val == 0x00000077 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x77;
li x10, 0x77
grevi x11, x10, 7
sw x11, 284(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_92:
// rs1_val == 0x00000022 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x22;
li x10, 0x22
grevi x11, x10, 7
sw x11, 288(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_93:
// rs1_val == 0x00000016 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x16;
li x10, 0x16
grevi x11, x10, 7
sw x11, 292(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_94:
// rs1_val == 0x0000000E 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xe;
li x10, 0xe
grevi x11, x10, 7
sw x11, 296(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_95:
// rs1_val == 0x00000004 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x4;
li x10, 0x4
grevi x11, x10, 7
sw x11, 300(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_96:
// rs1_val == 0x00000002 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x2;
li x10, 0x2
grevi x11, x10, 7
sw x11, 304(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_97:
// rs1_val == 0x00000001 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x1;
li x10, 0x1
grevi x11, x10, 7
sw x11, 308(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_98:
// rs1_val == 0x61B0EE0A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x61b0ee0a;
li x10, 0x61b0ee0a
grevi x11, x10, 7
sw x11, 312(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_99:
// rs1_val == 0x9AE6A229 
// opcode: grevi ; op1:x10; dest:x11; op1val:0x9ae6a229;
li x10, 0x9ae6a229
grevi x11, x10, 7
sw x11, 316(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_100:
// rs1_val == 0xDA6AB32A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xda6ab32a;
li x10, 0xda6ab32a
grevi x11, x10, 7
sw x11, 320(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_101:
// rs1_val == 0xE38123E6 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xe38123e6;
li x10, 0xe38123e6
grevi x11, x10, 7
sw x11, 324(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_102:
// rs1_val == 0xF4338384 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xf4338384;
li x10, 0xf4338384
grevi x11, x10, 7
sw x11, 328(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_103:
// rs1_val == 0xFB9F15C5 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfb9f15c5;
li x10, 0xfb9f15c5
grevi x11, x10, 7
sw x11, 332(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_104:
// rs1_val == 0xFD680C1D 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfd680c1d;
li x10, 0xfd680c1d
grevi x11, x10, 7
sw x11, 336(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_105:
// rs1_val == 0xFE74E45F 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfe74e45f;
li x10, 0xfe74e45f
grevi x11, x10, 7
sw x11, 340(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_106:
// rs1_val == 0xFF1E5BF0 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xff1e5bf0;
li x10, 0xff1e5bf0
grevi x11, x10, 7
sw x11, 344(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_107:
// rs1_val == 0xFF9C25E7 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xff9c25e7;
li x10, 0xff9c25e7
grevi x11, x10, 7
sw x11, 348(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_108:
// rs1_val == 0xFFCBCF13 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffcbcf13;
li x10, 0xffcbcf13
grevi x11, x10, 7
sw x11, 352(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_109:
// rs1_val == 0xFFE06F87 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffe06f87;
li x10, 0xffe06f87
grevi x11, x10, 7
sw x11, 356(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_110:
// rs1_val == 0xFFF7C831 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfff7c831;
li x10, 0xfff7c831
grevi x11, x10, 7
sw x11, 360(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_111:
// rs1_val == 0xFFFA9778 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffa9778;
li x10, 0xfffa9778
grevi x11, x10, 7
sw x11, 364(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_112:
// rs1_val == 0xFFFCEB44 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffceb44;
li x10, 0xfffceb44
grevi x11, x10, 7
sw x11, 368(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_113:
// rs1_val == 0xFFFE3FBA 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffe3fba;
li x10, 0xfffe3fba
grevi x11, x10, 7
sw x11, 372(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_114:
// rs1_val == 0xFFFF1658 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffff1658;
li x10, 0xffff1658
grevi x11, x10, 7
sw x11, 376(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_115:
// rs1_val == 0xFFFFAC3A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffac3a;
li x10, 0xffffac3a
grevi x11, x10, 7
sw x11, 380(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_116:
// rs1_val == 0xFFFFCDF0 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffcdf0;
li x10, 0xffffcdf0
grevi x11, x10, 7
sw x11, 384(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_117:
// rs1_val == 0xFFFFE684 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffe684;
li x10, 0xffffe684
grevi x11, x10, 7
sw x11, 388(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_118:
// rs1_val == 0xFFFFF1C6 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffff1c6;
li x10, 0xfffff1c6
grevi x11, x10, 7
sw x11, 392(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_119:
// rs1_val == 0xFFFFF806 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffff806;
li x10, 0xfffff806
grevi x11, x10, 7
sw x11, 396(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_120:
// rs1_val == 0xFFFFFC78 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffffc78;
li x10, 0xfffffc78
grevi x11, x10, 7
sw x11, 400(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_121:
// rs1_val == 0xFFFFFE3B 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffffe3b;
li x10, 0xfffffe3b
grevi x11, x10, 7
sw x11, 404(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_122:
// rs1_val == 0xFFFFFF5A 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffff5a;
li x10, 0xffffff5a
grevi x11, x10, 7
sw x11, 408(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_123:
// rs1_val == 0xFFFFFF88 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffff88;
li x10, 0xffffff88
grevi x11, x10, 7
sw x11, 412(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_124:
// rs1_val == 0xFFFFFFC1 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffffc1;
li x10, 0xffffffc1
grevi x11, x10, 7
sw x11, 416(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_125:
// rs1_val == 0xFFFFFFE8 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xffffffe8;
li x10, 0xffffffe8
grevi x11, x10, 7
sw x11, 420(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_126:
// rs1_val == 0xFFFFFFF1 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffffff1;
li x10, 0xfffffff1
grevi x11, x10, 7
sw x11, 424(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_127:
// rs1_val == 0xFFFFFFF9 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffffff9;
li x10, 0xfffffff9
grevi x11, x10, 7
sw x11, 428(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_128:
// rs1_val == 0xFFFFFFFD 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffffffd;
li x10, 0xfffffffd
grevi x11, x10, 7
sw x11, 432(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_129:
// rs1_val == 0xFFFFFFFE 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xfffffffe;
li x10, 0xfffffffe
grevi x11, x10, 7
sw x11, 436(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_130:
// rs1_val == 0xCDF1A000 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xcdf1a000;
li x10, 0xcdf1a000
grevi x11, x10, 7
sw x11, 440(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)

inst_131:
// rs1_val == 0xBFA44C00 
// opcode: grevi ; op1:x10; dest:x11; op1val:0xbfa44c00;
li x10, 0xbfa44c00
grevi x11, x10, 7
sw x11, 444(x2)
RVMODEL_IO_ASSERT_GPR_EQ(x4, x11, 0x00000000)
#endif


RVTEST_CODE_END
RVMODEL_HALT

RVTEST_DATA_BEGIN
.align 4
rvtest_data:
.word 0xbabecafe
RVTEST_DATA_END

RVMODEL_DATA_BEGIN


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


signature_x1_1:
    .fill 20*(XLEN/32),4,0xdeadbeef


signature_x2_0:
    .fill 112*(XLEN/32),4,0xdeadbeef

#ifdef rvtest_mtrap_routine

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

#endif

#ifdef rvtest_gpr_save

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

#endif

RVMODEL_DATA_END
