tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] The inline assembly clobber for floating point regist


From: YX Hao
Subject: Re: [Tinycc-devel] The inline assembly clobber for floating point register stack `%st' not implemented?
Date: Tue, 20 Jan 2015 23:16:30 +0800

Hi,

From: "Sergey Korshunoff" <address@hidden>
Sent: Tuesday, January 20, 2015 4:41 PM

The patch.

From: "Sergey Korshunoff" <address@hidden>
Sent: Tuesday, January 20, 2015 9:34 PM
My assumption is wrong. There is a test program with results from gcc and tcc.

From: "Sergey Korshunoff" <address@hidden>
Sent: Tuesday, January 20, 2015 10:43 PM
Handling of the "t" spec needs to be improved. I take patch for it
from the this mail list (2014)
tcc don't load a function parameter into the float stack.


i386-asm.c: 1480:
asm_clobber(uint8_t *clobber_regs, const char *str)
{}

After you have added code accepting 'st' clobber string declaration, then you should assign it the right machine code I guess.
I don't understand the 'if' blocks following that.

i386-tok.h: 93:
DEF_ASM(st)





reply via email to

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