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

(test 2)
(I think I fixed this crap)
Line 6: Line 6:
 
|<div></div>
 
|<div></div>
 
}}
 
}}
{{#if:{{{l1 cache|}}}|
+
{{#if:{{{l1i cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L1$''' {{!}}{{!}} style="text-align: center;" {{!}} {{{l1 cache}}} {{!}}{{!}} {{{l1 desc}}} {{{l1 extra}}}
+
{{!}} style="text-align: center;" {{!}} '''L1I$''' {{!}}{{!}} style="text-align: center;" {{!}} {{{l1i cache}}} {{!}}{{!}} {{{l1i desc}}} {{{l1i extra}}}
 
|<div></div>
 
|<div></div>
}}<!--
+
}}
 
+
{{#if:{{{l1d cache|}}}|
|-
+
{{!-}}
| style="text-align: center;" | '''{{{1}}}''' || style="text-align: center;" | {{{2}}} || {{{3}}} {{{4}}}
+
{{!}} style="text-align: center;" {{!}} '''L1D$''' {{!}}{{!}} style="text-align: center;" {{!}} {{{l1d cache}}} {{!}}{{!}} {{{l1d desc}}} {{{l1d extra}}}
{{#if:{{{l1 cache|}}}|{{{cache info/row|l1$|{{{l1 cache}}}|}}}}
+
|<div></div>
{{#if:{{{l1i cache|}}}|{{{cache info/row|l1I$|{{{l1i cache}}}|{{{l1i desc}}}|{{{l1i extra}}}}}}}}{{#if:{{{l1d cache|}}}|{{{cache info/row|l1D$|{{{l1d cache}}}|{{{l1d desc}}}|{{{l1d extra}}}}}}}}{{#if:{{{l2 cache|}}}|{{{cache info/row|l2$|{{{l2 cache}}}|{{{l2 desc}}}|{{{l2 extra}}}}}}}}{{#if:{{{l3 cache|}}}|{{{cache info/row|l3$|{{{l3 cache}}}|{{{l3 desc}}}|{{{l3 extra}}}}}}}}{{#if:{{{l4 cache|}}}|{{{cache info/row|l4$|{{{l4 cache}}}|{{{l4 desc}}}|{{{l4 extra}}}}}}}}
+
}}
 
+
{{#if:{{{l2 cache|}}}|
 
+
{{!-}}
{{#if:{{{l1 cache|}}}|{{!-}}|<nowiki />}}
+
{{!}} style="text-align: center;" {{!}} '''L2$''' {{!}}{{!}} style="text-align: center;" {{!}} {{{l2 cache}}} {{!}}{{!}} {{{l2 desc}}} {{{l2 extra}}}
{{#if:{{{l1 cache|}}}|{{!}} '''L1$''' {{!}}{{!}} {{{l1 cache}}} {{!}}{{!}} {{#if:{{{l1 desc}}}|({{{l1 desc}}})|}}{{#if:{{{l1 inst|}}}|<br />{{{l1 inst|}}} (instruction) {{{l1 inst desc|}}}|}}{{#if:{{{l1 data|}}}|<br />{{{l1 data|}}} (data) {{{l1 data desc|}}}|}}|}}
+
|<div></div>
{{#if:{{{l2 cache|}}}|{{!-}}|<nowiki />}}
+
}}
{{#if:{{{l2 cache|}}}|{{!}} '''L2$''' {{!}}{{!}} {{{l2 cache}}} {{!}}{{!}} {{#if:{{{l2 desc}}}|{{{l2 desc}}}|}}|}}
+
{{#if:{{{l3 cache|}}}|
{{#if:{{{l3 cache|}}}|{{!-}}|<nowiki />}}
+
{{!-}}
{{#if:{{{l3 cache|}}}|{{!}} '''L3$''' {{!}}{{!}} {{{l3 cache}}} {{!}}{{!}} {{#if:{{{l3 desc}}}|{{{l3 desc}}}|}}|}}
+
{{!}} style="text-align: center;" {{!}} '''L3$''' {{!}}{{!}} style="text-align: center;" {{!}} {{{l3 cache}}} {{!}}{{!}} {{{l3 desc}}} {{{l3 extra}}}
{{#if:{{{l4 cache|}}}|{{!-}}|<nowiki />}}
+
|<div></div>
{{#if:{{{l4 cache|}}}|{{!}} '''L4$''' {{!}}{{!}} {{{l4 cache}}} {{!}}{{!}} {{#if:{{{l4 desc}}}|{{{l4 desc}}}|}}|}}-->
+
}}
 +
{{#if:{{{l4 cache|}}}|
 +
{{!-}}
 +
{{!}} style="text-align: center;" {{!}} '''L4$''' {{!}}{{!}} style="text-align: center;" {{!}} {{{l4 cache}}} {{!}}{{!}} {{{l4 desc}}} {{{l4 extra}}}
 +
|<div></div>
 +
}}
 
|}
 
|}

Revision as of 01:17, 8 January 2016

Cache Info