[cfe-dev] error: clobbers must be last on the x87 stack

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri May 25 13:21:37 PDT 2012


On May 25, 2012, at 7:10 AM, Luc Bourhis <luc_j_bourhis at mac.com> wrote:

> Hi,
> 
> I've stumbled upon that error that makes no sense to me, being a complete novice in asm. The code is
>  asm ("fsincos;" : "=t" (*ct), "=u" (*st) : "0" (t) : "st(7)");
> 
> Would there be a good soul to tell me how to correct it? I tried random permutations but to no avail.

asm ("fsincos;" : "=t" (*ct), "=u" (*st) : "0" (t));

/jakob




More information about the cfe-dev mailing list