Line 1... |
Line 1... |
/* Instruction building/extraction support for mep. -*- C -*-
|
/* Instruction building/extraction support for mep. -*- C -*-
|
|
|
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
- the resultant file is machine generated, cgen-ibld.in isn't
|
- the resultant file is machine generated, cgen-ibld.in isn't
|
|
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2006, 2007
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2006, 2007,
|
Free Software Foundation, Inc.
|
2008 Free Software Foundation, Inc.
|
|
|
This file is part of libopcodes.
|
This file is part of libopcodes.
|
|
|
This library is free software; you can redistribute it and/or modify
|
This library is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
Line 577... |
Line 577... |
errmsg = insert_normal (cd, fields->f_24u8a4n_lo, 0, 0, 8, 6, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_24u8a4n_lo, 0, 0, 8, 6, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
|
case MEP_OPERAND_C5RMUIMM20 :
|
|
{
|
|
{
|
|
FLD (f_c5_rm) = ((unsigned int) (FLD (f_c5_rmuimm20)) >> (16));
|
|
FLD (f_c5_16u16) = ((FLD (f_c5_rmuimm20)) & (65535));
|
|
}
|
|
errmsg = insert_normal (cd, fields->f_c5_rm, 0, 0, 8, 4, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
|
errmsg = insert_normal (cd, fields->f_c5_16u16, 0, 0, 16, 16, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
|
}
|
|
break;
|
|
case MEP_OPERAND_C5RNMUIMM24 :
|
|
{
|
|
{
|
|
FLD (f_c5_rnm) = ((unsigned int) (FLD (f_c5_rnmuimm24)) >> (16));
|
|
FLD (f_c5_16u16) = ((FLD (f_c5_rnmuimm24)) & (65535));
|
|
}
|
|
errmsg = insert_normal (cd, fields->f_c5_rnm, 0, 0, 4, 8, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
|
errmsg = insert_normal (cd, fields->f_c5_16u16, 0, 0, 16, 16, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
|
}
|
|
break;
|
case MEP_OPERAND_CALLNUM :
|
case MEP_OPERAND_CALLNUM :
|
{
|
{
|
{
|
{
|
FLD (f_5) = ((((unsigned int) (FLD (f_callnum)) >> (3))) & (1));
|
FLD (f_5) = ((((unsigned int) (FLD (f_callnum)) >> (3))) & (1));
|
FLD (f_6) = ((((unsigned int) (FLD (f_callnum)) >> (2))) & (1));
|
FLD (f_6) = ((((unsigned int) (FLD (f_callnum)) >> (2))) & (1));
|
Line 616... |
Line 644... |
errmsg = insert_normal (cd, fields->f_ccrn_lo, 0, 0, 4, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ccrn_lo, 0, 0, 4, 4, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8 :
|
case MEP_OPERAND_CDISP10 :
|
errmsg = insert_normal (cd, fields->f_8s24, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 8, 32, total_length, buffer);
|
{
|
|
long value = fields->f_cdisp10;
|
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer);
|
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A2 :
|
case MEP_OPERAND_CDISP10A2 :
|
{
|
{
|
long value = fields->f_8s24a2;
|
long value = fields->f_cdisp10;
|
value = ((int) (value) >> (1));
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 7, 32, total_length, buffer);
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer);
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A4 :
|
case MEP_OPERAND_CDISP10A4 :
|
{
|
{
|
long value = fields->f_8s24a4;
|
long value = fields->f_cdisp10;
|
value = ((int) (value) >> (2));
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 6, 32, total_length, buffer);
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer);
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A8 :
|
case MEP_OPERAND_CDISP10A8 :
|
{
|
{
|
long value = fields->f_8s24a8;
|
long value = fields->f_cdisp10;
|
value = ((int) (value) >> (3));
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 5, 32, total_length, buffer);
|
errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer);
|
}
|
}
|
break;
|
break;
|
|
case MEP_OPERAND_CDISP12 :
|
|
errmsg = insert_normal (cd, fields->f_12s20, 0|(1<<CGEN_IFLD_SIGNED), 0, 20, 12, 32, total_length, buffer);
|
|
break;
|
case MEP_OPERAND_CIMM4 :
|
case MEP_OPERAND_CIMM4 :
|
errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer);
|
break;
|
break;
|
case MEP_OPERAND_CIMM5 :
|
case MEP_OPERAND_CIMM5 :
|
errmsg = insert_normal (cd, fields->f_5u24, 0, 0, 24, 5, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_5u24, 0, 0, 24, 5, 32, total_length, buffer);
|
Line 699... |
Line 734... |
errmsg = insert_normal (cd, fields->f_crnx_lo, 0, 0, 4, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_crnx_lo, 0, 0, 4, 4, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
|
case MEP_OPERAND_CROC :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u7, 0, 0, 7, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_CROP :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u23, 0, 0, 23, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_CRPC :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u26, 0, 0, 26, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_CRPP :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u18, 0, 0, 18, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_CRQC :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u21, 0, 0, 21, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_CRQP :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u13, 0, 0, 13, 5, 32, total_length, buffer);
|
|
break;
|
case MEP_OPERAND_CSRN :
|
case MEP_OPERAND_CSRN :
|
{
|
{
|
{
|
{
|
FLD (f_csrn_lo) = ((FLD (f_csrn)) & (15));
|
FLD (f_csrn_lo) = ((FLD (f_csrn)) & (15));
|
FLD (f_csrn_hi) = ((unsigned int) (FLD (f_csrn)) >> (4));
|
FLD (f_csrn_hi) = ((unsigned int) (FLD (f_csrn)) >> (4));
|
Line 735... |
Line 788... |
break;
|
break;
|
case MEP_OPERAND_EPC :
|
case MEP_OPERAND_EPC :
|
break;
|
break;
|
case MEP_OPERAND_EXC :
|
case MEP_OPERAND_EXC :
|
break;
|
break;
|
case MEP_OPERAND_FMAX_CCRN :
|
case MEP_OPERAND_HI :
|
errmsg = insert_normal (cd, fields->f_fmax_4_4, 0, 0, 4, 4, 32, total_length, buffer);
|
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD :
|
case MEP_OPERAND_IMM16P0 :
|
{
|
{
|
{
|
{
|
FLD (f_fmax_4_4) = ((FLD (f_fmax_frd)) & (15));
|
FLD (f_ivc2_8u0) = ((((unsigned int) (FLD (f_ivc2_imm16p0)) >> (8))) & (255));
|
FLD (f_fmax_28_1) = ((unsigned int) (FLD (f_fmax_frd)) >> (4));
|
FLD (f_ivc2_8u20) = ((FLD (f_ivc2_imm16p0)) & (255));
|
}
|
}
|
errmsg = insert_normal (cd, fields->f_fmax_28_1, 0, 0, 28, 1, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_8u0, 0, 0, 0, 8, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
errmsg = insert_normal (cd, fields->f_fmax_4_4, 0, 0, 4, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_8u20, 0, 0, 20, 8, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD_INT :
|
case MEP_OPERAND_IMM3P12 :
|
{
|
errmsg = insert_normal (cd, fields->f_ivc2_3u12, 0, 0, 12, 3, 32, total_length, buffer);
|
{
|
|
FLD (f_fmax_4_4) = ((FLD (f_fmax_frd)) & (15));
|
|
FLD (f_fmax_28_1) = ((unsigned int) (FLD (f_fmax_frd)) >> (4));
|
|
}
|
|
errmsg = insert_normal (cd, fields->f_fmax_28_1, 0, 0, 28, 1, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
break;
|
errmsg = insert_normal (cd, fields->f_fmax_4_4, 0, 0, 4, 4, 32, total_length, buffer);
|
case MEP_OPERAND_IMM3P25 :
|
if (errmsg)
|
errmsg = insert_normal (cd, fields->f_ivc2_3u25, 0, 0, 25, 3, 32, total_length, buffer);
|
break;
|
break;
|
}
|
case MEP_OPERAND_IMM3P4 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_3u4, 0, 0, 4, 3, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM3P5 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_3u5, 0, 0, 5, 3, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM3P9 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_3u9, 0, 0, 9, 3, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM4P10 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_4u10, 0, 0, 10, 4, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM4P4 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_4u4, 0, 0, 4, 4, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM4P8 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_4u8, 0, 0, 8, 4, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM5P23 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u23, 0, 0, 23, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM5P3 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u3, 0, 0, 3, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM5P7 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u7, 0, 0, 7, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM5P8 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u8, 0, 0, 8, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM6P2 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_6u2, 0, 0, 2, 6, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM6P6 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_6u6, 0, 0, 6, 6, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM8P0 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8u0, 0, 0, 0, 8, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM8P20 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8u20, 0, 0, 20, 8, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IMM8P4 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8u4, 0, 0, 4, 8, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_2 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_2u0, 0, 0, 0, 2, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_3 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_3u0, 0, 0, 0, 3, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_4 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_4u0, 0, 0, 0, 4, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_5 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_5u0, 0, 0, 0, 5, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_1 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_1u6, 0, 0, 6, 1, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_2 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_2u6, 0, 0, 6, 2, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_3 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_3u6, 0, 0, 6, 3, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_4 :
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRM :
|
case MEP_OPERAND_IVC2_ACC0_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CC :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2C3CCRN :
|
{
|
{
|
{
|
{
|
FLD (f_fmax_24_4) = ((FLD (f_fmax_frm)) & (15));
|
FLD (f_ivc2_ccrn_c3hi) = ((((unsigned int) (FLD (f_ivc2_ccrn_c3)) >> (4))) & (3));
|
FLD (f_fmax_30_1) = ((unsigned int) (FLD (f_fmax_frm)) >> (4));
|
FLD (f_ivc2_ccrn_c3lo) = ((FLD (f_ivc2_ccrn_c3)) & (15));
|
}
|
}
|
errmsg = insert_normal (cd, fields->f_fmax_30_1, 0, 0, 30, 1, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_ccrn_c3hi, 0, 0, 28, 2, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
errmsg = insert_normal (cd, fields->f_fmax_24_4, 0, 0, 24, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_ccrn_c3lo, 0, 0, 4, 4, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN :
|
case MEP_OPERAND_IVC2CCRN :
|
{
|
{
|
{
|
{
|
FLD (f_fmax_20_4) = ((FLD (f_fmax_frn)) & (15));
|
FLD (f_ivc2_ccrn_h2) = ((((unsigned int) (FLD (f_ivc2_ccrn)) >> (4))) & (3));
|
FLD (f_fmax_29_1) = ((unsigned int) (FLD (f_fmax_frn)) >> (4));
|
FLD (f_ivc2_ccrn_lo) = ((FLD (f_ivc2_ccrn)) & (15));
|
}
|
}
|
errmsg = insert_normal (cd, fields->f_fmax_29_1, 0, 0, 29, 1, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_ccrn_h2, 0, 0, 20, 2, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
errmsg = insert_normal (cd, fields->f_fmax_20_4, 0, 0, 20, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_ccrn_lo, 0, 0, 0, 4, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN_INT :
|
case MEP_OPERAND_IVC2CRN :
|
{
|
{
|
{
|
{
|
FLD (f_fmax_20_4) = ((FLD (f_fmax_frn)) & (15));
|
FLD (f_ivc2_ccrn_h1) = ((((unsigned int) (FLD (f_ivc2_crnx)) >> (4))) & (1));
|
FLD (f_fmax_29_1) = ((unsigned int) (FLD (f_fmax_frn)) >> (4));
|
FLD (f_ivc2_ccrn_lo) = ((FLD (f_ivc2_crnx)) & (15));
|
}
|
}
|
errmsg = insert_normal (cd, fields->f_fmax_29_1, 0, 0, 29, 1, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_ccrn_h1, 0, 0, 20, 1, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
errmsg = insert_normal (cd, fields->f_fmax_20_4, 0, 0, 20, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_ccrn_lo, 0, 0, 0, 4, 32, total_length, buffer);
|
if (errmsg)
|
if (errmsg)
|
break;
|
break;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_RM :
|
case MEP_OPERAND_IVC2RM :
|
errmsg = insert_normal (cd, fields->f_fmax_rm, 0, 0, 8, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_ivc2_crm, 0, 0, 4, 4, 32, total_length, buffer);
|
break;
|
|
case MEP_OPERAND_HI :
|
|
break;
|
break;
|
case MEP_OPERAND_LO :
|
case MEP_OPERAND_LO :
|
break;
|
break;
|
case MEP_OPERAND_LP :
|
case MEP_OPERAND_LP :
|
break;
|
break;
|
Line 888... |
Line 1042... |
case MEP_OPERAND_R1 :
|
case MEP_OPERAND_R1 :
|
break;
|
break;
|
case MEP_OPERAND_RL :
|
case MEP_OPERAND_RL :
|
errmsg = insert_normal (cd, fields->f_rl, 0, 0, 12, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_rl, 0, 0, 12, 4, 32, total_length, buffer);
|
break;
|
break;
|
|
case MEP_OPERAND_RL5 :
|
|
errmsg = insert_normal (cd, fields->f_rl5, 0, 0, 20, 4, 32, total_length, buffer);
|
|
break;
|
case MEP_OPERAND_RM :
|
case MEP_OPERAND_RM :
|
errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer);
|
break;
|
break;
|
case MEP_OPERAND_RMA :
|
case MEP_OPERAND_RMA :
|
errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer);
|
Line 944... |
Line 1101... |
errmsg = insert_normal (cd, fields->f_16s16, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_16s16, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, buffer);
|
break;
|
break;
|
case MEP_OPERAND_SIMM16 :
|
case MEP_OPERAND_SIMM16 :
|
errmsg = insert_normal (cd, fields->f_16s16, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_16s16, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, buffer);
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM16P0 :
|
|
{
|
|
{
|
|
FLD (f_ivc2_8u0) = ((((unsigned int) (FLD (f_ivc2_simm16p0)) >> (8))) & (255));
|
|
FLD (f_ivc2_8u20) = ((FLD (f_ivc2_simm16p0)) & (255));
|
|
}
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8u0, 0, 0, 0, 8, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8u20, 0, 0, 20, 8, 32, total_length, buffer);
|
|
if (errmsg)
|
|
break;
|
|
}
|
|
break;
|
case MEP_OPERAND_SIMM6 :
|
case MEP_OPERAND_SIMM6 :
|
errmsg = insert_normal (cd, fields->f_6s8, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 6, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_6s8, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 6, 32, total_length, buffer);
|
break;
|
break;
|
case MEP_OPERAND_SIMM8 :
|
case MEP_OPERAND_SIMM8 :
|
errmsg = insert_normal (cd, fields->f_8s8, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 8, 32, total_length, buffer);
|
errmsg = insert_normal (cd, fields->f_8s8, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 8, 32, total_length, buffer);
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM8P0 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8s0, 0|(1<<CGEN_IFLD_SIGNED), 0, 0, 8, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_SIMM8P20 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8s20, 0|(1<<CGEN_IFLD_SIGNED), 0, 20, 8, 32, total_length, buffer);
|
|
break;
|
|
case MEP_OPERAND_SIMM8P4 :
|
|
errmsg = insert_normal (cd, fields->f_ivc2_8s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 4, 8, 32, total_length, buffer);
|
|
break;
|
case MEP_OPERAND_SP :
|
case MEP_OPERAND_SP :
|
break;
|
break;
|
case MEP_OPERAND_SPR :
|
case MEP_OPERAND_SPR :
|
break;
|
break;
|
case MEP_OPERAND_TP :
|
case MEP_OPERAND_TP :
|
Line 1068... |
Line 1248... |
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 6, 32, total_length, pc, & fields->f_24u8a4n_lo);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 6, 32, total_length, pc, & fields->f_24u8a4n_lo);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
FLD (f_24u8a4n) = ((((FLD (f_24u8a4n_hi)) << (8))) | (((FLD (f_24u8a4n_lo)) << (2))));
|
FLD (f_24u8a4n) = ((((FLD (f_24u8a4n_hi)) << (8))) | (((FLD (f_24u8a4n_lo)) << (2))));
|
}
|
}
|
break;
|
break;
|
|
case MEP_OPERAND_C5RMUIMM20 :
|
|
{
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_c5_rm);
|
|
if (length <= 0) break;
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 16, 16, 32, total_length, pc, & fields->f_c5_16u16);
|
|
if (length <= 0) break;
|
|
{
|
|
FLD (f_c5_rmuimm20) = ((FLD (f_c5_16u16)) | (((FLD (f_c5_rm)) << (16))));
|
|
}
|
|
}
|
|
break;
|
|
case MEP_OPERAND_C5RNMUIMM24 :
|
|
{
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 8, 32, total_length, pc, & fields->f_c5_rnm);
|
|
if (length <= 0) break;
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 16, 16, 32, total_length, pc, & fields->f_c5_16u16);
|
|
if (length <= 0) break;
|
|
{
|
|
FLD (f_c5_rnmuimm24) = ((FLD (f_c5_16u16)) | (((FLD (f_c5_rnm)) << (16))));
|
|
}
|
|
}
|
|
break;
|
case MEP_OPERAND_CALLNUM :
|
case MEP_OPERAND_CALLNUM :
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 5, 1, 32, total_length, pc, & fields->f_5);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 5, 1, 32, total_length, pc, & fields->f_5);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 6, 1, 32, total_length, pc, & fields->f_6);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 6, 1, 32, total_length, pc, & fields->f_6);
|
Line 1093... |
Line 1295... |
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_ccrn_lo);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
FLD (f_ccrn) = ((((FLD (f_ccrn_hi)) << (4))) | (FLD (f_ccrn_lo)));
|
FLD (f_ccrn) = ((((FLD (f_ccrn_hi)) << (4))) | (FLD (f_ccrn_lo)));
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8 :
|
case MEP_OPERAND_CDISP10 :
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 8, 32, total_length, pc, & fields->f_8s24);
|
{
|
|
long value;
|
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, pc, & value);
|
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
|
fields->f_cdisp10 = value;
|
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A2 :
|
case MEP_OPERAND_CDISP10A2 :
|
{
|
{
|
long value;
|
long value;
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 7, 32, total_length, pc, & value);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, pc, & value);
|
value = ((value) << (1));
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
fields->f_8s24a2 = value;
|
fields->f_cdisp10 = value;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A4 :
|
case MEP_OPERAND_CDISP10A4 :
|
{
|
{
|
long value;
|
long value;
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 6, 32, total_length, pc, & value);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, pc, & value);
|
value = ((value) << (2));
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
fields->f_8s24a4 = value;
|
fields->f_cdisp10 = value;
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A8 :
|
case MEP_OPERAND_CDISP10A8 :
|
{
|
{
|
long value;
|
long value;
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 24, 5, 32, total_length, pc, & value);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, pc, & value);
|
value = ((value) << (3));
|
value = (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (512))) ? (((((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023))) - (1024))) : (((((((((value) & (128))) ? (((value) ^ (768))) : (value)) & (512))) ? ((((((value) & (128))) ? (((value) ^ (768))) : (value)) - (1024))) : ((((value) & (128))) ? (((value) ^ (768))) : (value))) & (1023)));
|
fields->f_8s24a8 = value;
|
fields->f_cdisp10 = value;
|
}
|
}
|
break;
|
break;
|
|
case MEP_OPERAND_CDISP12 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 20, 12, 32, total_length, pc, & fields->f_12s20);
|
|
break;
|
case MEP_OPERAND_CIMM4 :
|
case MEP_OPERAND_CIMM4 :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_rn);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_rn);
|
break;
|
break;
|
case MEP_OPERAND_CIMM5 :
|
case MEP_OPERAND_CIMM5 :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 24, 5, 32, total_length, pc, & fields->f_5u24);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 24, 5, 32, total_length, pc, & fields->f_5u24);
|
Line 1164... |
Line 1374... |
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_crnx_lo);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_crnx_lo);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
FLD (f_crnx) = ((((FLD (f_crnx_hi)) << (4))) | (FLD (f_crnx_lo)));
|
FLD (f_crnx) = ((((FLD (f_crnx_hi)) << (4))) | (FLD (f_crnx_lo)));
|
}
|
}
|
break;
|
break;
|
|
case MEP_OPERAND_CROC :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 7, 5, 32, total_length, pc, & fields->f_ivc2_5u7);
|
|
break;
|
|
case MEP_OPERAND_CROP :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 23, 5, 32, total_length, pc, & fields->f_ivc2_5u23);
|
|
break;
|
|
case MEP_OPERAND_CRPC :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 26, 5, 32, total_length, pc, & fields->f_ivc2_5u26);
|
|
break;
|
|
case MEP_OPERAND_CRPP :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 18, 5, 32, total_length, pc, & fields->f_ivc2_5u18);
|
|
break;
|
|
case MEP_OPERAND_CRQC :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 21, 5, 32, total_length, pc, & fields->f_ivc2_5u21);
|
|
break;
|
|
case MEP_OPERAND_CRQP :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 13, 5, 32, total_length, pc, & fields->f_ivc2_5u13);
|
|
break;
|
case MEP_OPERAND_CSRN :
|
case MEP_OPERAND_CSRN :
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 15, 1, 32, total_length, pc, & fields->f_csrn_hi);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 15, 1, 32, total_length, pc, & fields->f_csrn_hi);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_csrn_lo);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_csrn_lo);
|
Line 1190... |
Line 1418... |
break;
|
break;
|
case MEP_OPERAND_EPC :
|
case MEP_OPERAND_EPC :
|
break;
|
break;
|
case MEP_OPERAND_EXC :
|
case MEP_OPERAND_EXC :
|
break;
|
break;
|
case MEP_OPERAND_FMAX_CCRN :
|
case MEP_OPERAND_HI :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_fmax_4_4);
|
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD :
|
case MEP_OPERAND_IMM16P0 :
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 28, 1, 32, total_length, pc, & fields->f_fmax_28_1);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 8, 32, total_length, pc, & fields->f_ivc2_8u0);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_fmax_4_4);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 8, 32, total_length, pc, & fields->f_ivc2_8u20);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
FLD (f_fmax_frd) = ((((FLD (f_fmax_28_1)) << (4))) | (FLD (f_fmax_4_4)));
|
|
}
|
|
break;
|
|
case MEP_OPERAND_FMAX_FRD_INT :
|
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 28, 1, 32, total_length, pc, & fields->f_fmax_28_1);
|
FLD (f_ivc2_imm16p0) = ((FLD (f_ivc2_8u20)) | (((FLD (f_ivc2_8u0)) << (8))));
|
if (length <= 0) break;
|
}
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_fmax_4_4);
|
|
if (length <= 0) break;
|
|
FLD (f_fmax_frd) = ((((FLD (f_fmax_28_1)) << (4))) | (FLD (f_fmax_4_4)));
|
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRM :
|
case MEP_OPERAND_IMM3P12 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 12, 3, 32, total_length, pc, & fields->f_ivc2_3u12);
|
|
break;
|
|
case MEP_OPERAND_IMM3P25 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 25, 3, 32, total_length, pc, & fields->f_ivc2_3u25);
|
|
break;
|
|
case MEP_OPERAND_IMM3P4 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 3, 32, total_length, pc, & fields->f_ivc2_3u4);
|
|
break;
|
|
case MEP_OPERAND_IMM3P5 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 5, 3, 32, total_length, pc, & fields->f_ivc2_3u5);
|
|
break;
|
|
case MEP_OPERAND_IMM3P9 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 9, 3, 32, total_length, pc, & fields->f_ivc2_3u9);
|
|
break;
|
|
case MEP_OPERAND_IMM4P10 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 10, 4, 32, total_length, pc, & fields->f_ivc2_4u10);
|
|
break;
|
|
case MEP_OPERAND_IMM4P4 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_ivc2_4u4);
|
|
break;
|
|
case MEP_OPERAND_IMM4P8 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_ivc2_4u8);
|
|
break;
|
|
case MEP_OPERAND_IMM5P23 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 23, 5, 32, total_length, pc, & fields->f_ivc2_5u23);
|
|
break;
|
|
case MEP_OPERAND_IMM5P3 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 3, 5, 32, total_length, pc, & fields->f_ivc2_5u3);
|
|
break;
|
|
case MEP_OPERAND_IMM5P7 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 7, 5, 32, total_length, pc, & fields->f_ivc2_5u7);
|
|
break;
|
|
case MEP_OPERAND_IMM5P8 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 5, 32, total_length, pc, & fields->f_ivc2_5u8);
|
|
break;
|
|
case MEP_OPERAND_IMM6P2 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 2, 6, 32, total_length, pc, & fields->f_ivc2_6u2);
|
|
break;
|
|
case MEP_OPERAND_IMM6P6 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 6, 6, 32, total_length, pc, & fields->f_ivc2_6u6);
|
|
break;
|
|
case MEP_OPERAND_IMM8P0 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 8, 32, total_length, pc, & fields->f_ivc2_8u0);
|
|
break;
|
|
case MEP_OPERAND_IMM8P20 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 8, 32, total_length, pc, & fields->f_ivc2_8u20);
|
|
break;
|
|
case MEP_OPERAND_IMM8P4 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 8, 32, total_length, pc, & fields->f_ivc2_8u4);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_2 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 2, 32, total_length, pc, & fields->f_ivc2_2u0);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_3 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 3, 32, total_length, pc, & fields->f_ivc2_3u0);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_4 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 4, 32, total_length, pc, & fields->f_ivc2_4u0);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_5 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 5, 32, total_length, pc, & fields->f_ivc2_5u0);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_1 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 6, 1, 32, total_length, pc, & fields->f_ivc2_1u6);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_2 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 6, 2, 32, total_length, pc, & fields->f_ivc2_2u6);
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_3 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 6, 3, 32, total_length, pc, & fields->f_ivc2_3u6);
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CC :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2C3CCRN :
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 30, 1, 32, total_length, pc, & fields->f_fmax_30_1);
|
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;
|
if (length <= 0) break;
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 24, 4, 32, total_length, pc, & fields->f_fmax_24_4);
|
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;
|
if (length <= 0) break;
|
FLD (f_fmax_frm) = ((((FLD (f_fmax_30_1)) << (4))) | (FLD (f_fmax_24_4)));
|
FLD (f_ivc2_ccrn_c3) = ((((FLD (f_ivc2_ccrn_c3hi)) << (4))) | (FLD (f_ivc2_ccrn_c3lo)));
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN :
|
case MEP_OPERAND_IVC2CCRN :
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 29, 1, 32, total_length, pc, & fields->f_fmax_29_1);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 2, 32, total_length, pc, & fields->f_ivc2_ccrn_h2);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 4, 32, total_length, pc, & fields->f_fmax_20_4);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 4, 32, total_length, pc, & fields->f_ivc2_ccrn_lo);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
FLD (f_fmax_frn) = ((((FLD (f_fmax_29_1)) << (4))) | (FLD (f_fmax_20_4)));
|
FLD (f_ivc2_ccrn) = ((((FLD (f_ivc2_ccrn_h2)) << (4))) | (FLD (f_ivc2_ccrn_lo)));
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN_INT :
|
case MEP_OPERAND_IVC2CRN :
|
{
|
{
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 29, 1, 32, total_length, pc, & fields->f_fmax_29_1);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 1, 32, total_length, pc, & fields->f_ivc2_ccrn_h1);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 4, 32, total_length, pc, & fields->f_fmax_20_4);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 4, 32, total_length, pc, & fields->f_ivc2_ccrn_lo);
|
if (length <= 0) break;
|
if (length <= 0) break;
|
FLD (f_fmax_frn) = ((((FLD (f_fmax_29_1)) << (4))) | (FLD (f_fmax_20_4)));
|
FLD (f_ivc2_crnx) = ((((FLD (f_ivc2_ccrn_h1)) << (4))) | (FLD (f_ivc2_ccrn_lo)));
|
}
|
}
|
break;
|
break;
|
case MEP_OPERAND_FMAX_RM :
|
case MEP_OPERAND_IVC2RM :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_fmax_rm);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 32, total_length, pc, & fields->f_ivc2_crm);
|
break;
|
|
case MEP_OPERAND_HI :
|
|
break;
|
break;
|
case MEP_OPERAND_LO :
|
case MEP_OPERAND_LO :
|
break;
|
break;
|
case MEP_OPERAND_LP :
|
case MEP_OPERAND_LP :
|
break;
|
break;
|
Line 1310... |
Line 1646... |
case MEP_OPERAND_R1 :
|
case MEP_OPERAND_R1 :
|
break;
|
break;
|
case MEP_OPERAND_RL :
|
case MEP_OPERAND_RL :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 12, 4, 32, total_length, pc, & fields->f_rl);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 12, 4, 32, total_length, pc, & fields->f_rl);
|
break;
|
break;
|
|
case MEP_OPERAND_RL5 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 4, 32, total_length, pc, & fields->f_rl5);
|
|
break;
|
case MEP_OPERAND_RM :
|
case MEP_OPERAND_RM :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_rm);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_rm);
|
break;
|
break;
|
case MEP_OPERAND_RMA :
|
case MEP_OPERAND_RMA :
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_rm);
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 32, total_length, pc, & fields->f_rm);
|
Line 1366... |
Line 1705... |
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, pc, & fields->f_16s16);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, pc, & fields->f_16s16);
|
break;
|
break;
|
case MEP_OPERAND_SIMM16 :
|
case MEP_OPERAND_SIMM16 :
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, pc, & fields->f_16s16);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length, pc, & fields->f_16s16);
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM16P0 :
|
|
{
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 0, 8, 32, total_length, pc, & fields->f_ivc2_8u0);
|
|
if (length <= 0) break;
|
|
length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 8, 32, total_length, pc, & fields->f_ivc2_8u20);
|
|
if (length <= 0) break;
|
|
{
|
|
FLD (f_ivc2_simm16p0) = ((FLD (f_ivc2_8u20)) | (((FLD (f_ivc2_8u0)) << (8))));
|
|
}
|
|
}
|
|
break;
|
case MEP_OPERAND_SIMM6 :
|
case MEP_OPERAND_SIMM6 :
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 6, 32, total_length, pc, & fields->f_6s8);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 6, 32, total_length, pc, & fields->f_6s8);
|
break;
|
break;
|
case MEP_OPERAND_SIMM8 :
|
case MEP_OPERAND_SIMM8 :
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 8, 32, total_length, pc, & fields->f_8s8);
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 8, 32, total_length, pc, & fields->f_8s8);
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM8P0 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 0, 8, 32, total_length, pc, & fields->f_ivc2_8s0);
|
|
break;
|
|
case MEP_OPERAND_SIMM8P20 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 20, 8, 32, total_length, pc, & fields->f_ivc2_8s20);
|
|
break;
|
|
case MEP_OPERAND_SIMM8P4 :
|
|
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 4, 8, 32, total_length, pc, & fields->f_ivc2_8s4);
|
|
break;
|
case MEP_OPERAND_SP :
|
case MEP_OPERAND_SP :
|
break;
|
break;
|
case MEP_OPERAND_SPR :
|
case MEP_OPERAND_SPR :
|
break;
|
break;
|
case MEP_OPERAND_TP :
|
case MEP_OPERAND_TP :
|
Line 1477... |
Line 1836... |
switch (opindex)
|
switch (opindex)
|
{
|
{
|
case MEP_OPERAND_ADDR24A4 :
|
case MEP_OPERAND_ADDR24A4 :
|
value = fields->f_24u8a4n;
|
value = fields->f_24u8a4n;
|
break;
|
break;
|
|
case MEP_OPERAND_C5RMUIMM20 :
|
|
value = fields->f_c5_rmuimm20;
|
|
break;
|
|
case MEP_OPERAND_C5RNMUIMM24 :
|
|
value = fields->f_c5_rnmuimm24;
|
|
break;
|
case MEP_OPERAND_CALLNUM :
|
case MEP_OPERAND_CALLNUM :
|
value = fields->f_callnum;
|
value = fields->f_callnum;
|
break;
|
break;
|
case MEP_OPERAND_CCCC :
|
case MEP_OPERAND_CCCC :
|
value = fields->f_rm;
|
value = fields->f_rm;
|
break;
|
break;
|
case MEP_OPERAND_CCRN :
|
case MEP_OPERAND_CCRN :
|
value = fields->f_ccrn;
|
value = fields->f_ccrn;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8 :
|
case MEP_OPERAND_CDISP10 :
|
value = fields->f_8s24;
|
value = fields->f_cdisp10;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A2 :
|
case MEP_OPERAND_CDISP10A2 :
|
value = fields->f_8s24a2;
|
value = fields->f_cdisp10;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A4 :
|
case MEP_OPERAND_CDISP10A4 :
|
value = fields->f_8s24a4;
|
value = fields->f_cdisp10;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A8 :
|
case MEP_OPERAND_CDISP10A8 :
|
value = fields->f_8s24a8;
|
value = fields->f_cdisp10;
|
|
break;
|
|
case MEP_OPERAND_CDISP12 :
|
|
value = fields->f_12s20;
|
break;
|
break;
|
case MEP_OPERAND_CIMM4 :
|
case MEP_OPERAND_CIMM4 :
|
value = fields->f_rn;
|
value = fields->f_rn;
|
break;
|
break;
|
case MEP_OPERAND_CIMM5 :
|
case MEP_OPERAND_CIMM5 :
|
Line 1525... |
Line 1893... |
value = fields->f_crnx;
|
value = fields->f_crnx;
|
break;
|
break;
|
case MEP_OPERAND_CRNX64 :
|
case MEP_OPERAND_CRNX64 :
|
value = fields->f_crnx;
|
value = fields->f_crnx;
|
break;
|
break;
|
|
case MEP_OPERAND_CROC :
|
|
value = fields->f_ivc2_5u7;
|
|
break;
|
|
case MEP_OPERAND_CROP :
|
|
value = fields->f_ivc2_5u23;
|
|
break;
|
|
case MEP_OPERAND_CRPC :
|
|
value = fields->f_ivc2_5u26;
|
|
break;
|
|
case MEP_OPERAND_CRPP :
|
|
value = fields->f_ivc2_5u18;
|
|
break;
|
|
case MEP_OPERAND_CRQC :
|
|
value = fields->f_ivc2_5u21;
|
|
break;
|
|
case MEP_OPERAND_CRQP :
|
|
value = fields->f_ivc2_5u13;
|
|
break;
|
case MEP_OPERAND_CSRN :
|
case MEP_OPERAND_CSRN :
|
value = fields->f_csrn;
|
value = fields->f_csrn;
|
break;
|
break;
|
case MEP_OPERAND_CSRN_IDX :
|
case MEP_OPERAND_CSRN_IDX :
|
value = fields->f_csrn;
|
value = fields->f_csrn;
|
Line 1543... |
Line 1929... |
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_EXC :
|
case MEP_OPERAND_EXC :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_CCRN :
|
case MEP_OPERAND_HI :
|
value = fields->f_fmax_4_4;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD :
|
case MEP_OPERAND_IMM16P0 :
|
value = fields->f_fmax_frd;
|
value = fields->f_ivc2_imm16p0;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD_INT :
|
case MEP_OPERAND_IMM3P12 :
|
value = fields->f_fmax_frd;
|
value = fields->f_ivc2_3u12;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRM :
|
case MEP_OPERAND_IMM3P25 :
|
value = fields->f_fmax_frm;
|
value = fields->f_ivc2_3u25;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN :
|
case MEP_OPERAND_IMM3P4 :
|
value = fields->f_fmax_frn;
|
value = fields->f_ivc2_3u4;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN_INT :
|
case MEP_OPERAND_IMM3P5 :
|
value = fields->f_fmax_frn;
|
value = fields->f_ivc2_3u5;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_RM :
|
case MEP_OPERAND_IMM3P9 :
|
value = fields->f_fmax_rm;
|
value = fields->f_ivc2_3u9;
|
break;
|
break;
|
case MEP_OPERAND_HI :
|
case MEP_OPERAND_IMM4P10 :
|
|
value = fields->f_ivc2_4u10;
|
|
break;
|
|
case MEP_OPERAND_IMM4P4 :
|
|
value = fields->f_ivc2_4u4;
|
|
break;
|
|
case MEP_OPERAND_IMM4P8 :
|
|
value = fields->f_ivc2_4u8;
|
|
break;
|
|
case MEP_OPERAND_IMM5P23 :
|
|
value = fields->f_ivc2_5u23;
|
|
break;
|
|
case MEP_OPERAND_IMM5P3 :
|
|
value = fields->f_ivc2_5u3;
|
|
break;
|
|
case MEP_OPERAND_IMM5P7 :
|
|
value = fields->f_ivc2_5u7;
|
|
break;
|
|
case MEP_OPERAND_IMM5P8 :
|
|
value = fields->f_ivc2_5u8;
|
|
break;
|
|
case MEP_OPERAND_IMM6P2 :
|
|
value = fields->f_ivc2_6u2;
|
|
break;
|
|
case MEP_OPERAND_IMM6P6 :
|
|
value = fields->f_ivc2_6u6;
|
|
break;
|
|
case MEP_OPERAND_IMM8P0 :
|
|
value = fields->f_ivc2_8u0;
|
|
break;
|
|
case MEP_OPERAND_IMM8P20 :
|
|
value = fields->f_ivc2_8u20;
|
|
break;
|
|
case MEP_OPERAND_IMM8P4 :
|
|
value = fields->f_ivc2_8u4;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_2 :
|
|
value = fields->f_ivc2_2u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_3 :
|
|
value = fields->f_ivc2_3u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_4 :
|
|
value = fields->f_ivc2_4u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_5 :
|
|
value = fields->f_ivc2_5u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_1 :
|
|
value = fields->f_ivc2_1u6;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_2 :
|
|
value = fields->f_ivc2_2u6;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_3 :
|
|
value = fields->f_ivc2_3u6;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_2 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_3 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_4 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_5 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_6 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_7 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_2 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_3 :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_4 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_5 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_6 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_7 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_CC :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2C3CCRN :
|
|
value = fields->f_ivc2_ccrn_c3;
|
|
break;
|
|
case MEP_OPERAND_IVC2CCRN :
|
|
value = fields->f_ivc2_ccrn;
|
|
break;
|
|
case MEP_OPERAND_IVC2CRN :
|
|
value = fields->f_ivc2_crnx;
|
|
break;
|
|
case MEP_OPERAND_IVC2RM :
|
|
value = fields->f_ivc2_crm;
|
|
break;
|
case MEP_OPERAND_LO :
|
case MEP_OPERAND_LO :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_LP :
|
case MEP_OPERAND_LP :
|
value = 0;
|
value = 0;
|
Line 1618... |
Line 2139... |
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_RL :
|
case MEP_OPERAND_RL :
|
value = fields->f_rl;
|
value = fields->f_rl;
|
break;
|
break;
|
|
case MEP_OPERAND_RL5 :
|
|
value = fields->f_rl5;
|
|
break;
|
case MEP_OPERAND_RM :
|
case MEP_OPERAND_RM :
|
value = fields->f_rm;
|
value = fields->f_rm;
|
break;
|
break;
|
case MEP_OPERAND_RMA :
|
case MEP_OPERAND_RMA :
|
value = fields->f_rm;
|
value = fields->f_rm;
|
Line 1675... |
Line 2199... |
value = fields->f_16s16;
|
value = fields->f_16s16;
|
break;
|
break;
|
case MEP_OPERAND_SIMM16 :
|
case MEP_OPERAND_SIMM16 :
|
value = fields->f_16s16;
|
value = fields->f_16s16;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM16P0 :
|
|
value = fields->f_ivc2_simm16p0;
|
|
break;
|
case MEP_OPERAND_SIMM6 :
|
case MEP_OPERAND_SIMM6 :
|
value = fields->f_6s8;
|
value = fields->f_6s8;
|
break;
|
break;
|
case MEP_OPERAND_SIMM8 :
|
case MEP_OPERAND_SIMM8 :
|
value = fields->f_8s8;
|
value = fields->f_8s8;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM8P0 :
|
|
value = fields->f_ivc2_8s0;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P20 :
|
|
value = fields->f_ivc2_8s20;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P4 :
|
|
value = fields->f_ivc2_8s4;
|
|
break;
|
case MEP_OPERAND_SP :
|
case MEP_OPERAND_SP :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_SPR :
|
case MEP_OPERAND_SPR :
|
value = 0;
|
value = 0;
|
Line 1752... |
Line 2288... |
switch (opindex)
|
switch (opindex)
|
{
|
{
|
case MEP_OPERAND_ADDR24A4 :
|
case MEP_OPERAND_ADDR24A4 :
|
value = fields->f_24u8a4n;
|
value = fields->f_24u8a4n;
|
break;
|
break;
|
|
case MEP_OPERAND_C5RMUIMM20 :
|
|
value = fields->f_c5_rmuimm20;
|
|
break;
|
|
case MEP_OPERAND_C5RNMUIMM24 :
|
|
value = fields->f_c5_rnmuimm24;
|
|
break;
|
case MEP_OPERAND_CALLNUM :
|
case MEP_OPERAND_CALLNUM :
|
value = fields->f_callnum;
|
value = fields->f_callnum;
|
break;
|
break;
|
case MEP_OPERAND_CCCC :
|
case MEP_OPERAND_CCCC :
|
value = fields->f_rm;
|
value = fields->f_rm;
|
break;
|
break;
|
case MEP_OPERAND_CCRN :
|
case MEP_OPERAND_CCRN :
|
value = fields->f_ccrn;
|
value = fields->f_ccrn;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8 :
|
case MEP_OPERAND_CDISP10 :
|
value = fields->f_8s24;
|
value = fields->f_cdisp10;
|
|
break;
|
|
case MEP_OPERAND_CDISP10A2 :
|
|
value = fields->f_cdisp10;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A2 :
|
case MEP_OPERAND_CDISP10A4 :
|
value = fields->f_8s24a2;
|
value = fields->f_cdisp10;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A4 :
|
case MEP_OPERAND_CDISP10A8 :
|
value = fields->f_8s24a4;
|
value = fields->f_cdisp10;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A8 :
|
case MEP_OPERAND_CDISP12 :
|
value = fields->f_8s24a8;
|
value = fields->f_12s20;
|
break;
|
break;
|
case MEP_OPERAND_CIMM4 :
|
case MEP_OPERAND_CIMM4 :
|
value = fields->f_rn;
|
value = fields->f_rn;
|
break;
|
break;
|
case MEP_OPERAND_CIMM5 :
|
case MEP_OPERAND_CIMM5 :
|
Line 1800... |
Line 2345... |
value = fields->f_crnx;
|
value = fields->f_crnx;
|
break;
|
break;
|
case MEP_OPERAND_CRNX64 :
|
case MEP_OPERAND_CRNX64 :
|
value = fields->f_crnx;
|
value = fields->f_crnx;
|
break;
|
break;
|
|
case MEP_OPERAND_CROC :
|
|
value = fields->f_ivc2_5u7;
|
|
break;
|
|
case MEP_OPERAND_CROP :
|
|
value = fields->f_ivc2_5u23;
|
|
break;
|
|
case MEP_OPERAND_CRPC :
|
|
value = fields->f_ivc2_5u26;
|
|
break;
|
|
case MEP_OPERAND_CRPP :
|
|
value = fields->f_ivc2_5u18;
|
|
break;
|
|
case MEP_OPERAND_CRQC :
|
|
value = fields->f_ivc2_5u21;
|
|
break;
|
|
case MEP_OPERAND_CRQP :
|
|
value = fields->f_ivc2_5u13;
|
|
break;
|
case MEP_OPERAND_CSRN :
|
case MEP_OPERAND_CSRN :
|
value = fields->f_csrn;
|
value = fields->f_csrn;
|
break;
|
break;
|
case MEP_OPERAND_CSRN_IDX :
|
case MEP_OPERAND_CSRN_IDX :
|
value = fields->f_csrn;
|
value = fields->f_csrn;
|
Line 1818... |
Line 2381... |
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_EXC :
|
case MEP_OPERAND_EXC :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_CCRN :
|
case MEP_OPERAND_HI :
|
value = fields->f_fmax_4_4;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD :
|
case MEP_OPERAND_IMM16P0 :
|
value = fields->f_fmax_frd;
|
value = fields->f_ivc2_imm16p0;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD_INT :
|
case MEP_OPERAND_IMM3P12 :
|
value = fields->f_fmax_frd;
|
value = fields->f_ivc2_3u12;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRM :
|
case MEP_OPERAND_IMM3P25 :
|
value = fields->f_fmax_frm;
|
value = fields->f_ivc2_3u25;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN :
|
case MEP_OPERAND_IMM3P4 :
|
value = fields->f_fmax_frn;
|
value = fields->f_ivc2_3u4;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN_INT :
|
case MEP_OPERAND_IMM3P5 :
|
value = fields->f_fmax_frn;
|
value = fields->f_ivc2_3u5;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_RM :
|
case MEP_OPERAND_IMM3P9 :
|
value = fields->f_fmax_rm;
|
value = fields->f_ivc2_3u9;
|
break;
|
break;
|
case MEP_OPERAND_HI :
|
case MEP_OPERAND_IMM4P10 :
|
|
value = fields->f_ivc2_4u10;
|
|
break;
|
|
case MEP_OPERAND_IMM4P4 :
|
|
value = fields->f_ivc2_4u4;
|
|
break;
|
|
case MEP_OPERAND_IMM4P8 :
|
|
value = fields->f_ivc2_4u8;
|
|
break;
|
|
case MEP_OPERAND_IMM5P23 :
|
|
value = fields->f_ivc2_5u23;
|
|
break;
|
|
case MEP_OPERAND_IMM5P3 :
|
|
value = fields->f_ivc2_5u3;
|
|
break;
|
|
case MEP_OPERAND_IMM5P7 :
|
|
value = fields->f_ivc2_5u7;
|
|
break;
|
|
case MEP_OPERAND_IMM5P8 :
|
|
value = fields->f_ivc2_5u8;
|
|
break;
|
|
case MEP_OPERAND_IMM6P2 :
|
|
value = fields->f_ivc2_6u2;
|
|
break;
|
|
case MEP_OPERAND_IMM6P6 :
|
|
value = fields->f_ivc2_6u6;
|
|
break;
|
|
case MEP_OPERAND_IMM8P0 :
|
|
value = fields->f_ivc2_8u0;
|
|
break;
|
|
case MEP_OPERAND_IMM8P20 :
|
|
value = fields->f_ivc2_8u20;
|
|
break;
|
|
case MEP_OPERAND_IMM8P4 :
|
|
value = fields->f_ivc2_8u4;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_2 :
|
|
value = fields->f_ivc2_2u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_3 :
|
|
value = fields->f_ivc2_3u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_4 :
|
|
value = fields->f_ivc2_4u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_5 :
|
|
value = fields->f_ivc2_5u0;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_1 :
|
|
value = fields->f_ivc2_1u6;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_2 :
|
|
value = fields->f_ivc2_2u6;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_3 :
|
|
value = fields->f_ivc2_3u6;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_2 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_3 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_4 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_5 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_6 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_7 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_2 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_3 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_4 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_5 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_6 :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_7 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_CC :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR0 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR1 :
|
|
value = 0;
|
|
break;
|
|
case MEP_OPERAND_IVC2C3CCRN :
|
|
value = fields->f_ivc2_ccrn_c3;
|
|
break;
|
|
case MEP_OPERAND_IVC2CCRN :
|
|
value = fields->f_ivc2_ccrn;
|
|
break;
|
|
case MEP_OPERAND_IVC2CRN :
|
|
value = fields->f_ivc2_crnx;
|
|
break;
|
|
case MEP_OPERAND_IVC2RM :
|
|
value = fields->f_ivc2_crm;
|
|
break;
|
case MEP_OPERAND_LO :
|
case MEP_OPERAND_LO :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_LP :
|
case MEP_OPERAND_LP :
|
value = 0;
|
value = 0;
|
Line 1893... |
Line 2591... |
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_RL :
|
case MEP_OPERAND_RL :
|
value = fields->f_rl;
|
value = fields->f_rl;
|
break;
|
break;
|
|
case MEP_OPERAND_RL5 :
|
|
value = fields->f_rl5;
|
|
break;
|
case MEP_OPERAND_RM :
|
case MEP_OPERAND_RM :
|
value = fields->f_rm;
|
value = fields->f_rm;
|
break;
|
break;
|
case MEP_OPERAND_RMA :
|
case MEP_OPERAND_RMA :
|
value = fields->f_rm;
|
value = fields->f_rm;
|
Line 1950... |
Line 2651... |
value = fields->f_16s16;
|
value = fields->f_16s16;
|
break;
|
break;
|
case MEP_OPERAND_SIMM16 :
|
case MEP_OPERAND_SIMM16 :
|
value = fields->f_16s16;
|
value = fields->f_16s16;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM16P0 :
|
|
value = fields->f_ivc2_simm16p0;
|
|
break;
|
case MEP_OPERAND_SIMM6 :
|
case MEP_OPERAND_SIMM6 :
|
value = fields->f_6s8;
|
value = fields->f_6s8;
|
break;
|
break;
|
case MEP_OPERAND_SIMM8 :
|
case MEP_OPERAND_SIMM8 :
|
value = fields->f_8s8;
|
value = fields->f_8s8;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM8P0 :
|
|
value = fields->f_ivc2_8s0;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P20 :
|
|
value = fields->f_ivc2_8s20;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P4 :
|
|
value = fields->f_ivc2_8s4;
|
|
break;
|
case MEP_OPERAND_SP :
|
case MEP_OPERAND_SP :
|
value = 0;
|
value = 0;
|
break;
|
break;
|
case MEP_OPERAND_SPR :
|
case MEP_OPERAND_SPR :
|
value = 0;
|
value = 0;
|
Line 2034... |
Line 2747... |
switch (opindex)
|
switch (opindex)
|
{
|
{
|
case MEP_OPERAND_ADDR24A4 :
|
case MEP_OPERAND_ADDR24A4 :
|
fields->f_24u8a4n = value;
|
fields->f_24u8a4n = value;
|
break;
|
break;
|
|
case MEP_OPERAND_C5RMUIMM20 :
|
|
fields->f_c5_rmuimm20 = value;
|
|
break;
|
|
case MEP_OPERAND_C5RNMUIMM24 :
|
|
fields->f_c5_rnmuimm24 = value;
|
|
break;
|
case MEP_OPERAND_CALLNUM :
|
case MEP_OPERAND_CALLNUM :
|
fields->f_callnum = value;
|
fields->f_callnum = value;
|
break;
|
break;
|
case MEP_OPERAND_CCCC :
|
case MEP_OPERAND_CCCC :
|
fields->f_rm = value;
|
fields->f_rm = value;
|
break;
|
break;
|
case MEP_OPERAND_CCRN :
|
case MEP_OPERAND_CCRN :
|
fields->f_ccrn = value;
|
fields->f_ccrn = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8 :
|
case MEP_OPERAND_CDISP10 :
|
fields->f_8s24 = value;
|
fields->f_cdisp10 = value;
|
|
break;
|
|
case MEP_OPERAND_CDISP10A2 :
|
|
fields->f_cdisp10 = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A2 :
|
case MEP_OPERAND_CDISP10A4 :
|
fields->f_8s24a2 = value;
|
fields->f_cdisp10 = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A4 :
|
case MEP_OPERAND_CDISP10A8 :
|
fields->f_8s24a4 = value;
|
fields->f_cdisp10 = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A8 :
|
case MEP_OPERAND_CDISP12 :
|
fields->f_8s24a8 = value;
|
fields->f_12s20 = value;
|
break;
|
break;
|
case MEP_OPERAND_CIMM4 :
|
case MEP_OPERAND_CIMM4 :
|
fields->f_rn = value;
|
fields->f_rn = value;
|
break;
|
break;
|
case MEP_OPERAND_CIMM5 :
|
case MEP_OPERAND_CIMM5 :
|
Line 2081... |
Line 2803... |
fields->f_crnx = value;
|
fields->f_crnx = value;
|
break;
|
break;
|
case MEP_OPERAND_CRNX64 :
|
case MEP_OPERAND_CRNX64 :
|
fields->f_crnx = value;
|
fields->f_crnx = value;
|
break;
|
break;
|
|
case MEP_OPERAND_CROC :
|
|
fields->f_ivc2_5u7 = value;
|
|
break;
|
|
case MEP_OPERAND_CROP :
|
|
fields->f_ivc2_5u23 = value;
|
|
break;
|
|
case MEP_OPERAND_CRPC :
|
|
fields->f_ivc2_5u26 = value;
|
|
break;
|
|
case MEP_OPERAND_CRPP :
|
|
fields->f_ivc2_5u18 = value;
|
|
break;
|
|
case MEP_OPERAND_CRQC :
|
|
fields->f_ivc2_5u21 = value;
|
|
break;
|
|
case MEP_OPERAND_CRQP :
|
|
fields->f_ivc2_5u13 = value;
|
|
break;
|
case MEP_OPERAND_CSRN :
|
case MEP_OPERAND_CSRN :
|
fields->f_csrn = value;
|
fields->f_csrn = value;
|
break;
|
break;
|
case MEP_OPERAND_CSRN_IDX :
|
case MEP_OPERAND_CSRN_IDX :
|
fields->f_csrn = value;
|
fields->f_csrn = value;
|
Line 2095... |
Line 2835... |
break;
|
break;
|
case MEP_OPERAND_EPC :
|
case MEP_OPERAND_EPC :
|
break;
|
break;
|
case MEP_OPERAND_EXC :
|
case MEP_OPERAND_EXC :
|
break;
|
break;
|
case MEP_OPERAND_FMAX_CCRN :
|
case MEP_OPERAND_HI :
|
fields->f_fmax_4_4 = value;
|
break;
|
|
case MEP_OPERAND_IMM16P0 :
|
|
fields->f_ivc2_imm16p0 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD :
|
case MEP_OPERAND_IMM3P12 :
|
fields->f_fmax_frd = value;
|
fields->f_ivc2_3u12 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD_INT :
|
case MEP_OPERAND_IMM3P25 :
|
fields->f_fmax_frd = value;
|
fields->f_ivc2_3u25 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRM :
|
case MEP_OPERAND_IMM3P4 :
|
fields->f_fmax_frm = value;
|
fields->f_ivc2_3u4 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN :
|
case MEP_OPERAND_IMM3P5 :
|
fields->f_fmax_frn = value;
|
fields->f_ivc2_3u5 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN_INT :
|
case MEP_OPERAND_IMM3P9 :
|
fields->f_fmax_frn = value;
|
fields->f_ivc2_3u9 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_RM :
|
case MEP_OPERAND_IMM4P10 :
|
fields->f_fmax_rm = value;
|
fields->f_ivc2_4u10 = value;
|
break;
|
break;
|
case MEP_OPERAND_HI :
|
case MEP_OPERAND_IMM4P4 :
|
|
fields->f_ivc2_4u4 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM4P8 :
|
|
fields->f_ivc2_4u8 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P23 :
|
|
fields->f_ivc2_5u23 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P3 :
|
|
fields->f_ivc2_5u3 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P7 :
|
|
fields->f_ivc2_5u7 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P8 :
|
|
fields->f_ivc2_5u8 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM6P2 :
|
|
fields->f_ivc2_6u2 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM6P6 :
|
|
fields->f_ivc2_6u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM8P0 :
|
|
fields->f_ivc2_8u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM8P20 :
|
|
fields->f_ivc2_8u20 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM8P4 :
|
|
fields->f_ivc2_8u4 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_2 :
|
|
fields->f_ivc2_2u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_3 :
|
|
fields->f_ivc2_3u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_4 :
|
|
fields->f_ivc2_4u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_5 :
|
|
fields->f_ivc2_5u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_1 :
|
|
fields->f_ivc2_1u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_2 :
|
|
fields->f_ivc2_2u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_3 :
|
|
fields->f_ivc2_3u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CC :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2C3CCRN :
|
|
fields->f_ivc2_ccrn_c3 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2CCRN :
|
|
fields->f_ivc2_ccrn = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2CRN :
|
|
fields->f_ivc2_crnx = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2RM :
|
|
fields->f_ivc2_crm = value;
|
break;
|
break;
|
case MEP_OPERAND_LO :
|
case MEP_OPERAND_LO :
|
break;
|
break;
|
case MEP_OPERAND_LP :
|
case MEP_OPERAND_LP :
|
break;
|
break;
|
Line 2158... |
Line 3010... |
case MEP_OPERAND_R1 :
|
case MEP_OPERAND_R1 :
|
break;
|
break;
|
case MEP_OPERAND_RL :
|
case MEP_OPERAND_RL :
|
fields->f_rl = value;
|
fields->f_rl = value;
|
break;
|
break;
|
|
case MEP_OPERAND_RL5 :
|
|
fields->f_rl5 = value;
|
|
break;
|
case MEP_OPERAND_RM :
|
case MEP_OPERAND_RM :
|
fields->f_rm = value;
|
fields->f_rm = value;
|
break;
|
break;
|
case MEP_OPERAND_RMA :
|
case MEP_OPERAND_RMA :
|
fields->f_rm = value;
|
fields->f_rm = value;
|
Line 2214... |
Line 3069... |
fields->f_16s16 = value;
|
fields->f_16s16 = value;
|
break;
|
break;
|
case MEP_OPERAND_SIMM16 :
|
case MEP_OPERAND_SIMM16 :
|
fields->f_16s16 = value;
|
fields->f_16s16 = value;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM16P0 :
|
|
fields->f_ivc2_simm16p0 = value;
|
|
break;
|
case MEP_OPERAND_SIMM6 :
|
case MEP_OPERAND_SIMM6 :
|
fields->f_6s8 = value;
|
fields->f_6s8 = value;
|
break;
|
break;
|
case MEP_OPERAND_SIMM8 :
|
case MEP_OPERAND_SIMM8 :
|
fields->f_8s8 = value;
|
fields->f_8s8 = value;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM8P0 :
|
|
fields->f_ivc2_8s0 = value;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P20 :
|
|
fields->f_ivc2_8s20 = value;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P4 :
|
|
fields->f_ivc2_8s4 = value;
|
|
break;
|
case MEP_OPERAND_SP :
|
case MEP_OPERAND_SP :
|
break;
|
break;
|
case MEP_OPERAND_SPR :
|
case MEP_OPERAND_SPR :
|
break;
|
break;
|
case MEP_OPERAND_TP :
|
case MEP_OPERAND_TP :
|
Line 2283... |
Line 3150... |
switch (opindex)
|
switch (opindex)
|
{
|
{
|
case MEP_OPERAND_ADDR24A4 :
|
case MEP_OPERAND_ADDR24A4 :
|
fields->f_24u8a4n = value;
|
fields->f_24u8a4n = value;
|
break;
|
break;
|
|
case MEP_OPERAND_C5RMUIMM20 :
|
|
fields->f_c5_rmuimm20 = value;
|
|
break;
|
|
case MEP_OPERAND_C5RNMUIMM24 :
|
|
fields->f_c5_rnmuimm24 = value;
|
|
break;
|
case MEP_OPERAND_CALLNUM :
|
case MEP_OPERAND_CALLNUM :
|
fields->f_callnum = value;
|
fields->f_callnum = value;
|
break;
|
break;
|
case MEP_OPERAND_CCCC :
|
case MEP_OPERAND_CCCC :
|
fields->f_rm = value;
|
fields->f_rm = value;
|
break;
|
break;
|
case MEP_OPERAND_CCRN :
|
case MEP_OPERAND_CCRN :
|
fields->f_ccrn = value;
|
fields->f_ccrn = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8 :
|
case MEP_OPERAND_CDISP10 :
|
fields->f_8s24 = value;
|
fields->f_cdisp10 = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A2 :
|
case MEP_OPERAND_CDISP10A2 :
|
fields->f_8s24a2 = value;
|
fields->f_cdisp10 = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A4 :
|
case MEP_OPERAND_CDISP10A4 :
|
fields->f_8s24a4 = value;
|
fields->f_cdisp10 = value;
|
break;
|
break;
|
case MEP_OPERAND_CDISP8A8 :
|
case MEP_OPERAND_CDISP10A8 :
|
fields->f_8s24a8 = value;
|
fields->f_cdisp10 = value;
|
|
break;
|
|
case MEP_OPERAND_CDISP12 :
|
|
fields->f_12s20 = value;
|
break;
|
break;
|
case MEP_OPERAND_CIMM4 :
|
case MEP_OPERAND_CIMM4 :
|
fields->f_rn = value;
|
fields->f_rn = value;
|
break;
|
break;
|
case MEP_OPERAND_CIMM5 :
|
case MEP_OPERAND_CIMM5 :
|
Line 2330... |
Line 3206... |
fields->f_crnx = value;
|
fields->f_crnx = value;
|
break;
|
break;
|
case MEP_OPERAND_CRNX64 :
|
case MEP_OPERAND_CRNX64 :
|
fields->f_crnx = value;
|
fields->f_crnx = value;
|
break;
|
break;
|
|
case MEP_OPERAND_CROC :
|
|
fields->f_ivc2_5u7 = value;
|
|
break;
|
|
case MEP_OPERAND_CROP :
|
|
fields->f_ivc2_5u23 = value;
|
|
break;
|
|
case MEP_OPERAND_CRPC :
|
|
fields->f_ivc2_5u26 = value;
|
|
break;
|
|
case MEP_OPERAND_CRPP :
|
|
fields->f_ivc2_5u18 = value;
|
|
break;
|
|
case MEP_OPERAND_CRQC :
|
|
fields->f_ivc2_5u21 = value;
|
|
break;
|
|
case MEP_OPERAND_CRQP :
|
|
fields->f_ivc2_5u13 = value;
|
|
break;
|
case MEP_OPERAND_CSRN :
|
case MEP_OPERAND_CSRN :
|
fields->f_csrn = value;
|
fields->f_csrn = value;
|
break;
|
break;
|
case MEP_OPERAND_CSRN_IDX :
|
case MEP_OPERAND_CSRN_IDX :
|
fields->f_csrn = value;
|
fields->f_csrn = value;
|
Line 2344... |
Line 3238... |
break;
|
break;
|
case MEP_OPERAND_EPC :
|
case MEP_OPERAND_EPC :
|
break;
|
break;
|
case MEP_OPERAND_EXC :
|
case MEP_OPERAND_EXC :
|
break;
|
break;
|
case MEP_OPERAND_FMAX_CCRN :
|
case MEP_OPERAND_HI :
|
fields->f_fmax_4_4 = value;
|
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD :
|
case MEP_OPERAND_IMM16P0 :
|
fields->f_fmax_frd = value;
|
fields->f_ivc2_imm16p0 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRD_INT :
|
case MEP_OPERAND_IMM3P12 :
|
fields->f_fmax_frd = value;
|
fields->f_ivc2_3u12 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRM :
|
case MEP_OPERAND_IMM3P25 :
|
fields->f_fmax_frm = value;
|
fields->f_ivc2_3u25 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN :
|
case MEP_OPERAND_IMM3P4 :
|
fields->f_fmax_frn = value;
|
fields->f_ivc2_3u4 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_FRN_INT :
|
case MEP_OPERAND_IMM3P5 :
|
fields->f_fmax_frn = value;
|
fields->f_ivc2_3u5 = value;
|
break;
|
break;
|
case MEP_OPERAND_FMAX_RM :
|
case MEP_OPERAND_IMM3P9 :
|
fields->f_fmax_rm = value;
|
fields->f_ivc2_3u9 = value;
|
break;
|
break;
|
case MEP_OPERAND_HI :
|
case MEP_OPERAND_IMM4P10 :
|
|
fields->f_ivc2_4u10 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM4P4 :
|
|
fields->f_ivc2_4u4 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM4P8 :
|
|
fields->f_ivc2_4u8 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P23 :
|
|
fields->f_ivc2_5u23 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P3 :
|
|
fields->f_ivc2_5u3 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P7 :
|
|
fields->f_ivc2_5u7 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM5P8 :
|
|
fields->f_ivc2_5u8 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM6P2 :
|
|
fields->f_ivc2_6u2 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM6P6 :
|
|
fields->f_ivc2_6u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM8P0 :
|
|
fields->f_ivc2_8u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM8P20 :
|
|
fields->f_ivc2_8u20 = value;
|
|
break;
|
|
case MEP_OPERAND_IMM8P4 :
|
|
fields->f_ivc2_8u4 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_2 :
|
|
fields->f_ivc2_2u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_3 :
|
|
fields->f_ivc2_3u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_4 :
|
|
fields->f_ivc2_4u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_0_5 :
|
|
fields->f_ivc2_5u0 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_1 :
|
|
fields->f_ivc2_1u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_2 :
|
|
fields->f_ivc2_2u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC_X_6_3 :
|
|
fields->f_ivc2_3u6 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC0_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_2 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_3 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_4 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_5 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_6 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_ACC1_7 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CC :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFA1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_COFR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR0 :
|
|
break;
|
|
case MEP_OPERAND_IVC2_CSAR1 :
|
|
break;
|
|
case MEP_OPERAND_IVC2C3CCRN :
|
|
fields->f_ivc2_ccrn_c3 = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2CCRN :
|
|
fields->f_ivc2_ccrn = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2CRN :
|
|
fields->f_ivc2_crnx = value;
|
|
break;
|
|
case MEP_OPERAND_IVC2RM :
|
|
fields->f_ivc2_crm = value;
|
break;
|
break;
|
case MEP_OPERAND_LO :
|
case MEP_OPERAND_LO :
|
break;
|
break;
|
case MEP_OPERAND_LP :
|
case MEP_OPERAND_LP :
|
break;
|
break;
|
Line 2407... |
Line 3413... |
case MEP_OPERAND_R1 :
|
case MEP_OPERAND_R1 :
|
break;
|
break;
|
case MEP_OPERAND_RL :
|
case MEP_OPERAND_RL :
|
fields->f_rl = value;
|
fields->f_rl = value;
|
break;
|
break;
|
|
case MEP_OPERAND_RL5 :
|
|
fields->f_rl5 = value;
|
|
break;
|
case MEP_OPERAND_RM :
|
case MEP_OPERAND_RM :
|
fields->f_rm = value;
|
fields->f_rm = value;
|
break;
|
break;
|
case MEP_OPERAND_RMA :
|
case MEP_OPERAND_RMA :
|
fields->f_rm = value;
|
fields->f_rm = value;
|
Line 2463... |
Line 3472... |
fields->f_16s16 = value;
|
fields->f_16s16 = value;
|
break;
|
break;
|
case MEP_OPERAND_SIMM16 :
|
case MEP_OPERAND_SIMM16 :
|
fields->f_16s16 = value;
|
fields->f_16s16 = value;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM16P0 :
|
|
fields->f_ivc2_simm16p0 = value;
|
|
break;
|
case MEP_OPERAND_SIMM6 :
|
case MEP_OPERAND_SIMM6 :
|
fields->f_6s8 = value;
|
fields->f_6s8 = value;
|
break;
|
break;
|
case MEP_OPERAND_SIMM8 :
|
case MEP_OPERAND_SIMM8 :
|
fields->f_8s8 = value;
|
fields->f_8s8 = value;
|
break;
|
break;
|
|
case MEP_OPERAND_SIMM8P0 :
|
|
fields->f_ivc2_8s0 = value;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P20 :
|
|
fields->f_ivc2_8s20 = value;
|
|
break;
|
|
case MEP_OPERAND_SIMM8P4 :
|
|
fields->f_ivc2_8s4 = value;
|
|
break;
|
case MEP_OPERAND_SP :
|
case MEP_OPERAND_SP :
|
break;
|
break;
|
case MEP_OPERAND_SPR :
|
case MEP_OPERAND_SPR :
|
break;
|
break;
|
case MEP_OPERAND_TP :
|
case MEP_OPERAND_TP :
|