diff options
author | DJ Delorie <dj@redhat.com> | 2009-04-18 02:56:43 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-04-18 02:56:43 +0000 |
commit | 45be3704c822b201bb2ec4734a550237f3aa2f74 (patch) | |
tree | 8899641d60f4371ea7b966cae75f3594c88324c5 /opcodes/mep-desc.c | |
parent | 52de720d5d653198146681e75d14f4d31b3dd6eb (diff) | |
download | gdb-45be3704c822b201bb2ec4734a550237f3aa2f74.zip gdb-45be3704c822b201bb2ec4734a550237f3aa2f74.tar.gz gdb-45be3704c822b201bb2ec4734a550237f3aa2f74.tar.bz2 |
[cgen]
* cpu/mep-c5.cpu (f-12s20): Change to signed.
(lhucpm1): Limit to C5 mach.
(dsp0,dsp1): Rewrite as aliases so that intrinsics are generated.
* cpu/mep-core.cpu (extend-cdisp10): New.
(f-cdisp10): Change to signed, use extend-cdisp10 to sign extend.
[opcodes]
* mep-desc.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.
[sid/component/cgen-cpu/mep]
* mep-core1-decode.cxx: Regenerate.
* mep-core1-decode.h: Regenerate.
* mep-decode.cxx: Regenerate.
* mep-decode.h: Regenerate.
Diffstat (limited to 'opcodes/mep-desc.c')
-rw-r--r-- | opcodes/mep-desc.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/opcodes/mep-desc.c b/opcodes/mep-desc.c index a210bda..9225cad 100644 --- a/opcodes/mep-desc.c +++ b/opcodes/mep-desc.c @@ -1122,7 +1122,7 @@ static const CGEN_IBASE mep_cgen_insn_table[MAX_INSNS] = /* lhucpm1 $crn,($rma+),$cdisp10a2 */ { MEP_INSN_LHUCPM1, "lhucpm1", "lhucpm1", 32, - { 0|A(OPTIONAL_CP_INSN), { { { (1<<MACH_BASE), 0 } }, { { 1, "\xc0" } }, { { 0, 0 } }, { { CONFIG_NONE, 0 } } } } + { 0|A(OPTIONAL_CP_INSN), { { { (1<<MACH_C5), 0 } }, { { 1, "\xc0" } }, { { 0, 0 } }, { { CONFIG_NONE, 0 } } } } }, /* uci $rn,$rm,$uimm16 */ { @@ -1134,6 +1134,16 @@ static const CGEN_IBASE mep_cgen_insn_table[MAX_INSNS] = MEP_INSN_DSP, "dsp", "dsp", 32, { 0|A(VOLATILE), { { { (1<<MACH_C5), 0 } }, { { 1, "\xc0" } }, { { 0, 0 } }, { { CONFIG_NONE, 0 } } } } }, +/* dsp0 $c5rnmuimm24 */ + { + -1, "dsp0", "dsp0", 32, + { 0|A(ALIAS)|A(NO_DIS)|A(VOLATILE), { { { (1<<MACH_C5), 0 } }, { { 1, "\xc0" } }, { { 0, 0 } }, { { CONFIG_NONE, 0 } } } } + }, +/* dsp1 $rn,$c5rmuimm20 */ + { + -1, "dsp1", "dsp1", 32, + { 0|A(ALIAS)|A(NO_DIS)|A(VOLATILE), { { { (1<<MACH_C5), 0 } }, { { 1, "\xc0" } }, { { 0, 0 } }, { { CONFIG_NONE, 0 } } } } + }, /* sb $rnc,($rma) */ { MEP_INSN_SB, "sb", "sb", 16, |