develooper Front page | perl.perl6.internals | Postings from April 2005

Building an incomplete code generator into Parrot

Thread Next
From:
rocko
Date:
April 23, 2005 22:19
Subject:
Building an incomplete code generator into Parrot
Message ID:
20050424011934.ey5ch49tavo08k0o@www.adampreble.com
Well I started the AMD64 code generator.  I don't have much available yet --
just enough for what seems to be necessary to run anything at all. 
Parrot_jit_begin makes calls to MOV instructions that are implemented, and I
have a NOP implemented.  Is this the bare minimum?

I was hoping for some insights into how I can incorporate this into a build and
get the VM to recognize my code generator for trivial test programs I want to
send it.  I haven't been able to test if any of this works yet.

As of right now, I still have the i386 code.jit file, and I don't know how that
works when I don't have all the requisite instructions implemented.  Can the
core.jit only list the opcodes I currently support?  Do I need stubs for all
the opcodes?

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About