This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]