[PATCH] Fix i386 *_cconly shifts (PR target/46088)

Richard Henderson rth@redhat.com
Thu Nov 11 15:54:00 GMT 2010


On 11/11/2010 07:35 AM, Jakub Jelinek wrote:
> -   && ix86_binary_operator_ok (ASHIFT, <MODE>mode, operands)"
> +   /* Can't use ix86_binary_operator_ok here, as the scratch
> +      operand might be missing.  */
> +   && !MEM_P (operands[1])"

Better to change the predicate on op1 to register_operand,
and drop the test here inside the extra predicate.

Ok with that change.


r~



More information about the Gcc-patches mailing list