Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2012 12:56:05 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r241505 - in stable/9/contrib/llvm/lib: Support Target/X86
Message-ID:  <201210131256.q9DCu5og016869@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Oct 13 12:56:04 2012
New Revision: 241505
URL: http://svn.freebsd.org/changeset/base/241505

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

Modified:
  stable/9/contrib/llvm/lib/Support/Host.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86.td
Directory Properties:
  stable/9/contrib/llvm/   (props changed)

Modified: stable/9/contrib/llvm/lib/Support/Host.cpp
==============================================================================
--- stable/9/contrib/llvm/lib/Support/Host.cpp	Sat Oct 13 11:23:16 2012	(r241504)
+++ stable/9/contrib/llvm/lib/Support/Host.cpp	Sat Oct 13 12:56:04 2012	(r241505)
@@ -284,6 +284,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: stable/9/contrib/llvm/lib/Target/X86/X86.td
==============================================================================
--- stable/9/contrib/llvm/lib/Target/X86/X86.td	Sat Oct 13 11:23:16 2012	(r241504)
+++ stable/9/contrib/llvm/lib/Target/X86/X86.td	Sat Oct 13 12:56:04 2012	(r241505)
@@ -227,6 +227,7 @@ def : Proc<"bdver2",          [FeatureSS
                                FeatureAES, FeatureCLMUL,
                                FeatureXOP, FeatureF16C, FeatureLZCNT,
                                FeaturePOPCNT, FeatureBMI]>;
+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?201210131256.q9DCu5og016869>