[LLVMbugs] [Bug 1530] NEW: missing implied subtarget features

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 27 15:19:10 PDT 2007


           Summary: missing implied subtarget features
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Target Description Classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: djg at cray.com

llc -march=x86-64 -mcpu=opteron

gives this message:

Warning: 64-bit processors all have at least SSE2.

Looking at the code in lib/Target/SubtargetFeature.cpp,
SetImpliedBits isn't called for the base CPU's feature
bits, so even though "opteron" has the 64-bit feature
and 64-bit implies SSE2, -mcpu=opteron doesn't
automatically enable SSE2.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list