From WikiChip
Difference between revisions of "Template:cache info"

(semantics added)
(default none for extra)
Line 3: Line 3:
 
{{#if:{{{l1 cache|}}}|
 
{{#if:{{{l1 cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L1$''' {{!}}{{!}} style="text-align: center;" {{!}} [[l1$ size::{{{l1 cache}}}]] {{!}}{{!}} [[l1$ description::{{{l1 desc}}}]] {{{l1 extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L1$''' {{!}}{{!}} style="text-align: center;" {{!}} [[l1$ size::{{{l1 cache}}}]] {{!}}{{!}} [[l1$ description::{{{l1 desc}}}]] {{{l1 extra|}}}
 
|<div></div>
 
|<div></div>
 
}}
 
}}
 
{{#if:{{{l1i cache|}}}|
 
{{#if:{{{l1i cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L1I$''' {{!}}{{!}} style="text-align: center;" {{!}} [[l1i$ size::{{{l1i cache}}}]] {{!}}{{!}} [[l1i$ description::{{{l1i desc}}}]] {{{l1i extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L1I$''' {{!}}{{!}} style="text-align: center;" {{!}} [[l1i$ size::{{{l1i cache}}}]] {{!}}{{!}} [[l1i$ description::{{{l1i desc}}}]] {{{l1i extra|}}}
 
|<div></div>
 
|<div></div>
 
}}
 
}}
 
{{#if:{{{l1d cache|}}}|
 
{{#if:{{{l1d cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L1D$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l1d$ size::{{{l1d cache}}}]] {{!}}{{!}} [[l1d$ description::{{{l1d desc}}}]] {{{l1d extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L1D$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l1d$ size::{{{l1d cache}}}]] {{!}}{{!}} [[l1d$ description::{{{l1d desc}}}]] {{{l1d extra|}}}
 
|<div></div>
 
|<div></div>
 
}}
 
}}
 
{{#if:{{{l2 cache|}}}|
 
{{#if:{{{l2 cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L2$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l2$ size::{{{l2 cache}}}]] {{!}}{{!}} [[l2$ description::{{{l2 desc}}}]] {{{l2 extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L2$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l2$ size::{{{l2 cache}}}]] {{!}}{{!}} [[l2$ description::{{{l2 desc}}}]] {{{l2 extra|}}}
 
|<div></div>
 
|<div></div>
 
}}
 
}}
 
{{#if:{{{l3 cache|}}}|
 
{{#if:{{{l3 cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L3$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l3$ size::{{{l3 cache}}}]] {{!}}{{!}} [[l3$ description::{{{l3 desc}}}]] {{{l3 extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L3$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l3$ size::{{{l3 cache}}}]] {{!}}{{!}} [[l3$ description::{{{l3 desc}}}]] {{{l3 extra|}}}
 
|<div></div>
 
|<div></div>
 
}}
 
}}
 
{{#if:{{{l4 cache|}}}|
 
{{#if:{{{l4 cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L4$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l4$ size::{{{l4 cache}}}]] {{!}}{{!}} [[l4$ description::{{{l4 desc}}}]] {{{l4 extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L4$''' {{!}}{{!}} style="text-align: center;" {{!}}  [[l4$ size::{{{l4 cache}}}]] {{!}}{{!}} [[l4$ description::{{{l4 desc}}}]] {{{l4 extra|}}}
 
|<div></div>
 
|<div></div>
 
}}
 
}}
 
|}
 
|}

Revision as of 01:30, 8 January 2016

Cache Info