This is the mail archive of the gcc-patches@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: ARM - register liveness problem


On Thu, Feb 27, 2003 at 03:28:51PM +0100, Vidacs Laszlo wrote:
> I am writing a patch for ARM target. I would like to use register liveness
> information during the peephole2 phase. The peep2_regno_dead_p() function
> says that register r4 is live at instruction marked with (*) in the
> example below, but i think it is dead because of the ldmfd instruction.
> Why is it still considered live?

You'll have to post the rtl involved, as well as your patch
for us to be able to tell.

> One more question: is it possible to read liveness information of flags
> (C, Z, etc.) ?

No.


r~


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