Re: [RFC] NEON vs. ARM register selection

2012-03-04 Thread Steven Bosscher
> The basic idea is that we add a new RTL optimization pass (or two) that > assesses the usage of pseudo registers, and makes recommendations about > what register class each should end up in, if there's a choice. These > recommendations would then be used by later passes to get a better use > of N

Re: [RFC] NEON vs. ARM register selection

2012-03-02 Thread Ramana Radhakrishnan
On 2 March 2012 12:29, Andrew Stubbs wrote: > Hi All, > > As you know, the compiler currently has difficulties choosing between > whether to do an operation in NEON or not. > I have put this on the agenda for Tuesday's call - There is a bit of detail here that I haven't digested fully which is wh

[RFC] NEON vs. ARM register selection

2012-03-02 Thread Andrew Stubbs
Hi All, As you know, the compiler currently has difficulties choosing between whether to do an operation in NEON or not. As I see it there are three problems: 1. Simply, is it profitable? NEON can do many DImode operations in one or two instructions where 2 to 10 normal ARM/Thumb