Add support for the 'N' constraint.

llvm-svn: 48185
This commit is contained in:
Anders Carlsson 2008-03-10 22:37:16 +00:00
parent 510fc32d15
commit 0be8163fb6
1 changed files with 3 additions and 1 deletions

View File

@ -486,7 +486,9 @@ namespace X86 {
case 't': // top of floating point stack. case 't': // top of floating point stack.
case 'u': // second from 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': // 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. // instructions.
info = (TargetInfo::ConstraintInfo)(info|TargetInfo::CI_AllowsRegister); info = (TargetInfo::ConstraintInfo)(info|TargetInfo::CI_AllowsRegister);
return true; return true;