[patch] inc/dec improvement on H8/300 and H8/S (revised)

Jeffrey A Law law@cygnus.com
Thu Jul 20 16:41:00 GMT 2000


  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




More information about the Gcc-patches mailing list