On 08/18/2011 09:51 PM, David Edelsohn wrote:
Sven,
With the attached patch, all of the ppc/ppcgen/test/test_ppc.py tests
pass except for test_call_function that I skip while I debug it.
I updated ppc_assembler.py:load_from() to load a full 64 bit value on
64 bit systems. It is not exactly rig
On 08/18/2011 04:50 PM, David Edelsohn wrote:
To be more concrete, the current test code is
def test_load_and_store(self):
a = PPCBuilder()
word1 = 1000
word2 = 2000
a.load_word(10, word1) # load constant 1000 into r10
a.load_word(11, word2)
On 08/15/2011 07:12 PM, David Edelsohn wrote:
Attached is the next patch for the PPC JIT backend.
The patch adds shift-left simplified mnemonic (sldi) and a load
doubleword (load_dword) function that uses it.
I also discovered some typos in my previous patch to ppc_field.py.
Currently every PP
On 08/12/2011 03:41 PM, David Edelsohn wrote:
On Thu, Aug 11, 2011 at 4:32 PM, Sven Hager
wrote:
I think it is okay to add an attribute to class Field which
explicitly allows overlapping bits. It is very easy to adapt
the existing code in form.py to this.
Sven,
Attached is a patch that
On 08/11/2011 09:42 PM, David Edelsohn wrote:
Attached is a new patch that corrects the PPC fields.
The only simple way I can think of handling the 64 bit immediate shift
field is by adding a keyword argument to Field to ignore overlap.
Expressing the details of the field splitting will be compl