Difference between revisions of "Template:Cpulist"

From blackwiki
Jump to navigation Jump to search
imported>Arndbergmann
m (jasper forest has 4x256 kb l2 by default)
(l1 better defaults; move old freq code next to current code; inline ×)
Line 47: Line 47:
 
   }}
 
   }}
 
}}
 
}}
 
|cores = {{{cores|{{#switch: {{{2}}}
 
| head = Cores
 
| gulftown
 
| gulftownup = 6
 
| clarkdale
 
| arrandale = 2
 
| beckton = 8
 
| bloomfield
 
| gainestown
 
| lynnfield
 
| clarksfield
 
| jasperforest = 4
 
| diamondville
 
| silverthorne
 
| pineview = 1
 
| dunnington = 6
 
| harpertown
 
| yorkfield = 4
 
| wolfdale
 
| penryn
 
| penrynulv = 2
 
| tigerton
 
| clovertown
 
| kentsfield = 4
 
| woodcrest
 
| conroe
 
| merom
 
| sossaman
 
| yonah = 2
 
| dothan
 
| banias
 
| p5 = 1
 
}} }}}
 
  
 
<!--
 
<!--
Line 158: Line 124:
  
  
 +
|cores = {{{cores|{{#switch: {{{2}}}
 +
| head = Cores
 +
| gulftown
 +
| gulftownup = 6
 +
| clarkdale
 +
| arrandale = 2
 +
| beckton = 8
 +
| bloomfield
 +
| gainestown
 +
| lynnfield
 +
| clarksfield
 +
| jasperforest = 4
 +
| diamondville
 +
| silverthorne
 +
| pineview = 1
 +
| dunnington = 6
 +
| harpertown
 +
| yorkfield = 4
 +
| wolfdale
 +
| penryn
 +
| penrynulv = 2
 +
| tigerton
 +
| clovertown
 +
| kentsfield = 4
 +
| woodcrest
 +
| conroe
 +
| merom
 +
| sossaman
 +
| yonah = 2
 +
| dothan
 +
| banias
 +
| tillamook | p55ctp | p55lm | p55c
 +
| p54ct | p5t | p24ct | p24t | p54lm | p54cqs | p54cm | p54cs | p54c
 +
| p5 = 1
 +
}} }}}
  
 
|turbo={{#switch: {{{2}}}
 
|turbo={{#switch: {{{2}}}
Line 169: Line 170:
 
   {{#if: {{{uncore|}}}|
 
   {{#if: {{{uncore|}}}|
 
       {{#expr: ({{#switch: {{{fsb|{{#ifeq: {{{2}}}|pineview|667|533}} }}}
 
       {{#expr: ({{#switch: {{{fsb|{{#ifeq: {{{2}}}|pineview|667|533}} }}}
 +
          | 50 = 50
 
           | 60 = 60
 
           | 60 = 60
 
           | 66 | 67 = 200 / 3
 
           | 66 | 67 = 200 / 3
Line 191: Line 193:
  
 
|l1={{#switch: {{{2}}}
 
|l1={{#switch: {{{2}}}
  | head = [[CPU caches#Multi-level caches|L1 cache]]
+
  | head = [[CPU caches#Multi-level caches|L1 Cache]]
  | p5
+
  | tillamook | p55ctp | p55lm | p55c = {{#switch: {{{l1|}}}
| p54c
+
    | 16 | 32 = {{#expr: {{{l1}}}/2}} + {{#expr: {{{l1}}}/2}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
| p54cs
+
    | {{{l1|16 + 16}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]]|KiB}}{{#if: {{{l1|}}}| (?)}}
| p54cm
+
  }}
| p54cqs
+
  | p54ct | p5t | p24ct | p24t | p54lm | p54cqs | p54cm | p54cs | p54c = {{#switch: {{{l1|}}}
  | p54lm
+
     | 16 | 32 = {{#expr: {{{l1}}}/2}} + {{#expr: {{{l1}}}/2}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
| p24t
+
    | {{{l1|8 + 8}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]]|KiB}}{{#if: {{{l1|}}}| (?)}}
| p24ct
+
  }}
| p5t
+
| p5 = {{#switch: {{{l1|}}}
| p54ct
+
     | 16 | 32 = {{#expr: {{{l1}}}/2}} + {{#expr: {{{l1}}}/2}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
| p55c
+
     | {{{l1|8 + 8}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]]|KiB}}{{#if: {{{l1|}}}| (?)}}
| p55lm
 
| p55ctp
 
| tillamook = {{#switch: {{{l1|}}}
 
     | 16 = 8 + 8 {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
 
     | 32 = 16 + 16 {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
 
     | {{{l1|}}}
 
 
   }}
 
   }}
 +
| {{{l1|}}}
 
}}
 
}}
  
Line 239: Line 236:
 
  | kentsfield = {{#switch: {{{l2|}}}
 
  | kentsfield = {{#switch: {{{l2|}}}
 
   | 2  | 3  | 4  | 6  | 8  | 12 =
 
   | 2  | 3  | 4  | 6  | 8  | 12 =
         2 &times; {{#expr: {{{l2}}}/2}} {{#if: {{{links|}}}|[[Mebibyte|MiB]]|MiB}}
+
         2 × {{#expr: {{{l2}}}/2}} {{#if: {{{links|}}}|[[Mebibyte|MiB]]|MiB}}
 
   | {{#if: {{{l2|}}}|{{{l2}}} {{#if: {{{links|}}}|[[Mebibyte|MiB]] (?)]|MiB (?)}} }}
 
   | {{#if: {{{l2|}}}|{{{l2}}} {{#if: {{{links|}}}|[[Mebibyte|MiB]] (?)]|MiB (?)}} }}
 
   }}
 
   }}
Line 246: Line 243:
 
  | jasperforest
 
  | jasperforest
 
  | bloomfield
 
  | bloomfield
  | gainestown = {{{l2|4 &times; 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
+
  | gainestown = {{{l2|4 × 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
 
  | clarkdale
 
  | clarkdale
  | arrandale = {{{l2|2 &times; 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
+
  | arrandale = {{{l2|2 × 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
 
  | gulftown
 
  | gulftown
  | gulftownup = {{{l2|6 &times; 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
+
  | gulftownup = {{{l2|6 × 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
  | beckton = {{{l2|8 &times; 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
+
  | beckton = {{{l2|8 × 256}}} {{#if: {{{links|}}}|[[Kibibyte|KiB]]|KiB}}
 
  | {{{l2|}}}
 
  | {{{l2|}}}
 
}}
 
}}
Line 273: Line 270:
 
|iobus={{#switch: {{{2}}}
 
|iobus={{#switch: {{{2}}}
 
  | head = I/O Bus
 
  | head = I/O Bus
  | beckton = {{#if:{{{qpi|}}}|4 &times; {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|4 &times; 6.4 GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}}}
+
  | beckton = {{#if:{{{qpi|}}}|4 × {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|4 × 6.4 GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}}}
 
  | gulftown
 
  | gulftown
  | gainestown = {{#if:{{{qpi|}}}|2 &times; {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|2 &times; 6.4 GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}}}
+
  | gainestown = {{#if:{{{qpi|}}}|2 × {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|2 × 6.4 GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}}}
 
  | gulftownup
 
  | gulftownup
  | bloomfield = {{#if:{{{qpi|}}}|1 &times; {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|1 &times; 6.4 GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}}}
+
  | bloomfield = {{#if:{{{qpi|}}}|1 × {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|1 × 6.4 GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}}}
 
  | clarkdale
 
  | clarkdale
 
  | arrandale
 
  | arrandale
Line 283: Line 280:
 
  | clarksfield
 
  | clarksfield
 
  | pineview = {{#if: {{{links|}}}|[[Direct Media Interface|DMI]]|DMI}}
 
  | pineview = {{#if: {{{links|}}}|[[Direct Media Interface|DMI]]|DMI}}
  | jasperforest = {{#if:{{{qpi|}}}|1 &times; {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|
+
  | jasperforest = {{#if:{{{qpi|}}}|1 × {{{qpi}}} GT/s {{#if: {{{links|}}}|[[Intel QuickPath Interconnect|QPI]]|QPI}}|
 
                                   {{#if: {{{links|}}}|[[Direct Media Interface|DMI]]|DMI}}}}
 
                                   {{#if: {{{links|}}}|[[Direct Media Interface|DMI]]|DMI}}}}
 
  | {{#if:{{{iobus|}}}|{{{iobus}}}|
 
  | {{#if:{{{iobus|}}}|{{{iobus}}}|
Line 320: Line 317:
 
|mult={{#switch: {{{2}}}
 
|mult={{#switch: {{{2}}}
 
  | head = [[CPU multiplier|Mult]]
 
  | head = [[CPU multiplier|Mult]]
  | {{#if:{{{mult|}}}|{{{mult}}}&times;}}
+
  | {{#if:{{{mult|}}}|{{{mult}}}×}}
 
}}
 
}}
  
Line 331: Line 328:
 
  | head = [[Memory controller|Memory]]
 
  | head = [[Memory controller|Memory]]
 
  | gainestown
 
  | gainestown
  | bloomfield  = {{{mem|3 &times; DDR3-{{{memspeed|1066}}} }}}
+
  | bloomfield  = {{{mem|3 × DDR3-{{{memspeed|1066}}} }}}
 
  | gulftown
 
  | gulftown
 
  | gulftownup
 
  | gulftownup
  | jasperforest= {{{mem|3 &times; DDR3-{{{memspeed|1333}}} }}}
+
  | jasperforest= {{{mem|3 × DDR3-{{{memspeed|1333}}} }}}
  | beckton    = {{{mem|4 &times; DDR3-{{{memspeed|1333}}} }}}
+
  | beckton    = {{{mem|4 × DDR3-{{{memspeed|1333}}} }}}
 
  | lynnfield
 
  | lynnfield
  | clarksfield = {{{mem|2 &times; DDR3-{{{memspeed|1333}}} }}}
+
  | clarksfield = {{{mem|2 × DDR3-{{{memspeed|1333}}} }}}
 
  | arrandale
 
  | arrandale
  | clarkdale  = {{{mem|2 &times; DDR3-{{{memspeed|1333}}} }}}
+
  | clarkdale  = {{{mem|2 × DDR3-{{{memspeed|1333}}} }}}
 
  | {{{mem|}}}
 
  | {{{mem|}}}
 
}}
 
}}

Revision as of 20:37, 19 June 2010

Template documentation[view] [edit] [history] [purge]

cpulist is a template for maintaining lists of microprocessors with separate content and markup. Please help to convert the lists of microprocessors from Template:Intel processors to this template, in order to give them all a consistent appearance.

As a simple example,

 {{cpulist|nehalem|head}}
 {{cpulist|nehalem|gainestown|model=Xeon E5502
 |l3=4|qpi=4.8|mult=14|memspeed=800|vmin=0.75|vmax=1.35|tdp=80|date=March 30, 2009|price=$188|links=1
   |sspec1=SLBEZ|step1=D0|part1=AT80602000804AA}}
 {{cpulist|nehalem|end}}

results in a table like

Making changes to the cpulist template affects all articles using it, see Special:WhatLinksHere/Template:Cpulist for a list. Here is the list of cpulist sub-templates:

Template arguments

The first argument to the cpulist template, nehalem in the example, defines the layout of the table. Currently, valid arguments here are

  • lake-e For lists of the (Skylake-SP/F/W/X and Kaby Lake-X) generation of processors, including fields for burst frequency
  • skylake For lists of the Skylake, Kabylake, Coffeelake, etc generation of processors, including GPU field
  • silvermont For lists of the latest (Silvermont/Airmont) generation of low-power processors, including fields for sdp and burst frequency
  • haswell: For lists of the latest (Haswell/Broadwell) generation of processors, showing only the fields that are known to date
  • bridge-e: For lists of the previous (Sandy Bridge/Ivy Bridge) generation of processors, showing only the fields that are known to date
  • bridge: For lists of the previous (Sandy Bridge/Ivy Bridge) generation of processors, showing only the fields that are known to date
  • sandybridge: For lists of the previous Sandy Bridge processors, currently same format as bridge
  • nehalem: For lists of Intel's previous (Nehalem/Westmere) generation of processors, including fields for 'Turbo' mode, L3 cache and Memory Controller
  • nehgfx: like nehalem, but for chips with integrated graphics capability
  • atom: For lists of low-end Atom processors, currently same format as core
  • atomx3: For lists of Atom processors
  • atomgfx: For lists of Atom processors with integrated graphics
  • core: For lists of Intel's previous generation of processors
  • p6: For lists of Intel's p6 generation of processors
  • p5: For lists of Intel's p5 generation of processors

The second argument is the type of processor, defining default contents for many fields that are identical throughout a series of processors. This argument is optional, valid arguments are currently:

Other arguments are

  • |anchor=: An arbitrary HTML anchor that can be assigned to an entry
  • |model=: The name of the processor
  • |sspec= or |sspec1=|sspec8=: up to 8 Intel sSpec numbers
    • |step1=|step8=: up to 8 stepping names for the above sSpec numbers
  • |freq=: Core frequency, can often be determined by fsb and mult arguments, in MHz or GHz
  • |uncore=: Uncore frequency, in MHz or GHz
  • |turbo=: Turbo frequencies , as increments in clock multiplier
  • |burst=: Burst frequencies , in GHz
  • |igp=: Model of integrated graphics processor
  • |gfxfreq=: clock frequency of the integrated graphics, if applicable
  • |cores=: number of processor cores
    • |threads=: number of processor threads
  • |l1=: size of the Level 1 Cache, in KB
  • |l2=: size of the Level 2 Cache, in KB or MB
  • |l3=: size of the Level 3 Cache, in MB
  • |iobus=: Type and speed of I/O bus interface, may be expressed as one of
    • |fsb=: performance of Front-side bus in MT/s, if applicable
    • |ht=: performance of Hypertransport in MT/s, if applicable
    • |qpi=: performance of Quickpath interface in MT/s, if applicable
    • |dmi=: set to 1 if Direct media interface is in use
  • |mult=: clock multiplier of fsb or base frequency
  • |mem=: memory interface of integrated memory controller, may be expressed as
    • |memspeed=: data rate of integrated memory controller
  • |volt=: core voltage range, usually given as
    • |vmin=: minimum voltage in volts
    • |vmax=: maximum voltage (optional) in volts
  • |tdp= or |tdp1=|tdp8=: Thermal design power in watts
  • |sdp=: Scenario design power in watts
  • |sock= or |sock1=|sock8=: Socket, one of 1567, 1366, 1156, 775, 771, M, P, 956, 478, 479, 603, 604 or some others
  • |date=: release date
  • |part= or |part1=|part8=: part numbers
  • |price=: price in USD at the time of release

A special argument is

  • |links=: If set to any string, wikilinks are added to various units in the table row, usually this is used in the first row of a table
Model Number sSpec Number Frequency Turbo Cores L2 Cache L3 Cache I/O Bus Mult Memory Voltage TDP Socket Release Date Part Number(s) Release Price (USD)
Xeon E5502 SLBEZ (D0) 1867 MHz 4 4 × 256 KiB 4 MiB 2 × 4.8 GT/s QPI 14× 3 × DDR3-800 0.75–1.35 V 80 W LGA 1366 March 30, 2009 AT80602000804AA $188