From: Anders Carlsson Date: Mon, 10 Mar 2008 22:37:16 +0000 (+0000) Subject: Add support for the 'N' constraint. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=456e79dc2c6207d118bfcef86097f74481cdff82;p=clang Add support for the 'N' constraint. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48185 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Basic/Targets.cpp b/Basic/Targets.cpp index cede59858a..e8238daeae 100644 --- a/Basic/Targets.cpp +++ b/Basic/Targets.cpp @@ -486,7 +486,9 @@ namespace X86 { 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;