Skip to content
  • Stefanus Du Toit's avatar
    Update CPU capabilities for AMD machines · 96180b53
    Stefanus Du Toit authored
    - added processors k8-sse3, opteron-sse3, athlon64-sse3, amdfam10, and
    barcelona with appropriate sse3/4a levels
    - added FeatureSSE4A for amdfam10 processors
    in X86Subtarget:
    - added hasSSE4A
    - updated AutoDetectSubtargetFeatures to detect SSE4A
    - updated GetCurrentX86CPU to detect family 15 with sse3 as k8-sse3 and
    family 10h as amdfam10
    
    New processor names match those used by gcc.
    
    Patch by Paul Redmond!
    
    llvm-svn: 72434
    96180b53
Loading