projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08fda98
)
(gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not a constant.
author
Jim Wilson
<wilson@gcc.gnu.org>
Mon, 3 Apr 1995 22:00:32 +0000
(15:00 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Mon, 3 Apr 1995 22:00:32 +0000
(15:00 -0700)
From-SVN: r9301
gcc/config/sh/sh.c
patch
|
blob
|
history
diff --git
a/gcc/config/sh/sh.c
b/gcc/config/sh/sh.c
index 3f35b2f83fcc2230c707329c3701d0ae726ecaa3..b41fd70547810bdc26381370329d829a6d82cdeb 100644
(file)
--- a/
gcc/config/sh/sh.c
+++ b/
gcc/config/sh/sh.c
@@
-1503,6
+1503,9
@@
gen_shifty_op (code, operands)
{
/* ??? This code should be moved elsewhere. */
case ASHIFTRT:
+ if (GET_CODE (operands[2]) != CONST_INT)
+ return 0;
+
wrk = gen_reg_rtx (SImode);
if (value == 31)