[pypy-svn] pypy ootype-virtualrefs: implement cast between float and ulonglong
antocuni
commits-noreply at bitbucket.org
Thu Apr 7 09:20:02 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: ootype-virtualrefs
Changeset: r43189:9658cd21b86a
Date: 2011-04-07 09:18 +0200
http://bitbucket.org/pypy/pypy/changeset/9658cd21b86a/
Log: implement cast between float and ulonglong
diff --git a/pypy/translator/cli/opcodes.py b/pypy/translator/cli/opcodes.py
--- a/pypy/translator/cli/opcodes.py
+++ b/pypy/translator/cli/opcodes.py
@@ -147,6 +147,8 @@
'cast_float_to_uint': 'conv.u4',
'cast_longlong_to_float': 'conv.r8',
'cast_float_to_longlong': 'conv.i8',
+ 'cast_ulonglong_to_float': 'conv.r8',
+ 'cast_float_to_ulonglong': 'conv.u8',
'cast_primitive': [PushAllArgs, CastPrimitive],
'force_cast': [PushAllArgs, CastPrimitive],
'truncate_longlong_to_int': 'conv.i4',
More information about the Pypy-commit
mailing list