From 96f27b6cb5a30eecba8d58abdb2362711dc23920 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 4 Dec 2001 12:31:26 +0000 Subject: [PATCH] * d10v-opc.c (d10v_predefined_registers): Remove warnings introduced in Nov 29's patch. --- opcodes/ChangeLog | 3 +++ opcodes/d10v-opc.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d6cc2319fcd..37b05361a4b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,8 @@ 2001-12-04 Alexandre Oliva + * d10v-opc.c (d10v_predefined_registers): Remove warnings + introduced in Nov 29's patch. + * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of unmatched register. diff --git a/opcodes/d10v-opc.c b/opcodes/d10v-opc.c index d254f0008e2..b2ce10f6163 100644 --- a/opcodes/d10v-opc.c +++ b/opcodes/d10v-opc.c @@ -69,7 +69,7 @@ const struct pd_reg d10v_predefined_registers[] = { "r13", NULL, OPERAND_GPR+13 }, { "r14", NULL, OPERAND_GPR+14 }, { "r14-r15", NULL, OPERAND_GPR+14 }, - { "r15", "sp", OPERAND_SP|OPERAND_GPR+15 }, + { "r15", "sp", OPERAND_SP|(OPERAND_GPR+15) }, { "r2", NULL, OPERAND_GPR+2 }, { "r2-r3", NULL, OPERAND_GPR+2 }, { "r3", NULL, OPERAND_GPR+3 }, @@ -85,7 +85,7 @@ const struct pd_reg d10v_predefined_registers[] = { "rpt_c", NULL, OPERAND_CONTROL+7 }, { "rpt_e", NULL, OPERAND_CONTROL+9 }, { "rpt_s", NULL, OPERAND_CONTROL+8 }, - { "sp", NULL, OPERAND_SP|OPERAND_GPR+15 }, + { "sp", NULL, OPERAND_SP|(OPERAND_GPR+15) }, }; int -- 2.30.2