Re: [PATCH, SMS] Support instructions with REG_INC_NOTE (re-submisson)

2011-08-17 Thread Revital Eres
Hello, On 16 August 2011 03:32, Ayal Zaks wrote: > Ok, so this extends the infrastructure to support insns which set an > arbitrary number of registers, but currently specifically handles only > REG_INC situations (which set two registers). I'm not against > {0,1,infinity}, but wonder if this cas

Re: [PATCH, SMS] Support instructions with REG_INC_NOTE (re-submisson)

2011-08-15 Thread Ayal Zaks
Ok, so this extends the infrastructure to support insns which set an arbitrary number of registers, but currently specifically handles only REG_INC situations (which set two registers). I'm not against {0,1,infinity}, but wonder if this case really deserves the complexity: post/pre-inc/decrementing

[PATCH, SMS] Support instructions with REG_INC_NOTE (re-submisson)

2011-08-14 Thread Revital Eres
Hello, This is a re-submission of the patch to support instructions with REG_INC_NOTE. (http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01309.html) It contains a minor change from the previous submission suggested by Richard Sandiford: to use reg_referenced_p instead of rtx_referenced_p. The patch

[PATCH, SMS] Support instructions with REG_INC_NOTE

2011-04-17 Thread Revital Eres
Hello, The attached patch extends the current implementation to analyze instructions with REG_INC_NOTE. Tested on ppc64-redhat-linux (bootstrap and regtest) SPU (only regtest) and arm-linux-gnueabi (bootstrap c and regtest) configured with --with-arch=armv7-a --with-mode=thumb. OK for mainline?