There's currently no special way, you could bind to it using cffi; but this will generate a call to a C function, not the instruction directly.

Alex


On Mon, Jul 29, 2013 at 5:15 PM, Nathan Hurst <njh@njhurst.com> wrote:
Is there a way to call special operators such as __builtin_popcount
from within pypy?

regards,
njh
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev



--
"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084