18b50d564SBastian Koppelmann#include "macros.h" 28b50d564SBastian Koppelmann.text 38b50d564SBastian Koppelmann.global _start 48b50d564SBastian Koppelmann_start: 58b50d564SBastian Koppelmann# insn num result rs1 imm1 rs2 imm2 68b50d564SBastian Koppelmann# | | | | | | | 78b50d564SBastian Koppelmann TEST_D_DIDI(insert, 1, 0x7fffffff, 0xffffffff, 0xa, 0x10, 0x8) 88b50d564SBastian Koppelmann 923fa6f56SBastian Koppelmann# insn num result rs1 imm1 imm2 imm3 1023fa6f56SBastian Koppelmann# | | | | | | | 1123fa6f56SBastian Koppelmann TEST_D_DIII(insert, 2, 0xd38fe370, 0xd38fe370, 0x4, 0x4 , 0x0) 1223fa6f56SBastian Koppelmann TEST_D_DIII(insert, 3, 0xd38fe374, 0xd38fe370, 0x4, 0x0 , 0x4) 1323fa6f56SBastian Koppelmann 1423fa6f56SBastian Koppelmann# insn num result rs1 rs2 pos width 1523fa6f56SBastian Koppelmann# | | | | | | | 1623fa6f56SBastian Koppelmann TEST_D_DDII(insert, 4, 0x03c1e53c, 0x03c1e53c, 0x45821385, 0x7 ,0x0) 1723fa6f56SBastian Koppelmann 18*222ff2d3SBastian Koppelmann# insn num result rs1 imm1 rs2_h rs2_l 19*222ff2d3SBastian Koppelmann# | | | | | | | 20*222ff2d3SBastian Koppelmann TEST_D_DIE(insert, 5, 0xe30c308d, 0xe30c308d ,0x3 , 0x00000000 ,0x00000000) 21*222ff2d3SBastian Koppelmann TEST_D_DIE(insert, 6, 0x669b0120, 0x669b2820 ,0x2 , 0x5530a1c7 ,0x3a2b0f67) 22*222ff2d3SBastian Koppelmann 238b50d564SBastian Koppelmann TEST_PASSFAIL 24