[PATCH] Use ColdFire V4 mov3q instruction to store constants to memory
Peter Barada
peter@the-baradas.com
Wed May 5 22:35:00 GMT 2004
>> #define EXTRA_CONSTRAINT(OP,CODE) \
>> + ((((CODE) == 'R') && TARGET_CFV4) \
>> + ? (GET_CODE (OP) == CONST_INT \
>> + && (INTVAL (OP) == -1 \
>> + || (INTVAL (OP) >= 1 && INTVAL (OP) <= 7))) \
>> + : \
>> (((CODE) == 'S') \
>> ? (TARGET_PCREL \
>> && GET_CODE (OP) == MEM \
>
>I think it's clearer when each CODE is handled at the outer level
>without additional conditions. That is:
> ((((CODE) == 'R')
> ? (TARGET_CFV4 && GET_CODE (OP) == CONST_INT
Ok. Should I resubmit the patch with this change?
--
Peter Barada
peter@the-baradas.com
More information about the Gcc-patches
mailing list