[LLVMdev] Backend for the ZPU - a stack based / zero operand CPU

Chris Lattner sabre at nondot.org
Fri Jun 20 13:09:38 PDT 2008


On Fri, 20 Jun 2008, [ISO-8859-1] ├śyvind Harboe wrote:
> The ZPU has two instructions that I'd also like to use. These instructions
> can push a value from deeper down on the stack and also pop a value
> from the stack and store them deeper down on the stack.

Sounds like the Intel X87 floating point stack, which we support.

> The ZPU needs relaxation. Immediate values and
> pc/sp relative references have variable lengths.
>
> Does llvm support ├Čnstruction relaxation?

Yes, many targets (e.g. arm, mips, ppc) have branch offset restrictions.

LLVM doesn't provide an assembler, you should use GAS.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/


More information about the llvm-dev mailing list