[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Is this a duplicate ASM operation?

From: Daniel Glöckner
Subject: Re: [Tinycc-devel] Is this a duplicate ASM operation?
Date: Sun, 18 Jan 2015 09:27:57 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]