OSDN Git Service

Handle fpcr register.
authorEric Christopher <echristo@apple.com>
Thu, 7 Jul 2011 22:54:12 +0000 (22:54 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 7 Jul 2011 22:54:12 +0000 (22:54 +0000)
Part of PR10299 and rdar://9740322

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134653 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCAsmInfo.cpp

index 2e1ec63..faf4f7c 100644 (file)
@@ -45,13 +45,14 @@ static const char *const x86_asm_table[] = {
   "{flags}", "",
   "{dirflag}", "",
   "{fpsr}", "",
+  "{fpcr}", "",
   "{cc}", "cc",
   0,0};
 
 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
   AsmTransCBE = x86_asm_table;
   AssemblerDialect = AsmWriterFlavor;
-    
+
   bool is64Bit = Triple.getArch() == Triple::x86_64;
 
   TextAlignFillValue = 0x90;