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

 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="border: solid 1px #e5e5ff; width: 400px; margin: 0 10px 10px 10px; text-align: left; font-size: 12px;"
+
<includeonly>{| style="border: solid 1px #e5e5ff; width: 450px; margin: 0 10px 10px 10px; text-align: left; font-size: 12px;"
| style="text-align: center; background: #ccffcc; font-size: 16px;" colspan="3" | '''Cache Info'''
+
| style="text-align: center; background: #ccffcc; font-size: 16px;" colspan="3" | '''Cache Info''' <span style="float: right;">[[Special:FormEdit/Cache_info/{{FULLPAGENAME}}|<small><nowiki>[Edit Values]</nowiki></small>]]</span>
 
{{#if:{{{l1 cache|}}}|
 
{{#if:{{{l1 cache|}}}|
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: center;" {{!}} '''L1$''' {{!}} style="text-align: center;" {{!}} {{{l1 cache}}} {{!}}{{!}} {{{l1 desc}}} {{{l1 extra}}}
+
{{!}} style="text-align: left;" {{!}} '''L1$''' {{!}}{{!}} style="text-align: center; width: 50px;" {{!}} [[l1$ size::{{{l1 cache}}}]] {{!}}{{!}} {{{l1 break|}}} {{#if:{{{l1 desc|}}}|[[l1$ description::{{{l1 desc}}}]]}} {{{l1 extra|}}}
}}<!--
+
|<div></div>
 
+
}}
|-
+
{{#if:{{{l1i cache|}}}|
| style="text-align: center;" | '''{{{1}}}''' || style="text-align: center;" | {{{2}}} || {{{3}}} {{{4}}}
+
{{!-}}
{{#if:{{{l1 cache|}}}|{{{cache info/row|l1$|{{{l1 cache}}}|}}}}
+
{{!}} style="text-align: left;" {{!}} '''L1I$''' {{!}}{{!}} style="text-align: center; width: 50px;" {{!}} [[l1i$ size::{{{l1i cache}}}]] {{!}}{{!}} {{{l1i break|}}} {{#if:{{{l1i desc|}}}|[[l1i$ description::{{{l1i desc}}}]]}} {{{l1i extra|}}}
{{#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}}}}}}}}
+
|<div></div>
 
+
}}
 
+
{{#if:{{{l1d cache|}}}|
{{#if:{{{l1 cache|}}}|{{!-}}|<nowiki />}}
+
{{!-}}
{{#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|}}}|}}|}}
+
{{!}} style="text-align: left;" {{!}} '''L1D$''' {{!}}{{!}} style="text-align: center; width: 50px;" {{!}}  [[l1d$ size::{{{l1d cache}}}]] {{!}}{{!}} {{{l1d break|}}} {{#if:{{{l1d desc|}}}|[[l1d$ description::{{{l1d desc}}}]]}} {{{l1d extra|}}}
{{#if:{{{l2 cache|}}}|{{!-}}|<nowiki />}}
+
|<div></div>
{{#if:{{{l2 cache|}}}|{{!}} '''L2$''' {{!}}{{!}} {{{l2 cache}}} {{!}}{{!}} {{#if:{{{l2 desc}}}|{{{l2 desc}}}|}}|}}
+
}}
{{#if:{{{l3 cache|}}}|{{!-}}|<nowiki />}}
+
{{#if:{{{l2 cache|}}}|
{{#if:{{{l3 cache|}}}|{{!}} '''L3$''' {{!}}{{!}} {{{l3 cache}}} {{!}}{{!}} {{#if:{{{l3 desc}}}|{{{l3 desc}}}|}}|}}
+
{{!-}}
{{#if:{{{l4 cache|}}}|{{!-}}|<nowiki />}}
+
{{!}} style="text-align: left;" {{!}} '''L2$''' {{!}}{{!}} style="text-align: center; width: 50px;" {{!}}  [[l2$ size::{{{l2 cache}}}]] {{!}}{{!}} {{{l2 break|}}} {{#if:{{{l2 desc|}}}|[[l2$ description::{{{l2 desc}}}]]}} {{{l2 extra|}}}
{{#if:{{{l4 cache|}}}|{{!}} '''L4$''' {{!}}{{!}} {{{l4 cache}}} {{!}}{{!}} {{#if:{{{l4 desc}}}|{{{l4 desc}}}|}}|}}-->
+
|<div></div>
|}
+
}}
 +
{{#if:{{{l3 cache|}}}|
 +
{{!-}}
 +
{{!}} style="text-align: left;" {{!}} '''L3$''' {{!}}{{!}} style="text-align: center; width: 50px;" {{!}}  [[l3$ size::{{{l3 cache}}}]] {{!}}{{!}} {{{l3 break|}}} {{#if:{{{l3 desc|}}}|[[l3$ description::{{{l3 desc}}}]]}} {{{l3 extra|}}}
 +
|<div></div>
 +
}}
 +
{{#if:{{{l4 cache|}}}|
 +
{{!-}}
 +
{{!}} style="text-align: left;" {{!}} '''L4$''' {{!}}{{!}} style="text-align: center; width: 50px;" {{!}}  [[l4$ size::{{{l4 cache}}}]] {{!}}{{!}} {{{l3 break|}}} {{#if:{{{l4 desc|}}}|[[l4$ description::{{{l4 desc}}}]]}} {{{l4 extra|}}}
 +
|<div></div>
 +
}}
 +
|}</includeonly><noinclude><span style="font-size: 1.2em; color: red;">'''NOTE:''' This template has been deprecated. Please use [[Template:cache size]] instead.</span>
 +
</noinclude>

Latest revision as of 18:44, 7 January 2017

NOTE: This template has been deprecated. Please use Template:cache size instead.