------- Comment #9 from uros at kss-loka dot si  2005-10-26 14:41 -------
(In reply to comment #8)

> I've detected an ICE-on-invalid code with "y" constraint (MMX register)

  You should use memory input/output:

      __asm__ __volatile__ ("paddb" " %0, %%" "mm2"::"m" (mmx_0x8080s));
      __asm__ __volatile__ ("movq" " %%" "mm2" ", %0":"=m" (pyuv[8]):);

to produce:

#APP
        paddb mmx_0x8080s, %mm2
        movq %mm2, 8(%eax)
#NO_APP

> 
> pr24536.c:16: error: impossible register constraint in ‘asm’
> pr24536.c:19: internal compiler error: in ix86_secondary_memory_needed,
>               at config/i386/i386.c:15827
> 


-- 


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

Reply via email to