Re: [RFC] PR tree-optimization/67628: Make tree ifcombine more symmetric and interactions with dom

2015-09-23 Thread Pinski, Andrew
> On Sep 23, 2015, at 1:59 AM, Kyrill Tkachov wrote: > > >> On 22/09/15 20:31, Jeff Law wrote: >>> On 09/22/2015 07:36 AM, Kyrill Tkachov wrote: >>> Hi all, >>> Unfortunately, I see a testsuite regression with this patch: >>> FAIL: gcc.dg/pr66299-2.c scan-tree-dump-not

Re: [PATCH][combine][1/2] Try to simplify before substituting

2015-07-17 Thread Pinski, Andrew
On Jul 17, 2015, at 7:36 PM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: On 16/07/15 19:28, Segher Boessenkool wrote: On Thu, Jul 16, 2015 at 07:17:54PM +0100, Kyrill Tkachov wrote: If you always want to simplify first, does it work to move this whole big block behind the simplify

[PATCH/MIPS] Add a delegitimize target hook for MIPS

2012-07-21 Thread Pinski, Andrew
Hi, MIPS does not currently implement a mips_delegitimize_address target hook and for n64, a RTL is produced which the standard delegitimize cannot handle: (const:DI (plus:DI (unspec:DI [ (symbol_ref:DI (s) var_decl 0x7fe08a5a3140 s) ] 229)

[PATCH MIPS] Improve unaligned 32bits load on MIPS64

2012-07-20 Thread Pinski, Andrew
Hi, Currently doing a 32bit unaligned load on MIPS64, produces 4 byte loads, this can be improved to using lwl/lwr instead. The problem is the code in mips_expand_ext_as_unaligned_load that handles this case does handle the case where the register is DImode but the width is 32. This patch

[PATCH][MIPS] Improve Octeon Pop instruction usage

2012-07-20 Thread Pinski, Andrew
Hi, The Octeon pop instruction does not take into account the upper 32bits of the 64bit register, so its usage can be optimized when there is a truncation right before the instruction. This patch implements this small optimization. OK? Bootstrapped and tested on MIPS64-linux-gnu (Octeon)