(all functions): Use NULL_RTX instead of 0 for rtx comparisons.
authorJames Van Artsdalen <jrv@gnu.org>
Wed, 20 Jan 1993 06:39:06 +0000 (06:39 +0000)
committerJames Van Artsdalen <jrv@gnu.org>
Wed, 20 Jan 1993 06:39:06 +0000 (06:39 +0000)
commiteca315011760544a68bf639fed765e8ecb81f604
tree97eba3f8eb9516bacbf0e5765b8f06878c7a1c1f
parentb47de04b0832bb278ca84fcf73c9d32cb9ff580d
(all functions): Use NULL_RTX instead of 0 for rtx comparisons.

(emit_pop_insn): Emit insn with mode QImode: insn contains stack-regs.
(emit_hard_swap_insn): Delete.
(emit_swap_insn): Merge with emit_hard_swap_insn.
Delete WHEN arg and change all callers.
If previous insn was a push from REG, omit swap.
If previous insn wrote reg-stack top to REG, omit swap.
Emit swap insn with mode QImode: insn contains stack-regs.
Emit swap insn after previous float insn, instead of before this one.
(swap_rtx_condition): New function.
(compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, exchange
ops 0 and 1 and swap cc0 user condition.

From-SVN: r3294
gcc/reg-stack.c