This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cft] subreg validation round 2


On Fri, Nov 19, 2004 at 11:24:40PM +0100, Eric Botcazou wrote:
> Would you see any advantage in manually building the hard regs within the 
> splitters?

No.  Indeed, it can hurt, since using gen_lowpart helps arrange
for proper debugging information to be generated.  I.e. it updates
the REG_ATTRS information properly.

I'm sure there's lots of backends that could do well to not JUST
call gen_rtx_REG (mode, REGNO (x)).  Using gen_rtx_REG_offset 
instead would be much preferred.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]