[Bug target/54089] [SH] Refactor shift patterns

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 9 23:43:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089

--- Comment #8 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-08-09 23:42:57 UTC ---
(In reply to comment #7)
> Kaz, another thing I'm a bit unsure about ...
> 
> #define SH_DYNAMIC_SHIFT_COST \
>   (TARGET_HARD_SH4 ? 1 : TARGET_DYNSHIFT ? (optimize_size ? 1 : 2) : 20)
> 
> Do you have any idea, why this is not simply
> #define SH_DYNAMIC_SHIFT_COST (TARGET_DYNSHIFT) ?
> 

Sorry, I meant:

#define SH_DYNAMIC_SHIFT_COST (TARGET_DYNSHIFT ? 1 : 20)



More information about the Gcc-bugs mailing list