On Sun, Jan 18, 2015 at 02:10:52PM +0800, YX Hao wrote:
> I don't know much about ASM and how tcc translates c code into ASM.
> If the 2nd MOV is not necessary, can we optimize it in tcc?

The redundant instruction is from the following printf call.
TinyCC does not remember what is in each register when it starts
to compile the next C statement.

  Daniel


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to