http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55864
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |INVALID
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-03
15:29:27 UTC ---
The testcase is buggy. You aren't telling the compiler you are modifying the
%mm0 and %mm1 registers (why you do anything with MMX at this point BTW? that
is simply a very bad idea), and even if you did, you can't expect the registers
to keep their values in between the different inline asm statements, you aren't
using the required emms for MMX (and not telling the compiler that you are
invalidating the whole i387 register state), and the operands of the second
inline asm are completely bogus.