Author: Ivan Sichmann Freitas <[email protected]>
Branch: ppc-updated-backend
Changeset: r73092:155ab5ceedc9
Date: 2014-08-27 17:17 -0300
http://bitbucket.org/pypy/pypy/changeset/155ab5ceedc9/

Log:    Add alias for the scratch register used with floating point
        operations

diff --git a/rpython/jit/backend/ppc/register.py 
b/rpython/jit/backend/ppc/register.py
--- a/rpython/jit/backend/ppc/register.py
+++ b/rpython/jit/backend/ppc/register.py
@@ -21,11 +21,12 @@
                     f24, f25, f26, f27, f28, f29, f30, f31]
 VOLATILES_FLOAT  = [f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13]
 
-SCRATCH = r0
-SP      = r1
-TOC     = r2
-RES     = r3
-SPP     = r31
+SCRATCH    = r0
+FP_SCRATCH = f0
+SP         = r1
+TOC        = r2
+RES        = r3
+SPP        = r31
 
 MANAGED_REGS = [r3, r4, r5, r6, r7, r8, r9, r10,
                 r11, r12, r14, r15, r16, r17, r18, 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to