diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-10 08:04:35 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-10 08:04:35 -0400 |
commit | a34958c91144f7ff02186aac1a08711fd197792c (patch) | |
tree | 8c1888314f6389b48774b6f055db8bf93a9f907b | |
parent | 5f54da491df66c8fc4601fa48e7998d50f4f7ffe (diff) | |
download | gcc-a34958c91144f7ff02186aac1a08711fd197792c.zip gcc-a34958c91144f7ff02186aac1a08711fd197792c.tar.gz gcc-a34958c91144f7ff02186aac1a08711fd197792c.tar.bz2 |
(expand_shift): No longer reference lshl_optab.
From-SVN: r7022
-rw-r--r-- | gcc/expmed.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 1d5d75e..b714c25 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1722,14 +1722,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp) target, unsignedp, methods); } else if (unsignedp) - { - temp = expand_binop (mode, - left ? lshl_optab : lshr_optab, - shifted, op1, target, unsignedp, methods); - if (temp == 0 && left) - temp = expand_binop (mode, ashl_optab, - shifted, op1, target, unsignedp, methods); - } + temp = expand_binop (mode, + left ? ashl_optab : lshr_optab, + shifted, op1, target, unsignedp, methods); /* Do arithmetic shifts. Also, if we are going to widen the operand, we can just as well |