projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94bdcb
)
(reload_outqi): Correctly handle scratch assignments for unaligned
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 28 Oct 1994 21:12:18 +0000
(17:12 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 28 Oct 1994 21:12:18 +0000
(17:12 -0400)
case when ADDR is a REG.
From-SVN: r8353
gcc/config/alpha/alpha.md
patch
|
blob
|
history
diff --git
a/gcc/config/alpha/alpha.md
b/gcc/config/alpha/alpha.md
index dc5e91e8b038bca7eafa31113c922001ec8330c5..df3b80ec3bb33c31e2b1caea0e3d665e016b719e 100644
(file)
--- a/
gcc/config/alpha/alpha.md
+++ b/
gcc/config/alpha/alpha.md
@@
-3247,13
+3247,14
@@
rtx addr = get_unaligned_address (operands[0]);
rtx scratch1 = gen_rtx (REG, DImode, REGNO (operands[2]));
rtx scratch2 = gen_rtx (REG, DImode, REGNO (operands[2]) + 1);
+ rtx scratch3 = scratch1;
rtx seq;
if (GET_CODE (addr) == REG)
scratch1 = addr;
seq = gen_unaligned_storeqi (addr, operands[1], scratch1,
- scratch2, scratch
1
);
+ scratch2, scratch
3
);
alpha_set_memflags (seq, operands[0]);
emit_insn (seq);
}