This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Further d30v gas warning message changes
- To: binutils at sourceware dot cygnus dot com
- Subject: Further d30v gas warning message changes
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Wed, 5 Jul 2000 14:54:56 -0700
Hi Guys,
I have checked in the following patch to further modify the warning
messages produced by gas when assembling d30v opcodes which have the
EITHER_BUT_PREFER_MU attribute.
Cheers
Nick
2000-07-05 Nick Clifton <nickc@cygnus.com>
* config/tc-d30v.c (write_2_short): Further changes to warning
messages produced when combining EITHER_BUT_PREFER_MU attributed
opcodes.
Index: tc-d30v.c
===================================================================
RCS file: /cvs/src//src/gas/config/tc-d30v.c,v
retrieving revision 1.11
diff -p -w -r1.11 tc-d30v.c
*** tc-d30v.c 2000/06/27 18:21:39 1.11
--- tc-d30v.c 2000/07/05 21:52:36
*************** write_2_short (opcode1, insn1, opcode2,
*** 879,886 ****
else
{
if (opcode2->op->unit == EITHER_BUT_PREFER_MU)
! as_warn (_("Executing %s in IU in parallel with %s may not work"),
! opcode1->op->name, opcode2->op->name);
insn = FM00 | (insn1 << 32) | insn2;
fx = fx->next;
--- 879,886 ----
else
{
if (opcode2->op->unit == EITHER_BUT_PREFER_MU)
! as_warn (_("Executing %s in IU may not work in parallel execution"),
! opcode2->op->name);
insn = FM00 | (insn1 << 32) | insn2;
fx = fx->next;
*************** write_2_short (opcode1, insn1, opcode2,
*** 902,911 ****
case EXEC_REVSEQ: /* reverse sequential */
if (opcode2->op->unit == MU)
as_bad (_("MU instruction may not be in the right container"));
! if (opcode1->op->unit == EITHER_BUT_PREFER_MU
! || opcode2->op->unit == EITHER_BUT_PREFER_MU)
as_warn (_("Executing %s in reverse serial with %s may not work"),
opcode1->op->name, opcode2->op->name);
insn = FM10 | (insn1 << 32) | insn2;
fx = fx->next;
break;
--- 902,913 ----
case EXEC_REVSEQ: /* reverse sequential */
if (opcode2->op->unit == MU)
as_bad (_("MU instruction may not be in the right container"));
! if (opcode1->op->unit == EITHER_BUT_PREFER_MU)
as_warn (_("Executing %s in reverse serial with %s may not work"),
opcode1->op->name, opcode2->op->name);
+ else if (opcode2->op->unit == EITHER_BUT_PREFER_MU)
+ as_warn (_("Executing %s in IU in reverse serial may not work"),
+ opcode2->op->name);
insn = FM10 | (insn1 << 32) | insn2;
fx = fx->next;
break;