Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 21:29:01 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241427 - in head/contrib/llvm/lib: Support Target/X86
Message-ID:  <201210102129.q9ALT1sf005296@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Oct 10 21:29:00 2012
New Revision: 241427
URL: http://svn.freebsd.org/changeset/base/241427

Log:
  Pull in r163710 from upstream llvm trunk:
  
    Add support for AMD Geode.
  
  MFC after:	3 days

Modified:
  head/contrib/llvm/lib/Support/Host.cpp
  head/contrib/llvm/lib/Target/X86/X86.td

Modified: head/contrib/llvm/lib/Support/Host.cpp
==============================================================================
--- head/contrib/llvm/lib/Support/Host.cpp	Wed Oct 10 21:27:30 2012	(r241426)
+++ head/contrib/llvm/lib/Support/Host.cpp	Wed Oct 10 21:29:00 2012	(r241427)
@@ -303,6 +303,7 @@ std::string sys::getHostCPUName() {
         case 8:  return "k6-2";
         case 9:
         case 13: return "k6-3";
+        case 10: return "geode";
         default: return "pentium";
         }
       case 6:

Modified: head/contrib/llvm/lib/Target/X86/X86.td
==============================================================================
--- head/contrib/llvm/lib/Target/X86/X86.td	Wed Oct 10 21:27:30 2012	(r241426)
+++ head/contrib/llvm/lib/Target/X86/X86.td	Wed Oct 10 21:29:00 2012	(r241427)
@@ -227,6 +227,7 @@ def : Proc<"bdver2",          [FeatureXO
                                FeatureAES, FeaturePCLMUL,
                                FeatureF16C, FeatureLZCNT,
                                FeaturePOPCNT, FeatureBMI, FeatureFMA]>;
+def : Proc<"geode",           [Feature3DNowA]>;
 
 def : Proc<"winchip-c6",      [FeatureMMX]>;
 def : Proc<"winchip2",        [Feature3DNow]>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210102129.q9ALT1sf005296>