From: Chris Lattner Date: Mon, 18 Aug 2008 20:05:00 +0000 (+0000) Subject: Fix PR2627, support for Q constraint. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e2118954730cab40675d510a29400bea0d19d84;p=clang Fix PR2627, support for Q constraint. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54943 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 3147aaa9bf..b156fbfc7f 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -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