[llvm-bugs] [Bug 38594] New: i686-apple-darwin target-cpu is i686 ?

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 16 01:59:56 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38594

            Bug ID: 38594
           Summary: i686-apple-darwin target-cpu is i686 ?
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvm-bugs at lists.llvm.org

echo | clang -### -E - --target=i686-apple-darwin

produces: -target-cpu i686

Does that mean that the following CPU is used?

https://github.com/llvm-mirror/llvm/blob/3b09b9e80ea336869ce855baa4c11b5cd762aa44/lib/Target/X86/X86.td#L460

def : Proc<"i686", [FeatureX87, FeatureSlowUAMem16, FeatureCMOV]>;

Given that the first Apple machines using Intel CPUs were from the mid 2000s,
and were using core CPUs with SSE3, I must ask, if this is correct, what is the
reason for it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180816/4cde7dce/attachment.html>


More information about the llvm-bugs mailing list