projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e0187
)
(emit_group_load): Add case using gen_lowpart.
author
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 10 Jun 1997 21:39:22 +0000
(14:39 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 10 Jun 1997 21:39:22 +0000
(14:39 -0700)
From-SVN: r14224
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 537eefba8aa77a7dbd45f4bc0ee61bec23ebcf0f..b3ca5395475b0590065c2ae0dcce17c682b9597b 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-1813,6
+1813,9
@@
emit_group_load (x, y)
&& GET_MODE (target_reg) == word_mode)
/* This might be a const_double, so we can't just use SUBREG. */
source = operand_subword (y, 0, 0, VOIDmode);
+ else if (GET_MODE_SIZE (GET_MODE (target_reg))
+ == GET_MODE_SIZE (GET_MODE (y)))
+ source = gen_lowpart (GET_MODE (target_reg), y);
else
abort ();
}