Displaying 1 result from an estimated 1 matches for "store16_trunc".
2012 Apr 18
0
[LLVMdev] [cfe-dev] LLVM Backend for Z80
...> .size simple, ($tmp0)-simple
>
> But when I add one line to c:
>
> void simple()
> {
> unsigned char i=10;
> unsigned char a = 20;
> a = a+i;
> }
>
> the llc fails to generate .S file.
> I have only added this instruction to Z80InstrInfo.td
>
> def STORE16_trunc: Z80Instr<(outs), (ins GPR16:$src, GPR16:$dst),
> "ld_b ($dst),$src",
> [(truncstorei8 GPR16:$src, GPR16:$dst)]>;
>
> This is also MY PSEUDO instruction on Z80.
> Next I will try to handle this is real instructions, but for now I cannot make futher due to that assert...