Re: [go-nuts] Compiler Static Optimisation

2017-12-19 Thread Chris Hopkins
Thanks for the prompt replies. Please read no further, PEBKAC: I was on an old compiler on the machine I was running on (I had updated the compiler on my desktop, but clearly not the Pi I was testing this on - now re-building with latest). In truth this was a problem I came across a few weeks a

Re: [go-nuts] Compiler Static Optimisation

2017-12-19 Thread Jan Mercl
On Tue, Dec 19, 2017 at 12:05 PM Chris Hopkins wrote: ... > was slower than: ... Without more information the conclusion that the optimization is not there cannot be established. Inspect the real produced machine code. I guess you'll find that the machine code differs in cache-line alignment o