Content deleted Content added
Guy Harris (talk | contribs) →Example: Update example template. |
|||
(36 intermediate revisions by 20 users not shown) | |||
Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This template is for CPU architectures.▼
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
=== Usage ===
<syntaxhighlight lang="wikitext">
{{Infobox CPU architecture
| name =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| extensions =
| open =
| predecessor =
| successor =
| gpr =
| fpr =
| vpr =
}}
</syntaxhighlight>
=== Description ===
<syntaxhighlight lang="wikitext">
{{Infobox CPU architecture
| name = Name of architecture, e.g. x86, SPARC, PowerPC, MIPS, ARM
| designer = Designer of the architecture
| bits = Width of accumulator/general registers/stack top, e.g. 32-bit, 64-bit
| introduced = Year introduced
| version = Version/revision of architecture/ISA
| design = Design strategy, e.g. RISC, CISC
| type = Type of architecture, e.g. Register-Register, Register-Memory, Memory-Memory
| encoding = Instruction set encoding, e.g. Fixed or Variable
| branching = Branching evaluation, e.g. Condition register, Condition code, Compare and branch
| endianness = Byte ordering, i.e. Little, Big, Bi
| page size = Primary size of page, i.e. 4 KiB, 2 MiB, 1 GiB; does not include "huge pages" and other extensions
| extensions = ISA extensions, i.e. MMX, SSE, AltiVec, etc
| predecessor = Earlier architecture(s) this one is based on, if it has a separate page
| registers = Number and size of processor registers ▼
| successor = Later architecture(s) based primarily on this one, if it has a separate page
| gpr = Number and size of general-purpose registers▼
|
▲| registers = Number and size of processor registers
| fpr = Number of floating-point registers (and size, if not indicated by bits=)
| vpr = Number of vector registers (and size, if not indicated by bits=)
}}
</syntaxhighlight>
All fields are optional.
Line 50 ⟶ 65:
| name = SPARC
| designer = [[Sun Microsystems]]
| bits = 64-bit (32 → 64)
| introduced = 1985
| version = V9 (1993)
| design = RISC
| type = Register-Register
Line 58 ⟶ 73:
| branching = Condition code
| endianness = Bi (Big → Bi)
| page size = 8 KiB
| extensions = [[Visual Instruction Set|VIS]] 1.0, 2.0, 3.0
| open = Yes
| gpr = 31 (G0 = 0; non-global registers use [[register window]]s)
▲| registers = 32
| fpr = 32
}}
<syntaxhighlight lang="wikitext">
{{Infobox CPU architecture
| name = SPARC
Line 74 ⟶ 91:
| branching = Condition code
| endianness = Bi (Big → Bi)
| page size = 8 KiB
| extensions = [[Visual Instruction Set|VIS]] 1.0, 2.0, 3.0
| open = Yes
| gpr = 31
| fpr = 32
}}
</syntaxhighlight>
=== Parameters ===
Line 92 ⟶ 110:
; encoding: Instruction set encoding, e.g. Fixed or Variable
; branching: Branching evaluation, e.g. Condition register, Condition code, Compare and branch
; endianness: Byte ordering,
; page size: Primary size of page, e.g. 4 KiB, 2 MiB, 1 GiB; does not include "huge pages" and other extensions
; extensions: ISA extensions,
; open: Is the architecture open or not? (as in free or proprietary)
; predecessor: Earlier architecture(s) this one is based on, if it has a separate page
; successor: Later architecture(s) based primarily on this one, if it has a separate page
; gpr:Amount and width of general-purpose registers▼
; registers: Number and size of processor registers
; fpr: Number of floating-point registers (and size, if not indicated by bits=)
; vpr: Number of vector registers (and size, if not indicated by bits=)
=== See also ===
* {{
* {{
* {{tl|Infobox computer hardware bus}} — for [[Bus (computing)|computer bus]]es
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:
}}</includeonly>
|