Hi! Another question:  Compiling a nimrod compiler by i386-win-tcc I
got  the following error:
/usr/local/lib/win32/include/math.h:541: error: invalid clobber register 'st'
It looks like tcc don't know about this name. Is ST an alias for the  ST0 ?


2015-01-18 11:27 GMT+03:00, Daniel Glöckner <[email protected]>:
> 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
>

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

Reply via email to