This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54089] [SH] Refactor shift patterns
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Aug 2012 23:42:57 +0000
- Subject: [Bug target/54089] [SH] Refactor shift patterns
- Auto-submitted: auto-generated
- References: <bug-54089-4@http.gcc.gnu.org/bugzilla/>
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)