gencode.c: Two arg MADD should not assign result to /bin/bash.
This commit is contained in:
parent
63f6871728
commit
c12e2e4c48
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 25 15:00:45 1997 Gavin Koch <gavin@cygnus.com>
|
||||
|
||||
* gencode.c (build_instruction): Two arg MADD should
|
||||
not assign result to $0.
|
||||
|
||||
start-sanitize-r5900
|
||||
Thu Jul 10 11:58:48 1997 Andrew Cagney <cagney@critters.cygnus.com>
|
||||
|
||||
|
|
|
@ -3320,8 +3320,9 @@ build_instruction (doisa, features, mips16, insn)
|
|||
prodtype, (notsigned ? "WORD64LO" : "SIGNEXTEND"), (notsigned ? "" : ",32"),
|
||||
prodtype, (notsigned ? "WORD64LO" : "SIGNEXTEND"), (notsigned ? "" : ",32")
|
||||
);
|
||||
printf("GPR[destreg] = LO%s = SIGNEXTEND(prod,32);\n", pipeline );
|
||||
printf("LO%s = SIGNEXTEND(prod,32);\n", pipeline );
|
||||
printf("HI%s = SIGNEXTEND( WORD64HI(prod), 32);\n", pipeline );
|
||||
printf("if( destreg != 0 ) GPR[destreg] = LO%s;\n", pipeline );
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue