Content deleted Content added
Added docs for "Predecessor" and "Successor" links. |
|||
(13 intermediate revisions by 9 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]]) -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
This template is for CPU [[instruction set architecture]]s.
=== Usage ===
<syntaxhighlight lang="wikitext">
{{Infobox CPU architecture
| name =
| image =
| image_size =
| alt =
| caption =
| designer =
| bits =
Line 24 ⟶ 31:
| gpr =
| fpr =
| vpr =
}}
</syntaxhighlight>
=== Description ===
<syntaxhighlight lang="wikitext">
{{Infobox CPU architecture
| name = Name of architecture, e.g. x86, SPARC, PowerPC, MIPS, ARM
Line 42 ⟶ 50:
| 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
| successor = Later architecture(s) based primarily on this one, if it has a separate page
Line 49 ⟶ 56:
| gpr = Number of general-purpose registers (and size, if not indicated by bits=)
| 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 71 ⟶ 79:
| fpr = 32
}}
<syntaxhighlight lang="wikitext">
{{Infobox CPU architecture
| name = SPARC
Line 89 ⟶ 97:
| fpr = 32
}}
</syntaxhighlight>
=== Parameters ===
Line 112 ⟶ 120:
; gpr: Number of general-purpose registers (and size, if not indicated by bits=)
; 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:Computer hardware infobox templates|CPU architecture]]
}}</includeonly>
|