* gencode.c (process_instructions): Correct handling of nor

instruction.
This commit is contained in:
Ian Lance Taylor 1996-09-19 19:35:09 +00:00
parent addb61a5b2
commit cc5201d78c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
* gencode.c (process_instructions): Correct handling of nor
instruction.
Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (sim_monitor): Improved monitor printf

View file

@ -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: