[llvm-dev] 16-bit bytes support

Mikaël Fourrier via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 11 12:03:24 PST 2017


Hi.

I'm working on a backend for the 
[DCPU16](https://github.com/techcompliant/TC-Specs/blob/master/CPU/DCPU.md), 
a fictional CPU. The main subtlety is that the bytes are 16 bits instead 
of 8. There is already a [working 
backend](https://github.com/krasin/llvm-dcpu16), but it does a lot of 
source modification to support 16 bit words. I try to update it to 
latest llvm, but it obviously fails since the new code assumes 1 word == 
8 bits. Any idea of a robust way to do such backend?

Have a good day,
Mikaël


More information about the llvm-dev mailing list