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: [patch] inc/dec improvement on H8/300 and H8/S (revised)


  In message <41ECF07CC183D111A6F800805FEDAB190CE691@EXCHANGE1>you write:
  > Actually, I have thought about that. I found the following in gcc's manual
  > under "Machine Descriptions/Defining Jump Instruction Patterns", but I don'
  > t
  > know what they mean by "until the end." The end of compilation? Until the
  > peephole?
  > 
  > "The reason you can do this is that GNU CC always generates a pair of
  > consecutive RTL insns, possibly separated by note insns, one to set the
  > condition code and one to test it, and keeps the pair inviolate until the
  > end."
They stay together until redundant tst elimination which happens before
final assembly output and is responsible for using the result of a previous
insn which changes the condition codes to delete a redundant tst instruction.

jeff



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