summaryrefslogtreecommitdiff
path: root/opcodes/mep-opc.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2009-05-19 23:35:47 +0000
committerDJ Delorie <dj@delorie.com>2009-05-19 23:35:47 +0000
commit78d6f3018673f9ff4086f85ad534cdf690ecb0ba (patch)
tree89a9cfd5939d7997115a23392bb58d7d8766d911 /opcodes/mep-opc.c
parent84fce297b04c386d6f3ce10d02387ab62fb98286 (diff)
downloadbinutils-redhat-78d6f3018673f9ff4086f85ad534cdf690ecb0ba.tar.gz
* mep-asm.c: Regenerate.
* mep-opc.c: Regenerate.
Diffstat (limited to 'opcodes/mep-opc.c')
-rw-r--r--opcodes/mep-opc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/mep-opc.c b/opcodes/mep-opc.c
index 6aa36a50d8..7bf92b62fa 100644
--- a/opcodes/mep-opc.c
+++ b/opcodes/mep-opc.c
@@ -91,8 +91,8 @@ mep_insn_supported_by_isa (const CGEN_INSN *insn, CGEN_ATTR_VALUE_BITSET_TYPE *i
mep_config_map_struct mep_config_map[] =
{
/* config-map-start */
- /* Default entry: mep core only, all options enabled. */
- { "", 0, EF_MEP_CPU_C5, 1, 0, {1,"\x0"}, {1,"\x0"}, {1,"\x0"}, {1,"\x0"}, {1,"\x0"}, {1,"\x80"}, OPTION_MASK },
+ /* Default entry: first module, with all options enabled. */
+ { "", 0, EF_MEP_COP_IVC2 | EF_MEP_CPU_C5,1, 0, { 1, "\x20" }, { 1, "\x10" }, { 1, "\x8" }, { 1, "\x4" }, { 1, "\x3c" }, { 1, "\xc0" }, OPTION_MASK | (1 << CGEN_INSN_OPTIONAL_DSP_INSN) | (1 << CGEN_INSN_OPTIONAL_UCI_INSN) },
{ "default", CONFIG_DEFAULT, EF_MEP_COP_IVC2 | EF_MEP_CPU_C5, 0, 64, { 1, "\x20" }, { 1, "\x10" }, { 1, "\x8" }, { 1, "\x4" }, { 1, "\x3c" }, { 1, "\xc0" },
0
| (1 << CGEN_INSN_OPTIONAL_CP_INSN)
@@ -117,7 +117,7 @@ check_configured_mach (int machs)
{
/* All base insns are supported. */
int mach = 1 << MACH_BASE;
- switch (MEP_CPU)
+ switch (MEP_CPU & EF_MEP_CPU_MASK)
{
case EF_MEP_CPU_C2:
case EF_MEP_CPU_C3: