projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aecf81
)
(shl_and_kind): typo fix.
author
Joern Rennecke
<amylaar@gcc.gnu.org>
Mon, 27 Jan 1997 18:32:05 +0000
(18:32 +0000)
committer
Joern Rennecke
<amylaar@gcc.gnu.org>
Mon, 27 Jan 1997 18:32:05 +0000
(18:32 +0000)
From-SVN: r13556
gcc/config/sh/sh.c
patch
|
blob
|
history
diff --git
a/gcc/config/sh/sh.c
b/gcc/config/sh/sh.c
index 11d662ae6020a4f00ca7d4968ae37ca41624a8b1..74d157b25fa46e383af798c76d75a4777f842a58 100644
(file)
--- a/
gcc/config/sh/sh.c
+++ b/
gcc/config/sh/sh.c
@@
-1158,7
+1158,7
@@
shl_and_kind (left_rtx, mask_rtx, attrp)
if (i > right)
break;
cost = (i != 0) + (CONST_OK_FOR_I (mask >> i) ? 2 : 3)
- + (can_ext ? ext_shift_insns : shift_insns)[left];
+ + (can_ext ? ext_shift_insns : shift_insns)[left
+ i
];
if (cost < best_cost)
{
best = 4 - can_ext;