]> granicus.if.org Git - clang/commitdiff
Fix PR2627, support for Q constraint.
authorChris Lattner <sabre@nondot.org>
Mon, 18 Aug 2008 20:05:00 +0000 (20:05 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Aug 2008 20:05:00 +0000 (20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54943 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 3147aaa9bfc9596802d9c359e69298c0dbcee0a8..b156fbfc7f32b96bd1d685297748d66e21b79fe5 100644 (file)
@@ -550,7 +550,8 @@ namespace X86 {
     case 'A': // edx:eax.
     case 't': // top of floating point stack.
     case 'u': // second from top of floating point stack.
-    case 'q': // a, b, c, d registers or any integer register in 64-bit.
+    case 'q': // Any register accessible as [r]l: a, b, c, and d.
+    case 'Q': // Any register accessible as [r]h: a, b, c, and d.
     case 'Z': // 32-bit integer constant for use with zero-extending x86_64
               // instructions.
     case 'N': // unsigned 8-bit integer constant for use with in and out