[pypy-commit] pypy arm-backend-2: remove the condition flag from BKPT, which is an uncondional instruction
bivab
noreply at buildbot.pypy.org
Mon Jan 9 11:56:47 CET 2012
Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r51163:7fe04da61940
Date: 2012-01-03 11:14 +0100
http://bitbucket.org/pypy/pypy/changeset/7fe04da61940/
Log: remove the condition flag from BKPT, which is an uncondional
instruction
diff --git a/pypy/jit/backend/arm/codebuilder.py b/pypy/jit/backend/arm/codebuilder.py
--- a/pypy/jit/backend/arm/codebuilder.py
+++ b/pypy/jit/backend/arm/codebuilder.py
@@ -154,8 +154,9 @@
instr = self._encode_reg_list(cond << 28 | 0x8BD << 16, regs)
self.write32(instr)
- def BKPT(self, cond=cond.AL):
- self.write32(cond << 28 | 0x1200070)
+ def BKPT(self):
+ """Unconditional breakpoint"""
+ self.write32(0x1200070)
# corresponds to the instruction vmrs APSR_nzcv, fpscr
def VMRS(self, cond=cond.AL):
More information about the pypy-commit
mailing list