Fix comparison of 4-byte floats.
authorGeorge Koehler <xkernigh@netscape.net>
Sat, 18 Feb 2017 00:29:45 +0000 (19:29 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sat, 18 Feb 2017 00:29:45 +0000 (19:29 -0500)
I broke it in f64b7d8.  My stack pattern had the wrong type of
registers.  The comparison popped too many bytes and corrupted the
stack.

mach/powerpc/ncg/table

index abfb3d5..46f8a7c 100644 (file)
@@ -2128,7 +2128,7 @@ PATTERNS
                        yields %a
 
        proc cmf4zxx example cmf zeq
-               with FREG FREG STACK
+               with FSREG FSREG STACK
                        uses REG
                        gen
                                fcmpo cr0, %2, %1