[PATCH] ARM: do not emit lsrh/ashr for NEON shifts

Tim Northover t.p.northover at gmail.com
Thu Oct 3 08:23:19 PDT 2013


> Couldn't we detect the maximum value and emit 0 for an unsigned shift and "icmp lt %val, 0" for a signed shift?

Oh, with a "sext" afterwards of course.

Tim.



More information about the cfe-commits mailing list