projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
314fc5a
)
(simplify_shift_const, case AND): When remaking binary operation, do
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 15 Feb 1994 00:08:15 +0000
(19:08 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 15 Feb 1994 00:08:15 +0000
(19:08 -0500)
it in SHIFT_MODE.
From-SVN: r6552
gcc/combine.c
patch
|
blob
|
history
diff --git
a/gcc/combine.c
b/gcc/combine.c
index 283bdf03dfa044a553f05eb3b6657f671bb0450a..4317341be116464f989a450f52c86b2915853296 100644
(file)
--- a/
gcc/combine.c
+++ b/
gcc/combine.c
@@
-7961,7
+7961,7
@@
simplify_shift_const (x, code, result_mode, varop, count)
rtx rhs = simplify_shift_const (NULL_RTX, code, shift_mode,
XEXP (varop, 1), count);
- varop = gen_binary (GET_CODE (varop),
GET_MODE (varop)
, lhs, rhs);
+ varop = gen_binary (GET_CODE (varop),
shift_mode
, lhs, rhs);
varop = apply_distributive_law (varop);
count = 0;