[LLVMdev] New backend help request.

James Boulton eiconic at googlemail.com
Thu Jul 9 07:30:37 PDT 2015


Hmm, I'm getting nowhere pretty fast. It seems 68000 with its CISC nature is quite complex to implement for a novice.

I can see how to implement simple stuff, like --

move dn, dn
move dn, (an)

As that just turns into stores, sets, etc. But how would you represent things like indexed access?

move dn, (an,dn)
move dn, offset(an)

Can I only really define very simple operations for the main instruction info, and then the rest comes as optimisation? It sounds like that may not be very efficient?





More information about the llvm-dev mailing list