Change rule for predicates that compare against implicit zero.
authorChris Hanson <org/chris-hanson/cph>
Fri, 12 Jul 1991 23:14:05 +0000 (23:14 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 12 Jul 1991 23:14:05 +0000 (23:14 +0000)
commit5e5b3950c73d697728901bfddd1eb29c425e7aa0
tree6e263487b9dd0285e2e94d3e60a075983e238e26
parentdd2307f5f52c36dd2f3d83c1127dbf214d91dbee
Change rule for predicates that compare against implicit zero.
Previously, these predicates were generating a zero by subtracting a
register from itself.  This doesn't work if the register contains an
infinity or a NAN -- in that case it traps.  The new code generates a
zero by explicitly zeroing the register.
v7/src/compiler/machines/mips/rulflo.scm