[pypy-svn] r48196 - pypy/dist/pypy/translator/c/src
arigo at codespeak.net
arigo at codespeak.net
Tue Oct 30 14:42:12 CET 2007
Author: arigo
Date: Tue Oct 30 14:42:11 2007
New Revision: 48196
Modified:
pypy/dist/pypy/translator/c/src/asm_gcc_x86.h
Log:
Also use assembler for int_add_nonneg_ovf.
Modified: pypy/dist/pypy/translator/c/src/asm_gcc_x86.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/asm_gcc_x86.h (original)
+++ pypy/dist/pypy/translator/c/src/asm_gcc_x86.h Tue Oct 30 14:42:11 2007
@@ -14,6 +14,9 @@
: "0"(x), "g"(y) /* inputs */ \
: "cc", "memory") /* clobber */
+#undef OP_INT_ADD_NONNEG_OVF
+#define OP_INT_ADD_NONNEG_OVF(x,y,r) OP_INT_ADD_OVF(x,y,r)
+
#undef OP_INT_SUB_OVF
#define OP_INT_SUB_OVF(x,y,r) \
asm volatile("subl %2,%0\n\t" \
More information about the Pypy-commit
mailing list