[LLVMbugs] [Bug 10972] New: -mavx treated as Core 2, getFPReg assert fail

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 20 22:18:18 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10972

           Summary: -mavx treated as Core 2, getFPReg assert fail
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mrob27 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7312)
 --> (http://llvm.org/bugs/attachment.cgi?id=7312)
preprocessed source

MacOS 10.6.8, llvm-as --version is: 3.0svn (Aug 21 2011 (21:03:24).
Host: x86_64-apple-darwin10.8.0

Compiling simple hello.c program with "-mavx" instead of "-mcorei7-avx"
unleashes a ton of chaos apparently because the backend is trying to target
Core 2. Note the Clang command-line arguments include conflicting options "
-target-cpu core2 -target-feature +avx ".

I cannot attach multiple files so the full C source (with a few useful
comments) and clang output are on my website: 
mrob.com/pub/comp/llvm/llvm-bug-20110920.txt

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list