This is the mail archive of the gcc-patches@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]

Re: new ARM shift pattern for double


> You should also note that ashift (x const) is normally canonicalized by 
> the optimizer to mult (x (2<<(const-1))).   We probably ought to have a 
> similar matcher for arm_multdi3_const2.

Which, of course, is a rather strange way of writing

	mult (x (1 << const))

R.


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