projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b10248a
)
(output_ior): Handle "ior" against zero.
author
Richard Stallman
<rms@gnu.org>
Fri, 6 Nov 1992 08:28:06 +0000
(08:28 +0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 6 Nov 1992 08:28:06 +0000
(08:28 +0000)
From-SVN: r2702
gcc/config/pa/pa.c
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.c
b/gcc/config/pa/pa.c
index 8421c83612b60e9ab4c67d7185a1582e2e69bd61..b1a8d8dd4b0cdca6909514a4681a1f9f2a80567b 100644
(file)
--- a/
gcc/config/pa/pa.c
+++ b/
gcc/config/pa/pa.c
@@
-1254,6
+1254,9
@@
output_ior (operands)
{
unsigned mask = INTVAL (operands[2]);
int bs0, bs1, bs2, p, len;
+
+ if (INTVAL (operands[2]) == 0)
+ return "copy %1,%0";
for (bs0 = 0; bs0 < 32; bs0++)
if ((mask & (1 << bs0)) != 0)