From: Dave Brolley Date: Tue, 8 Dec 1998 18:14:38 +0000 (+0000) Subject: Tue Dec 8 13:12:44 1998 Dave Brolley X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfebcfbfcbf8cd0cf1ebbd2daf25d7a9f9ffb6b1;p=binutils-gdb.git Tue Dec 8 13:12:44 1998 Dave Brolley * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a24520a552a..bb077f4d5bd 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-fr30 +Tue Dec 8 13:12:44 1998 Dave Brolley + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. + +end-sanitize-fr30 Tue Dec 8 10:50:46 1998 David Taylor The following changes were made by diff --git a/opcodes/fr30-opc.c b/opcodes/fr30-opc.c index 64e704a1ba7..70b1c96cba3 100644 --- a/opcodes/fr30-opc.c +++ b/opcodes/fr30-opc.c @@ -435,8 +435,10 @@ static const CGEN_IFLD fr30_cgen_ifld_table[] = { FR30_F_DIR9, "f-dir9", 0, 16, 8, 8, { 0, 0|(1<f_rel12; break; - case FR30_OPERAND_REGLIST_LOW : - value = fields->f_reglist_low; + case FR30_OPERAND_REGLIST_LOW_LD : + value = fields->f_reglist_low_ld; break; - case FR30_OPERAND_REGLIST_HI : - value = fields->f_reglist_hi; + case FR30_OPERAND_REGLIST_HI_LD : + value = fields->f_reglist_hi_ld; + break; + case FR30_OPERAND_REGLIST_LOW_ST : + value = fields->f_reglist_low_st; + break; + case FR30_OPERAND_REGLIST_HI_ST : + value = fields->f_reglist_hi_st; break; case FR30_OPERAND_CC : value = fields->f_cc; @@ -3695,11 +3766,17 @@ fr30_cgen_get_vma_operand (opindex, fields) case FR30_OPERAND_LABEL12 : value = fields->f_rel12; break; - case FR30_OPERAND_REGLIST_LOW : - value = fields->f_reglist_low; + case FR30_OPERAND_REGLIST_LOW_LD : + value = fields->f_reglist_low_ld; + break; + case FR30_OPERAND_REGLIST_HI_LD : + value = fields->f_reglist_hi_ld; + break; + case FR30_OPERAND_REGLIST_LOW_ST : + value = fields->f_reglist_low_st; break; - case FR30_OPERAND_REGLIST_HI : - value = fields->f_reglist_hi; + case FR30_OPERAND_REGLIST_HI_ST : + value = fields->f_reglist_hi_st; break; case FR30_OPERAND_CC : value = fields->f_cc; @@ -3821,11 +3898,17 @@ fr30_cgen_set_int_operand (opindex, fields, value) case FR30_OPERAND_LABEL12 : fields->f_rel12 = value; break; - case FR30_OPERAND_REGLIST_LOW : - fields->f_reglist_low = value; + case FR30_OPERAND_REGLIST_LOW_LD : + fields->f_reglist_low_ld = value; break; - case FR30_OPERAND_REGLIST_HI : - fields->f_reglist_hi = value; + case FR30_OPERAND_REGLIST_HI_LD : + fields->f_reglist_hi_ld = value; + break; + case FR30_OPERAND_REGLIST_LOW_ST : + fields->f_reglist_low_st = value; + break; + case FR30_OPERAND_REGLIST_HI_ST : + fields->f_reglist_hi_st = value; break; case FR30_OPERAND_CC : fields->f_cc = value; @@ -3940,11 +4023,17 @@ fr30_cgen_set_vma_operand (opindex, fields, value) case FR30_OPERAND_LABEL12 : fields->f_rel12 = value; break; - case FR30_OPERAND_REGLIST_LOW : - fields->f_reglist_low = value; + case FR30_OPERAND_REGLIST_LOW_LD : + fields->f_reglist_low_ld = value; + break; + case FR30_OPERAND_REGLIST_HI_LD : + fields->f_reglist_hi_ld = value; + break; + case FR30_OPERAND_REGLIST_LOW_ST : + fields->f_reglist_low_st = value; break; - case FR30_OPERAND_REGLIST_HI : - fields->f_reglist_hi = value; + case FR30_OPERAND_REGLIST_HI_ST : + fields->f_reglist_hi_st = value; break; case FR30_OPERAND_CC : fields->f_cc = value; diff --git a/opcodes/fr30-opc.h b/opcodes/fr30-opc.h index bfd2a6238de..98adeaedf8a 100644 --- a/opcodes/fr30-opc.h +++ b/opcodes/fr30-opc.h @@ -153,11 +153,11 @@ typedef enum cgen_operand_type { , 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_DIR8, FR30_OPERAND_DIR9 - , FR30_OPERAND_DIR10, FR30_OPERAND_LABEL9, 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_CCR, FR30_OPERAND_SCR, FR30_OPERAND_ILM - , FR30_OPERAND_MAX + , FR30_OPERAND_DIR10, FR30_OPERAND_LABEL9, FR30_OPERAND_LABEL12, FR30_OPERAND_REGLIST_LOW_LD + , FR30_OPERAND_REGLIST_HI_LD, FR30_OPERAND_REGLIST_LOW_ST, FR30_OPERAND_REGLIST_HI_ST, 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_CCR + , FR30_OPERAND_SCR, FR30_OPERAND_ILM, FR30_OPERAND_MAX } CGEN_OPERAND_TYPE; /* Non-boolean attributes. */ @@ -174,7 +174,7 @@ typedef enum mach_attr { #define MAX_OPERANDS ((int) FR30_OPERAND_MAX) /* Maximum number of operands referenced by any insn. */ -#define MAX_OPERAND_INSTANCES 9 +#define MAX_OPERAND_INSTANCES 12 /* Hardware, operand and instruction attribute indices. */ @@ -208,7 +208,8 @@ typedef enum ifield_type { , FR30_F_I20, FR30_F_I32, FR30_F_UDISP6, FR30_F_DISP8 , FR30_F_DISP9, FR30_F_DISP10, FR30_F_S10, FR30_F_U10 , FR30_F_REL9, FR30_F_DIR8, FR30_F_DIR9, FR30_F_DIR10 - , FR30_F_REL12, FR30_F_REGLIST_HI, FR30_F_REGLIST_LOW, FR30_F_MAX + , FR30_F_REL12, FR30_F_REGLIST_HI_ST, FR30_F_REGLIST_LOW_ST, FR30_F_REGLIST_HI_LD + , FR30_F_REGLIST_LOW_LD, FR30_F_MAX } IFIELD_TYPE; #define MAX_IFLD ((int) FR30_F_MAX) @@ -327,8 +328,10 @@ struct cgen_fields long f_dir9; long f_dir10; long f_rel12; - long f_reglist_hi; - long f_reglist_low; + long f_reglist_hi_st; + long f_reglist_low_st; + long f_reglist_hi_ld; + long f_reglist_low_ld; int length; };