[cfe-commits] r48185 - /cfe/trunk/Basic/Targets.cpp

Anders Carlsson andersca at mac.com
Mon Mar 10 15:37:17 PDT 2008


Author: andersca
Date: Mon Mar 10 17:37:16 2008
New Revision: 48185

URL: http://llvm.org/viewvc/llvm-project?rev=48185&view=rev
Log:
Add support for the 'N' constraint.

Modified:
    cfe/trunk/Basic/Targets.cpp

Modified: cfe/trunk/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Basic/Targets.cpp?rev=48185&r1=48184&r2=48185&view=diff

==============================================================================
--- cfe/trunk/Basic/Targets.cpp (original)
+++ cfe/trunk/Basic/Targets.cpp Mon Mar 10 17:37:16 2008
@@ -486,7 +486,9 @@
     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 'Z': // 32-bit integer constant for used with zero-extending x86_64
+    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
               // instructions.
       info = (TargetInfo::ConstraintInfo)(info|TargetInfo::CI_AllowsRegister);
       return true;





More information about the cfe-commits mailing list