Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r73296:fe132a89e725 Date: 2014-09-04 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/fe132a89e725/
Log: Translation fix diff --git a/rpython/jit/backend/arm/codebuilder.py b/rpython/jit/backend/arm/codebuilder.py --- a/rpython/jit/backend/arm/codebuilder.py +++ b/rpython/jit/backend/arm/codebuilder.py @@ -333,8 +333,11 @@ | (rn & 0xF) << 16) def DMB(self): - # note: 'cond' is only permitted on Thumb here - self.write32(0xf57ff05f) + # note: 'cond' is only permitted on Thumb here, but don't + # write literally 0xf57ff05f, because it's larger than 31 bits + c = cond.AL + self.write32(c << 28 + | 0x157ff05f) DIV = binary_helper_call('int_div') MOD = binary_helper_call('int_mod') _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit