From: Ian Lance Taylor Date: Thu, 19 Sep 1996 19:35:09 +0000 (+0000) Subject: * gencode.c (process_instructions): Correct handling of nor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc5201d78c016dc38c3dfbbb22b1332b80f88589;p=binutils-gdb.git * gencode.c (process_instructions): Correct handling of nor instruction. --- diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 9acd9c3b3ad..3c0099f6d9f 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 19 15:34:17 1996 Ian Lance Taylor + + * gencode.c (process_instructions): Correct handling of nor + instruction. + Mon Sep 16 11:38:16 1996 James G. Smith * interp.c (sim_monitor): Improved monitor printf diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index 1e0dbf7a12c..0dda11cd014 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -1240,7 +1240,7 @@ process_instructions(doarch,features) break ; case OR: - printf(" GPR[destreg] = (%sop1 | op2);\n",((MIPS_DECODE[loop].flags & NOT) ? "~" : "")); + printf(" GPR[destreg] = %s(op1 | op2);\n",((MIPS_DECODE[loop].flags & NOT) ? "~" : "")); break ; case XOR: