search for: frankencomopil

Displaying 1 result from an estimated 1 matches for "frankencomopil".

Did you mean: frankencomopiler
2018 Dec 19
2
Command line -mcpu= and -march=
...he rest of the code mechanically creating MC6809 entries wherever there was an MSP430 one. Similarly in llvm/tools/clang/... I then butchered the MC6809.td file, the register description .td file, made a new machine description string, and fixed the compilation problems that arose. This gives me a FrankenComopiler that generates MSP430 instructions using MC6809 registers in MC6809 memory layout. So far so good. I'm leaving the fun bit - doing all the instructions/assembly/output file generation - for last. What I can't figure out is how to the -mcpu=foo and/or -march=bar to work. The documentation...