From 7862c6cfb249ddc8173f2b5e3e271bbfc7a5e721 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Thu, 3 Dec 1998 19:27:35 +0000 Subject: [PATCH] Thu Dec 3 14:26:20 1998 Dave Brolley * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. --- opcodes/fr30-opc.c | 834 ++++++++++++++++++++++++++++++++------------- opcodes/fr30-opc.h | 31 +- 2 files changed, 616 insertions(+), 249 deletions(-) diff --git a/opcodes/fr30-opc.c b/opcodes/fr30-opc.c index 453943293f1..941989b10c2 100644 --- a/opcodes/fr30-opc.c +++ b/opcodes/fr30-opc.c @@ -389,6 +389,7 @@ static const CGEN_HW_ENTRY fr30_cgen_hw_entries[] = { HW_H_CBIT, & HW_ENT (HW_H_CBIT + 1), "h-cbit", CGEN_ASM_KEYWORD, (PTR) 0, { 0, 0, { 0 } } }, { HW_H_IBIT, & HW_ENT (HW_H_IBIT + 1), "h-ibit", CGEN_ASM_KEYWORD, (PTR) 0, { 0, 0, { 0 } } }, { HW_H_SBIT, & HW_ENT (HW_H_SBIT + 1), "h-sbit", CGEN_ASM_KEYWORD, (PTR) 0, { 0, 0, { 0 } } }, + { HW_H_CCR, & HW_ENT (HW_H_CCR + 1), "h-ccr", CGEN_ASM_KEYWORD, (PTR) 0, { 0, 0|(1<f_u4c; break; - case FR30_OPERAND_M4 : - value = fields->f_m4; - break; case FR30_OPERAND_U8 : value = fields->f_u8; break; @@ -2715,6 +3078,9 @@ fr30_cgen_get_int_operand (opindex, fields) case FR30_OPERAND_I32 : value = fields->f_i32; break; + case FR30_OPERAND_M4 : + value = fields->f_m4; + break; case FR30_OPERAND_I20 : value = fields->f_i20; break; @@ -2807,9 +3173,6 @@ fr30_cgen_get_vma_operand (opindex, fields) case FR30_OPERAND_U4C : value = fields->f_u4c; break; - case FR30_OPERAND_M4 : - value = fields->f_m4; - break; case FR30_OPERAND_U8 : value = fields->f_u8; break; @@ -2837,6 +3200,9 @@ fr30_cgen_get_vma_operand (opindex, fields) case FR30_OPERAND_I32 : value = fields->f_i32; break; + case FR30_OPERAND_M4 : + value = fields->f_m4; + break; case FR30_OPERAND_I20 : value = fields->f_i20; break; @@ -2933,9 +3299,6 @@ fr30_cgen_set_int_operand (opindex, fields, value) case FR30_OPERAND_U4C : fields->f_u4c = value; break; - case FR30_OPERAND_M4 : - fields->f_m4 = value; - break; case FR30_OPERAND_U8 : fields->f_u8 = value; break; @@ -2963,6 +3326,9 @@ fr30_cgen_set_int_operand (opindex, fields, value) case FR30_OPERAND_I32 : fields->f_i32 = value; break; + case FR30_OPERAND_M4 : + fields->f_m4 = value; + break; case FR30_OPERAND_I20 : fields->f_i20 = value; break; @@ -3052,9 +3418,6 @@ fr30_cgen_set_vma_operand (opindex, fields, value) case FR30_OPERAND_U4C : fields->f_u4c = value; break; - case FR30_OPERAND_M4 : - fields->f_m4 = value; - break; case FR30_OPERAND_U8 : fields->f_u8 = value; break; @@ -3082,6 +3445,9 @@ fr30_cgen_set_vma_operand (opindex, fields, value) case FR30_OPERAND_I32 : fields->f_i32 = value; break; + case FR30_OPERAND_M4 : + fields->f_m4 = value; + break; case FR30_OPERAND_I20 : fields->f_i20 = value; break; diff --git a/opcodes/fr30-opc.h b/opcodes/fr30-opc.h index b268b3ab3ce..ae0342778be 100644 --- a/opcodes/fr30-opc.h +++ b/opcodes/fr30-opc.h @@ -149,14 +149,14 @@ typedef enum cgen_operand_type { FR30_OPERAND_PC, FR30_OPERAND_RI, FR30_OPERAND_RJ, FR30_OPERAND_RIC , FR30_OPERAND_RJC, FR30_OPERAND_CRI, FR30_OPERAND_CRJ, FR30_OPERAND_RS1 , FR30_OPERAND_RS2, FR30_OPERAND_R13, FR30_OPERAND_R14, FR30_OPERAND_R15 - , FR30_OPERAND_PS, FR30_OPERAND_U4, FR30_OPERAND_U4C, FR30_OPERAND_M4 - , FR30_OPERAND_U8, FR30_OPERAND_I8, FR30_OPERAND_UDISP6, FR30_OPERAND_DISP8 - , FR30_OPERAND_DISP9, FR30_OPERAND_DISP10, FR30_OPERAND_S10, FR30_OPERAND_U10 - , FR30_OPERAND_I32, FR30_OPERAND_I20, FR30_OPERAND_LABEL9, FR30_OPERAND_DIR8 + , FR30_OPERAND_PS, FR30_OPERAND_U4, FR30_OPERAND_U4C, FR30_OPERAND_U8 + , FR30_OPERAND_I8, FR30_OPERAND_UDISP6, FR30_OPERAND_DISP8, FR30_OPERAND_DISP9 + , FR30_OPERAND_DISP10, FR30_OPERAND_S10, FR30_OPERAND_U10, FR30_OPERAND_I32 + , FR30_OPERAND_M4, FR30_OPERAND_I20, FR30_OPERAND_LABEL9, FR30_OPERAND_DIR8 , FR30_OPERAND_DIR9, FR30_OPERAND_DIR10, FR30_OPERAND_LABEL12, FR30_OPERAND_REGLIST_LOW , FR30_OPERAND_REGLIST_HI, FR30_OPERAND_CC, FR30_OPERAND_CCC, FR30_OPERAND_NBIT , FR30_OPERAND_VBIT, FR30_OPERAND_ZBIT, FR30_OPERAND_CBIT, FR30_OPERAND_IBIT - , FR30_OPERAND_SBIT, FR30_OPERAND_MAX + , FR30_OPERAND_SBIT, FR30_OPERAND_CCR, FR30_OPERAND_MAX } CGEN_OPERAND_TYPE; /* Non-boolean attributes. */ @@ -258,15 +258,15 @@ typedef enum cgen_insn_type { , FR30_INSN_MOVPS, FR30_INSN_MOV2DR, FR30_INSN_MOV2PS, FR30_INSN_JMP , FR30_INSN_JMPD, FR30_INSN_CALLR, FR30_INSN_CALLRD, FR30_INSN_CALL , FR30_INSN_CALLD, FR30_INSN_RET, FR30_INSN_RETD, FR30_INSN_INT - , FR30_INSN_INTE, FR30_INSN_RETI, FR30_INSN_BRA, FR30_INSN_BNO - , FR30_INSN_BEQ, FR30_INSN_BNE, FR30_INSN_BC, FR30_INSN_BNC - , FR30_INSN_BN, FR30_INSN_BP, FR30_INSN_BV, FR30_INSN_BNV - , FR30_INSN_BLT, FR30_INSN_BGE, FR30_INSN_BLE, FR30_INSN_BGT - , FR30_INSN_BLS, FR30_INSN_BHI, FR30_INSN_BRAD, FR30_INSN_BNOD - , FR30_INSN_BEQD, FR30_INSN_BNED, FR30_INSN_BCD, FR30_INSN_BNCD - , FR30_INSN_BND, FR30_INSN_BPD, FR30_INSN_BVD, FR30_INSN_BNVD - , FR30_INSN_BLTD, FR30_INSN_BGED, FR30_INSN_BLED, FR30_INSN_BGTD - , FR30_INSN_BLSD, FR30_INSN_BHID, FR30_INSN_DMOVR13, FR30_INSN_DMOVR13H + , FR30_INSN_INTE, FR30_INSN_RETI, FR30_INSN_BRA, FR30_INSN_BRAD + , FR30_INSN_BNO, FR30_INSN_BNOD, FR30_INSN_BEQ, FR30_INSN_BEQD + , FR30_INSN_BNE, FR30_INSN_BNED, FR30_INSN_BC, FR30_INSN_BCD + , FR30_INSN_BNC, FR30_INSN_BNCD, FR30_INSN_BN, FR30_INSN_BND + , FR30_INSN_BP, FR30_INSN_BPD, FR30_INSN_BV, FR30_INSN_BVD + , FR30_INSN_BNV, FR30_INSN_BNVD, FR30_INSN_BLT, FR30_INSN_BLTD + , FR30_INSN_BGE, FR30_INSN_BGED, FR30_INSN_BLE, FR30_INSN_BLED + , FR30_INSN_BGT, FR30_INSN_BGTD, FR30_INSN_BLS, FR30_INSN_BLSD + , FR30_INSN_BHI, FR30_INSN_BHID, FR30_INSN_DMOVR13, FR30_INSN_DMOVR13H , FR30_INSN_DMOVR13B, FR30_INSN_DMOVR13PI, FR30_INSN_DMOVR13PIH, FR30_INSN_DMOVR13PIB , FR30_INSN_DMOVR15PI, FR30_INSN_DMOV2R13, FR30_INSN_DMOV2R13H, FR30_INSN_DMOV2R13B , FR30_INSN_DMOV2R13PI, FR30_INSN_DMOV2R13PIH, FR30_INSN_DMOV2R13PIB, FR30_INSN_DMOV2R15PD @@ -342,7 +342,8 @@ typedef enum hw_type { , HW_H_ADDR, HW_H_IADDR, HW_H_GR, HW_H_CR , HW_H_DR, HW_H_PS, HW_H_R13, HW_H_R14 , HW_H_R15, HW_H_NBIT, HW_H_ZBIT, HW_H_VBIT - , HW_H_CBIT, HW_H_IBIT, HW_H_SBIT, HW_MAX + , HW_H_CBIT, HW_H_IBIT, HW_H_SBIT, HW_H_CCR + , HW_MAX } HW_TYPE; #define MAX_HW ((int) HW_MAX) -- 2.30.2