Commit 37ac53d9 by Jeffrey A Law Committed by Jeff Law

combine.c (combine_simplify_rtx): Fix order of checks for (ashiftrt foo C) ->…

combine.c (combine_simplify_rtx): Fix order of checks for (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.

        * combine.c (combine_simplify_rtx): Fix order of checks for
        (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.

From-SVN: r30894
parent edcf698d
Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
* combine.c (combine_simplify_rtx): Fix order of checks for
(ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
......
......@@ -3823,8 +3823,8 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
perform the above simplification. */
if (STORE_FLAG_VALUE == -1
&& XEXP (x, 1) == const1_rtx
&& GET_CODE (XEXP (x, 0)) == ASHIFTRT
&& XEXP (x, 1) == const1_rtx
&& GET_CODE (XEXP (XEXP (x, 0), 1)) == CONST_INT
&& INTVAL (XEXP (XEXP (x, 0), 1)) == GET_MODE_BITSIZE (mode) - 1)
return gen_rtx_combine (GE, mode, XEXP (XEXP (x, 0), 0), const0_rtx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment