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

Line 1: Line 1:
{| style="border: solid 1px #e5e5ff; width: 400px; margin: 0 10px 10px 10px; text-align: left; font-size: 12px;"
+
<table style="border: solid 1px #e5e5ff; width: 400px; margin: 0 10px 10px 10px; text-align: left; font-size: 12px;">
| style="text-align: center; background: #ccffcc; font-size: 16px;" colspan="3" | '''Cache Info'''
+
<tr><td style="text-align: center; background: #ccffcc; font-size: 16px;" colspan="3">'''Cache Info'''</td></tr>{{#if:{{{l1 cache|}}}|{{{cache info/row|l1$|{{{l1 cache}}}|{{{l1 desc}}}|{{{l1 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}}}}}}}}<!--
{{#if:{{{l1 cache|}}}|{{{cache info/row|l1$|{{{l1 cache}}}|{{{l1 desc}}}|{{{l1 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}}}}}}}}<!--
 
 
{{#if:{{{l1 cache|}}}|{{!-}}|<nowiki />}}
 
{{#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|}}}|}}|}}
 
{{#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|}}}|}}|}}
Line 9: Line 8:
 
{{#if:{{{l3 cache|}}}|{{!}} '''L3$''' {{!}}{{!}} {{{l3 cache}}} {{!}}{{!}} {{#if:{{{l3 desc}}}|{{{l3 desc}}}|}}|}}
 
{{#if:{{{l3 cache|}}}|{{!}} '''L3$''' {{!}}{{!}} {{{l3 cache}}} {{!}}{{!}} {{#if:{{{l3 desc}}}|{{{l3 desc}}}|}}|}}
 
{{#if:{{{l4 cache|}}}|{{!-}}|<nowiki />}}
 
{{#if:{{{l4 cache|}}}|{{!-}}|<nowiki />}}
{{#if:{{{l4 cache|}}}|{{!}} '''L4$''' {{!}}{{!}} {{{l4 cache}}} {{!}}{{!}} {{#if:{{{l4 desc}}}|{{{l4 desc}}}|}}|}}-->
+
{{#if:{{{l4 cache|}}}|{{!}} '''L4$''' {{!}}{{!}} {{{l4 cache}}} {{!}}{{!}} {{#if:{{{l4 desc}}}|{{{l4 desc}}}|}}|}}--></table>
|}
 

Revision as of 00:50, 8 January 2016

Cache Info