[Bug 211864] LLVM is using AVX instructions for CPUTYPE=btver1 (AMD Bobcat)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 17 21:58:01 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211864

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: dim
Date: Wed Aug 17 21:57:11 UTC 2016
New revision: 304319
URL: https://svnweb.freebsd.org/changeset/base/304319

Log:
  Pull in r262772 from upstream clang trunk (by Simon Pilgrim):

    [X86] AMD Bobcat CPU (btver1) doesn't support XSAVE

    btver1 is a SSSE3/SSE4a only CPU - it doesn't have AVX and doesn't
    support XSAVE.

    Differential Revision: http://reviews.llvm.org/D17682

  Pull in r262782 from upstream llvm trunk (by Simon Pilgrim):

    [X86] AMD Bobcat CPU (btver1) doesn't support XSAVE

    btver1 is a SSSE3/SSE4a only CPU - it doesn't have AVX and doesn't
    support XSAVE.

    Differential Revision: http://reviews.llvm.org/D17683

  This ensures clang does not emit AVX instructions for CPUTYPE=btver1.

  Reported by:  Michel Depeige <demik+freebsd at lostwave.net>
  PR:           211864
  MFC after:    3 days

Changes:
  head/contrib/llvm/lib/Target/X86/X86.td
  head/contrib/llvm/tools/clang/lib/Basic/Targets.cpp
  head/lib/clang/freebsd_cc_version.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-toolchain mailing list