From 2f3565a392130b00755a9dda411f9ac7d0255686 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 27 May 2009 01:49:46 +0000 Subject: [cgen/cpu] * cpu/mep-ivc2.cpu (h-ccr-ivc2): Enable for C3 slots, fix accumulator names. (f-ivc2-ccrn-c3hi): New. (f-ivc2-ccrn-c3lo): New. (f-ivc2-ccrn-c3): New. (ivc2c3ccrn): Use it. [sid/component/cgen-cpu/mep] * mep-cop1-32-decode.cxx: Regenerate. * mep-cop1-32-decode.h: Regenerate. * mep-cop1-32-sem.cxx: Regenerate. * mep-cop1-48-sem.cxx: Regenerate. [opcodes] * mep-asm.c: Regenerate. * mep-desc.c: Regenerate. * mep-desc.h: Regenerate. * mep-dis.c: Regenerate. * mep-ibld.c: Regenerate. * mep-opc.c: Regenerate. * mep-opc.h: Regenerate. --- opcodes/mep-ibld.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'opcodes/mep-ibld.c') diff --git a/opcodes/mep-ibld.c b/opcodes/mep-ibld.c index bca40056771..05767bec7eb 100644 --- a/opcodes/mep-ibld.c +++ b/opcodes/mep-ibld.c @@ -881,13 +881,13 @@ mep_cgen_insert_operand (CGEN_CPU_DESC cd, case MEP_OPERAND_IVC2C3CCRN : { { - FLD (f_ccrn_hi) = ((((unsigned int) (FLD (f_ccrn)) >> (4))) & (3)); - FLD (f_ccrn_lo) = ((FLD (f_ccrn)) & (15)); + FLD (f_ivc2_ccrn_c3hi) = ((((unsigned int) (FLD (f_ivc2_ccrn_c3)) >> (4))) & (3)); + FLD (f_ivc2_ccrn_c3lo) = ((FLD (f_ivc2_ccrn_c3)) & (15)); } - errmsg = insert_normal (cd, fields->f_ccrn_hi, 0, 0, 28, 2, 32, total_length, buffer); + errmsg = insert_normal (cd, fields->f_ivc2_ccrn_c3hi, 0, 0, 28, 2, 32, total_length, buffer); if (errmsg) break; - errmsg = insert_normal (cd, fields->f_ccrn_lo, 0, 0, 4, 4, 32, total_length, buffer); + errmsg = insert_normal (cd, fields->f_ivc2_ccrn_c3lo, 0, 0, 4, 4, 32, total_length, buffer); if (errmsg) break; } @@ -1461,11 +1461,11 @@ mep_cgen_extract_operand (CGEN_CPU_DESC cd, break; case MEP_OPERAND_IVC2C3CCRN : { - length = extract_normal (cd, ex_info, insn_value, 0, 0, 28, 2, 32, total_length, pc, & fields->f_ccrn_hi); + length = extract_normal (cd, ex_info, insn_value, 0, 0, 28, 2, 32, total_length, pc, & fields->f_ivc2_ccrn_c3hi); if (length <= 0) break; - length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_ccrn_lo); + length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_ivc2_ccrn_c3lo); if (length <= 0) break; - FLD (f_ccrn) = ((((FLD (f_ccrn_hi)) << (4))) | (FLD (f_ccrn_lo))); + FLD (f_ivc2_ccrn_c3) = ((((FLD (f_ivc2_ccrn_c3hi)) << (4))) | (FLD (f_ivc2_ccrn_c3lo))); } break; case MEP_OPERAND_IVC2CCRN : @@ -1918,7 +1918,7 @@ mep_cgen_get_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, value = fields->f_ivc2_3u6; break; case MEP_OPERAND_IVC2C3CCRN : - value = fields->f_ccrn; + value = fields->f_ivc2_ccrn_c3; break; case MEP_OPERAND_IVC2CCRN : value = fields->f_ivc2_ccrn; @@ -2301,7 +2301,7 @@ mep_cgen_get_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, value = fields->f_ivc2_3u6; break; case MEP_OPERAND_IVC2C3CCRN : - value = fields->f_ccrn; + value = fields->f_ivc2_ccrn_c3; break; case MEP_OPERAND_IVC2CCRN : value = fields->f_ivc2_ccrn; @@ -2685,7 +2685,7 @@ mep_cgen_set_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, fields->f_ivc2_3u6 = value; break; case MEP_OPERAND_IVC2C3CCRN : - fields->f_ccrn = value; + fields->f_ivc2_ccrn_c3 = value; break; case MEP_OPERAND_IVC2CCRN : fields->f_ivc2_ccrn = value; @@ -3042,7 +3042,7 @@ mep_cgen_set_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, fields->f_ivc2_3u6 = value; break; case MEP_OPERAND_IVC2C3CCRN : - fields->f_ccrn = value; + fields->f_ivc2_ccrn_c3 = value; break; case MEP_OPERAND_IVC2CCRN : fields->f_ivc2_ccrn = value; -- cgit v1.2.1