[pypy-commit] pypy ppc-jit-backend: Implement STRLEN for PPC64
edelsohn
noreply at buildbot.pypy.org
Mon Aug 29 15:38:11 CEST 2011
Author: edelsohn
Branch: ppc-jit-backend
Changeset: r46884:8b5af4e5b2c4
Date: 2011-08-29 09:32 -0400
http://bitbucket.org/pypy/pypy/changeset/8b5af4e5b2c4/
Log: Implement STRLEN for PPC64
diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
@@ -1349,7 +1349,7 @@
if IS_PPC_32:
self.lwz(free_reg, base_reg, 4)
else:
- assert 0, "not implemented yet"
+ self.ld(free_reg, base_reg, 8)
result = op.result
cpu.reg_map[result] = free_reg
cpu.next_free_register += 1
More information about the pypy-commit
mailing list