Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r91604:9a5adcd4d3ff Date: 2017-06-14 13:37 +0200 http://bitbucket.org/pypy/pypy/changeset/9a5adcd4d3ff/
Log: Avoid one instruction in the endless stream of header/footer instructions diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.py +++ b/rpython/jit/backend/x86/assembler.py @@ -980,7 +980,8 @@ from rpython.rlib.rvmprof.rvmprof import cintf # edx = address of pypy_threadlocal_s self.mc.MOV_rs(edx.value, THREADLOCAL_OFS) - self.mc.AND_ri(edx.value, ~1) + if self._is_asmgcc(): + self.mc.AND_ri(edx.value, ~1) # eax = (our local vmprof_tl_stack).next self.mc.MOV_rs(eax.value, (FRAME_FIXED_SIZE - 4 + 0) * WORD) # save in vmprof_tl_stack the value eax _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit