Displaying 2 results from an estimated 2 matches for "hd6309".
Did you mean:
6309
2018 Dec 19
2
Command line -mcpu= and -march=
Hi
I'm doing a port of Clang/LLVM - purely for the educational value - to the MC6809 (and HD6309 as a dub target) processors. I'll also want to eventually provide direct support for the AM9511 floating-point coprocessor as an option. I'm working with bleeding-edge code from the Git mirror.
I've made some pretty decent progress; I copied the llvm/lib/Targets/MSP430 Target to llvm/l...
2019 Mar 25
2
Overlapping register groups in old 8-bit MC6809 processor.
...uot;MC6809", [i16], 8, (add AW)>;
def ALLREG : RegisterClass<"MC6809", [i8, i16], 8, (add AD, IX, IY, SU, SS, PC, AW, AV, AA, AB, CC, DP, A0, AE, AF)>;
//===----------------------------------------------------------------------===//
(The extra registers are for the Hitachi HD6309 extended version)
TableGen doesn't like that last line, the ALLREG group. I need it because the EXG and TFR instructions both take 2 register indices from either GR16 or GR8 (I'm happy to check that both are from the same group in C++ code if necessary, but right now I'm stuck with eit...