- the resultant file is machine generated, cgen-dis.in isn't
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007,
- 2008 Free Software Foundation, Inc.
+ 2008, 2010 Free Software Foundation, Inc.
This file is part of libopcodes.
else
e = 0;
- if ((buf[0^e] & 0xf0) != 0xf0)
+ if (((unsigned char)buf[0^e] & 0xf0) < 0xc0)
{
/* <--00--><--11--><--22--><--33--><--44--><--55--><--66--><--77--> */
/* V1 [-----core-----][--------p0s-------][------------p1------------] */
case MEP_OPERAND_IVC_X_6_3 :
print_normal (cd, info, fields->f_ivc2_3u6, 0, pc, length);
break;
+ case MEP_OPERAND_IVC2_ACC0_0 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_1 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_2 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_3 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_4 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_5 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_6 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC0_7 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_0 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_1 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_2 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_3 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_4 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_5 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_6 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_ACC1_7 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_CC :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_COFA0 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_COFA1 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_COFR0 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_COFR1 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_CSAR0 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2_CSAR1 :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, 0, 0);
+ break;
+ case MEP_OPERAND_IVC2C3CCRN :
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, fields->f_ivc2_ccrn_c3, 0|(1<<CGEN_OPERAND_VIRTUAL));
+ break;
case MEP_OPERAND_IVC2CCRN :
- print_keyword (cd, info, & mep_cgen_opval_h_ccr, fields->f_ivc2_ccrn, 0|(1<<CGEN_OPERAND_VIRTUAL));
+ print_keyword (cd, info, & mep_cgen_opval_h_ccr_ivc2, fields->f_ivc2_ccrn, 0|(1<<CGEN_OPERAND_VIRTUAL));
break;
case MEP_OPERAND_IVC2CRN :
print_keyword (cd, info, & mep_cgen_opval_h_cr64, fields->f_ivc2_crnx, 0|(1<<CGEN_OPERAND_VIRTUAL));
case MEP_OPERAND_SIMM8P0 :
print_normal (cd, info, fields->f_ivc2_8s0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length);
break;
+ case MEP_OPERAND_SIMM8P20 :
+ print_normal (cd, info, fields->f_ivc2_8s20, 0|(1<<CGEN_OPERAND_SIGNED), pc, length);
+ break;
case MEP_OPERAND_SIMM8P4 :
print_normal (cd, info, fields->f_ivc2_8s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length);
break;
{
disassemble_info *info = (disassemble_info *) dis_info;
-#ifdef CGEN_PRINT_NORMAL
- CGEN_PRINT_NORMAL (cd, info, value, attrs, pc, length);
-#endif
-
/* Print the operand as directed by the attributes. */
if (CGEN_BOOL_ATTR (attrs, CGEN_OPERAND_SEM_ONLY))
; /* nothing to do */
{
disassemble_info *info = (disassemble_info *) dis_info;
-#ifdef CGEN_PRINT_ADDRESS
- CGEN_PRINT_ADDRESS (cd, info, value, attrs, pc, length);
-#endif
-
/* Print the operand as directed by the attributes. */
if (CGEN_BOOL_ATTR (attrs, CGEN_OPERAND_SEM_ONLY))
; /* Nothing to do. */