------- Comment #1 from ubizjak at gmail dot com  2007-04-26 08:22 -------
(In reply to comment #0)

> __asm__ __volatile__("fptan; fdivp;fchs;": "=&t"(tmpB):"f"(r));

These constraints are wrong. You need:

  __asm__ __volatile__ ("fptan; fdivp;fchs;" : "=t" (tmpB) : "0"(r) : "st(1)");


Also note that tmpB is unused, as you rewrite it in next statement.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31705

Reply via email to