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]

Re: ia32: regmove


> We currently only check for live flags if we're planning on adding
> a new insn, which is clearly not correct.  Whether or not the flags
> are disturbed by `insn' is not readily available, but whether the
> flags are live for `p' is.  My proposed solution appended.

The flags register won't be clobbered if GET_CODE (PATTERN (p)) == SET .
For most machines, that is the common case.


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