------- Comment #5 from pinskia at gcc dot gnu dot org  2008-11-28 20:03 -------
Reduced testcase:
void endian(unsigned short* out, int len)
{
  int i;
  for(i=0;i<len;i++)
  {
    unsigned short x = out[i];
    __asm("rorw $8, %w0" :  "=r" (x) :  "0" (x) :  "cc");
    out[i]=x;
  }
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-28 20:03:55
               date|                            |


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

Reply via email to