[LLVMbugs] [Bug 2627] clang doesn't understand "q"/"Q" constraint for __asm

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Aug 18 13:06:40 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2627


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Chris Lattner <clattner at apple.com>  2008-08-18 15:06:39 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080818/007035.html

Note that you should use __builtin_bswap* etc if you care about code quality. 
Something like:

#ifdef __llvm__
  use __builtin_bswap16(x)
#else
  asm horribleness
#endif

would be preferred for both clang and llvm-gcc.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list