summaryrefslogtreecommitdiffstats
path: root/llvm/docs/X86Usage.rst
blob: 4caadd715c9bae0001bc1919e157aa09ea1f213a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
==========================
User Guide for X86 Backend
==========================

.. contents::
   :local:

Introduction
============

The X86 backend provides ISA code generation for X86 CPUs. It lives in the
``lib/Target/X86`` directory.

LLVM
====

.. _x86-processors:

Processors
----------

Use the ``clang -march=<Processor>`` option to specify the X86 processor.

  .. table:: X86 processors
     :name: x86-processor-table

     ================== ===================
     Processor          Alternative
                        Name
     ``i386``
     ``i486``
     ``i586``
     ``pentium``
     ``pentium-mmx``
     ``i686``
     ``pentiumpro``
     ``pentium2``
     ``pentium3``       - ``pentium3m``
     ``pentium-m``
     ``pentium4``       - ``pentium4m``
     ``lakemont``
     ``yonah``
     ``prescott``
     ``nocona``
     ``core2``
     ``penryn``
     ``bonnell``        - ``atom``
     ``silvermont``     - ``slm``
     ``goldmont``
     ``nehalem``        - ``corei7``
     ``westmere``
     ``sandybridge``    - ``corei7-avx``
     ``ivybridge``      - ``core-avx-i``
     ``haswell``        - ``core-avx2``
     ``broadwell``      - ``skylake``
     ``knl``
     ``knm``
     ``skylake-avx512`` - ``skx``
     ``cannonlake``
     ``icelake``
     ``k6``
     ``k6-2``
     ``k6-3``
     ``athlon``         - ``athlon-tbird``
     ``athlon-4``       - ``athlon-xp``
                        - ``athlon-mp``
     ``k8``             - ``opteron``
                        - ``athlon64``
                        - ``athlon-fx``
     ``k8-sse3``        - ``opteron-sse3``
                        - ``athlon64-sse3``
     ``amdfam10h``      - ``barcelona``
     ``btver1``
     ``btver2``
     ``bdver1``
     ``bdver2``
     ``bdver3``
     ``bdver4``
     ``znver1``
     ``geode``
     ``winchip-c6``
     ``winchip2``
     ``c3``
     ``c3-2``
     ================== ===================
OpenPOWER on IntegriCloud