_area) 13 /* FALLTHROUGH */ 14 15 /* 16 * __dma_inv_area(start, size) 17 * - start - virtual start address of region 18 * - size - size in question 19 */ 20 add x1, x1, x0 21 dcache_line_size x2, x3 22 sub x3, x2, #1 23 tst x1, x3 // end cache line ...
and x2, x1, #7 // extract the length of the cachelines add x2, x2, #4 // add 4 (line length offset) mov x4, #0x3ff //逻辑右移3位,提取bits[12:3](Associativityof cache) – 1, //x4存储cache的way数 and x4, x4, x1, lsr #3 // find maximum number on the way size //...
//x1存储ccsidr_el1内容,低三位是(Log2(Number of bytes in cache line)) – 4 //加4后x2=(Log2(Numberof bytes in cache line)) and x2, x1, #7 // extract the length of the cachelines add x2, x2, #4 // add 4 (line length offset) mov x4, #0x3ff //逻辑右移3位,提取bits...
and x2, x1, #7 // extract the length of the cachelines add x2, x2, #4 // add 4 (line length offset) mov x4, #0x3ff //逻辑右移3位,提取bits[12:3](Associativityof cache) – 1, //x4存储cache的way数 and x4, x4, x1, lsr #3 // find maximum number on the way size //...
{staticClass:"param_area div_line",attrs:{type:"textarea",rows:20,placeholder:e.$t("inf.dlg.inParam")},model:{value:e.inParam,callback:function(t){e.inParam=t},expression:"inParam"}})],1)],1),e._v(" "),a("let-col",{attrs:{span:12}},[a("let-form",{attrs:{item...
and x2, x1, #7 // extract the length of the cachelines add x2, x2, #4 // add 4 (line length offset) mov x4, #0x3ff //逻辑右移3位,提取bits[12:3](Associativityof cache) – 1, //x4存储cache的way数 and x4, x4, x1, lsr #3 // find maximum number on the way size ...
add x2, x2, #4 // add 4 (line length offset) mov x4, #0x3ff //逻辑右移3位,提取bits[12:3](Associativityof cache) – 1, //x4存储cache的way数 and x4, x4, x1, lsr #3 // find maximum number on the way size //计算x4前面0的个数,存到x5 ...