Author: David Schneider <david.schnei...@picle.org>
Branch: arm-backend-2
Changeset: r54327:ad3a31a28410
Date: 2012-04-13 08:03 +0000
http://bitbucket.org/pypy/pypy/changeset/ad3a31a28410/

Log:    implement convert_longlong_bytes_to_float

diff --git a/pypy/jit/backend/arm/opassembler.py 
b/pypy/jit/backend/arm/opassembler.py
--- a/pypy/jit/backend/arm/opassembler.py
+++ b/pypy/jit/backend/arm/opassembler.py
@@ -1299,6 +1299,7 @@
         return fcond
 
     emit_op_convert_float_bytes_to_longlong = 
gen_emit_unary_float_op('float_bytes_to_longlong', 'VMOV_cc')
+    emit_op_convert_longlong_bytes_to_float = 
gen_emit_unary_float_op('longlong_bytes_to_float', 'VMOV_cc')
 
     def emit_op_read_timestamp(self, op, arglocs, regalloc, fcond):
         tmp = arglocs[0]
diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py
--- a/pypy/jit/backend/arm/regalloc.py
+++ b/pypy/jit/backend/arm/regalloc.py
@@ -1206,6 +1206,8 @@
 
     prepare_op_convert_float_bytes_to_longlong = prepare_float_op(base=False,
                               
name='prepare_op_convert_float_bytes_to_longlong')
+    prepare_op_convert_longlong_bytes_to_float = prepare_float_op(base=False,
+                              
name='prepare_op_convert_longlong_bytes_to_float')
 
     def prepare_op_read_timestamp(self, op, fcond):
         loc = self.get_scratch_reg(INT)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to