[pypy-dev] Ignore 'pinsrb/w/d' instructions in trackgcroot

Maciej Fijalkowski fijall at gmail.com
Mon Apr 18 08:07:39 CEST 2011


thanks, commited!

On Sun, Apr 17, 2011 at 10:03 PM, Matthew Woodcraft
<matthew at woodcraft.me.uk> wrote:
> 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',
>         ])
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev
>



More information about the Pypy-dev mailing list