Re: [SPARC] Enable REE at -O2 by default in 64-bit mode

2016-11-24 Thread Eric Botcazou
> With the fixes you've just done it's probably a lot more feasible to > experiment with REE on other risc targets. I didn't experiment much, but I saw no effects at all in 32-bit mode, only in 64-bit mode. That being said, SPARC is one of the very few RISC targets that do _not_ define

Re: [SPARC] Enable REE at -O2 by default in 64-bit mode

2016-11-24 Thread Jeff Law
On 11/24/2016 08:30 AM, Eric Botcazou wrote: Tests showed that it helps to eliminates redundant 32-to-64-bit extensions. Tested on SPARC/Solaris, applied on the mainline. 2016-11-24 Eric Botcazou * common/config/sparc/sparc-common.c

[SPARC] Enable REE at -O2 by default in 64-bit mode

2016-11-24 Thread Eric Botcazou
Tests showed that it helps to eliminates redundant 32-to-64-bit extensions. Tested on SPARC/Solaris, applied on the mainline. 2016-11-24 Eric Botcazou * common/config/sparc/sparc-common.c (option_optimization_table): Enable REE at -O2 and higher.