[pypy-dev] Ignore 'pinsrb/w/d' instructions in trackgcroot
Matthew Woodcraft
matthew at woodcraft.me.uk
Sun Apr 17 22:03:16 CEST 2011
I found I needed the following patch in order to run translation with
gcc 4.6 and -march=corei7.
-M-
--- a/pypy/translator/c/gcc/trackgcroot.py
+++ b/pypy/translator/c/gcc/trackgcroot.py
@@ -456,7 +456,7 @@ class FunctionGcRootTracker(object):
'inc', 'dec', 'not', 'neg', 'or', 'and', 'sbb', 'adc',
'shl', 'shr', 'sal', 'sar', 'rol', 'ror', 'mul', 'imul', 'div', 'idiv',
'bswap', 'bt', 'rdtsc',
- 'punpck', 'pshufd', 'pcmp', 'pand', 'psllw', 'pslld', 'psllq',
+ 'punpck', 'pshufd', 'pcmp', 'pand', 'psllw', 'pslld', 'psllq', 'pinsr',
# zero-extending moves should not produce GC pointers
'movz',
])
More information about the Pypy-dev
mailing list