[llvm-commits] PATCH: Teach the x86 backend to fold mask & shift patterns into an addressing mode computation

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Jan 10 16:41:35 PST 2012


On Jan 10, 2012, at 4:38 PM, Chandler Carruth wrote:

> On Tue, Jan 10, 2012 at 2:46 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> 
> On Jan 10, 2012, at 11:14 AM, Chandler Carruth wrote:
> 
> > Anyone else have comments?
> 
> Did you actually see code run faster?
> 
> Simple addressing modes (base+offset) can be faster on Sandy Bridge, for example.
> 
> Yes, as mentioned in my original message, I'm seeing noticable gains in the hot loop of Snappy. I can benchmark it and some other software and report more detailed performance numbers (and I'll do so either before or after the commit, either way)

Post-commit is fine.

Thanks,

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120110/cd3bfb83/attachment.html>


More information about the llvm-commits mailing list