[pypy-svn] r18403 - pypy/dist/pypy/translator/asm/ppcgen

mwh at codespeak.net mwh at codespeak.net
Tue Oct 11 15:57:05 CEST 2005


Author: mwh
Date: Tue Oct 11 15:57:04 2005
New Revision: 18403

Modified:
   pypy/dist/pypy/translator/asm/ppcgen/ppc_assembler.py
Log:
Another mnemonic (inslwi).


Modified: pypy/dist/pypy/translator/asm/ppcgen/ppc_assembler.py
==============================================================================
--- pypy/dist/pypy/translator/asm/ppcgen/ppc_assembler.py	(original)
+++ pypy/dist/pypy/translator/asm/ppcgen/ppc_assembler.py	Tue Oct 11 15:57:04 2005
@@ -508,6 +508,9 @@
     def slwi(self, rA, rS, n):
         self.rlwinm(rA, rS, n, 0, 31-n)
 
+    def inslwi(self, rA, rS, n, b):
+        self.rwlimi(rA, rS, 32-b, b, b + n -1)
+
     # F.5 Simplified Mnemonics for Branch Instructions
 
     # there's a lot of these!



More information about the Pypy-commit mailing list