From 0779e8bced6652d06088a9ed6d995a1e15908fc1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 9 Sep 2024 02:15:16 +0900 Subject: 17-Transpose-MAB --- problems/17-Transpose-MAB/01.vsm | 293 +++++++++++++++++++++++++++++++++++---- 1 file changed, 268 insertions(+), 25 deletions(-) (limited to 'problems/17-Transpose-MAB/01.vsm') diff --git a/problems/17-Transpose-MAB/01.vsm b/problems/17-Transpose-MAB/01.vsm index 5e1ebf8..5abdda7 100644 --- a/problems/17-Transpose-MAB/01.vsm +++ b/problems/17-Transpose-MAB/01.vsm @@ -1,28 +1,271 @@ -lpackbit $subpeid $ls0 $t +l1bmd $lm0v $lb0 +l1bmd $lm8v $lb256 +l1bmd $lm16v $lb512 +l1bmd $lm24v $lb768 + +imm i"5" $s1/1000 nop -l1bmd $lmt0v8 $lb0 -# 4.times do |cycle| -# 16.times do |mab| -# 4.times do |pe| -# l1b_addr = cycle * 4 * 16 + mab * 4 + pe -# puts "#{"%3d" % l1b_addr}: mab[#{"%2d" % mab}] pe[#{pe}] $lm#{cycle * 8 + pe * 2}" -# end -# end -# end +# 256.times { |i| puts "l1bmp $lb#{i*4} $lm#{i*2}v" } +l1bmp $lb0 $lm0v +l1bmp $lb4 $lm2v +l1bmp $lb8 $lm4v +l1bmp $lb12 $lm6v +l1bmp $lb16 $lm8v +l1bmp $lb20 $lm10v +l1bmp $lb24 $lm12v +l1bmp $lb28 $lm14v +l1bmp $lb32 $lm16v +l1bmp $lb36 $lm18v +l1bmp $lb40 $lm20v +l1bmp $lb44 $lm22v +l1bmp $lb48 $lm24v +l1bmp $lb52 $lm26v +l1bmp $lb56 $lm28v +l1bmp $lb60 $lm30v +l1bmp $lb64 $lm32v +l1bmp $lb68 $lm34v +l1bmp $lb72 $lm36v +l1bmp $lb76 $lm38v +l1bmp $lb80 $lm40v +l1bmp $lb84 $lm42v +l1bmp $lb88 $lm44v +l1bmp $lb92 $lm46v +l1bmp $lb96 $lm48v +l1bmp $lb100 $lm50v +l1bmp $lb104 $lm52v +l1bmp $lb108 $lm54v +l1bmp $lb112 $lm56v +l1bmp $lb116 $lm58v +l1bmp $lb120 $lm60v +l1bmp $lb124 $lm62v +l1bmp $lb128 $lm64v +l1bmp $lb132 $lm66v +l1bmp $lb136 $lm68v +l1bmp $lb140 $lm70v +l1bmp $lb144 $lm72v +l1bmp $lb148 $lm74v +l1bmp $lb152 $lm76v +l1bmp $lb156 $lm78v +l1bmp $lb160 $lm80v +l1bmp $lb164 $lm82v +l1bmp $lb168 $lm84v +l1bmp $lb172 $lm86v +l1bmp $lb176 $lm88v +l1bmp $lb180 $lm90v +l1bmp $lb184 $lm92v +l1bmp $lb188 $lm94v +l1bmp $lb192 $lm96v +l1bmp $lb196 $lm98v +l1bmp $lb200 $lm100v +l1bmp $lb204 $lm102v +l1bmp $lb208 $lm104v +l1bmp $lb212 $lm106v +l1bmp $lb216 $lm108v +l1bmp $lb220 $lm110v +l1bmp $lb224 $lm112v +l1bmp $lb228 $lm114v +l1bmp $lb232 $lm116v +l1bmp $lb236 $lm118v +l1bmp $lb240 $lm120v +l1bmp $lb244 $lm122v +l1bmp $lb248 $lm124v +l1bmp $lb252 $lm126v +l1bmp $lb256 $lm128v +l1bmp $lb260 $lm130v +l1bmp $lb264 $lm132v +l1bmp $lb268 $lm134v +l1bmp $lb272 $lm136v +l1bmp $lb276 $lm138v +l1bmp $lb280 $lm140v +l1bmp $lb284 $lm142v +l1bmp $lb288 $lm144v +l1bmp $lb292 $lm146v +l1bmp $lb296 $lm148v +l1bmp $lb300 $lm150v +l1bmp $lb304 $lm152v +l1bmp $lb308 $lm154v +l1bmp $lb312 $lm156v +l1bmp $lb316 $lm158v +l1bmp $lb320 $lm160v +l1bmp $lb324 $lm162v +l1bmp $lb328 $lm164v +l1bmp $lb332 $lm166v +l1bmp $lb336 $lm168v +l1bmp $lb340 $lm170v +l1bmp $lb344 $lm172v +l1bmp $lb348 $lm174v +l1bmp $lb352 $lm176v +l1bmp $lb356 $lm178v +l1bmp $lb360 $lm180v +l1bmp $lb364 $lm182v +l1bmp $lb368 $lm184v +l1bmp $lb372 $lm186v +l1bmp $lb376 $lm188v +l1bmp $lb380 $lm190v +l1bmp $lb384 $lm192v +l1bmp $lb388 $lm194v +l1bmp $lb392 $lm196v +l1bmp $lb396 $lm198v +l1bmp $lb400 $lm200v +l1bmp $lb404 $lm202v +l1bmp $lb408 $lm204v +l1bmp $lb412 $lm206v +l1bmp $lb416 $lm208v +l1bmp $lb420 $lm210v +l1bmp $lb424 $lm212v +l1bmp $lb428 $lm214v +l1bmp $lb432 $lm216v +l1bmp $lb436 $lm218v +l1bmp $lb440 $lm220v +l1bmp $lb444 $lm222v +l1bmp $lb448 $lm224v +l1bmp $lb452 $lm226v +l1bmp $lb456 $lm228v +l1bmp $lb460 $lm230v +l1bmp $lb464 $lm232v +l1bmp $lb468 $lm234v +l1bmp $lb472 $lm236v +l1bmp $lb476 $lm238v +l1bmp $lb480 $lm240v +l1bmp $lb484 $lm242v +l1bmp $lb488 $lm244v +l1bmp $lb492 $lm246v +l1bmp $lb496 $lm248v +l1bmp $lb500 $lm250v +l1bmp $lb504 $lm252v +l1bmp $lb508 $lm254v +l1bmp $lb512 $lm256v +l1bmp $lb516 $lm258v +l1bmp $lb520 $lm260v +l1bmp $lb524 $lm262v +l1bmp $lb528 $lm264v +l1bmp $lb532 $lm266v +l1bmp $lb536 $lm268v +l1bmp $lb540 $lm270v +l1bmp $lb544 $lm272v +l1bmp $lb548 $lm274v +l1bmp $lb552 $lm276v +l1bmp $lb556 $lm278v +l1bmp $lb560 $lm280v +l1bmp $lb564 $lm282v +l1bmp $lb568 $lm284v +l1bmp $lb572 $lm286v +l1bmp $lb576 $lm288v +l1bmp $lb580 $lm290v +l1bmp $lb584 $lm292v +l1bmp $lb588 $lm294v +l1bmp $lb592 $lm296v +l1bmp $lb596 $lm298v +l1bmp $lb600 $lm300v +l1bmp $lb604 $lm302v +l1bmp $lb608 $lm304v +l1bmp $lb612 $lm306v +l1bmp $lb616 $lm308v +l1bmp $lb620 $lm310v +l1bmp $lb624 $lm312v +l1bmp $lb628 $lm314v +l1bmp $lb632 $lm316v +l1bmp $lb636 $lm318v +l1bmp $lb640 $lm320v +l1bmp $lb644 $lm322v +l1bmp $lb648 $lm324v +l1bmp $lb652 $lm326v +l1bmp $lb656 $lm328v +l1bmp $lb660 $lm330v +l1bmp $lb664 $lm332v +l1bmp $lb668 $lm334v +l1bmp $lb672 $lm336v +l1bmp $lb676 $lm338v +l1bmp $lb680 $lm340v +l1bmp $lb684 $lm342v +l1bmp $lb688 $lm344v +l1bmp $lb692 $lm346v +l1bmp $lb696 $lm348v +l1bmp $lb700 $lm350v +l1bmp $lb704 $lm352v +l1bmp $lb708 $lm354v +l1bmp $lb712 $lm356v +l1bmp $lb716 $lm358v +l1bmp $lb720 $lm360v +l1bmp $lb724 $lm362v +l1bmp $lb728 $lm364v +l1bmp $lb732 $lm366v +l1bmp $lb736 $lm368v +l1bmp $lb740 $lm370v +l1bmp $lb744 $lm372v +l1bmp $lb748 $lm374v +l1bmp $lb752 $lm376v +l1bmp $lb756 $lm378v +l1bmp $lb760 $lm380v +l1bmp $lb764 $lm382v +l1bmp $lb768 $lm384v +l1bmp $lb772 $lm386v +l1bmp $lb776 $lm388v +l1bmp $lb780 $lm390v +l1bmp $lb784 $lm392v +l1bmp $lb788 $lm394v +l1bmp $lb792 $lm396v +l1bmp $lb796 $lm398v +l1bmp $lb800 $lm400v +l1bmp $lb804 $lm402v +l1bmp $lb808 $lm404v +l1bmp $lb812 $lm406v +l1bmp $lb816 $lm408v +l1bmp $lb820 $lm410v +l1bmp $lb824 $lm412v +l1bmp $lb828 $lm414v +l1bmp $lb832 $lm416v +l1bmp $lb836 $lm418v +l1bmp $lb840 $lm420v +l1bmp $lb844 $lm422v +l1bmp $lb848 $lm424v +l1bmp $lb852 $lm426v +l1bmp $lb856 $lm428v +l1bmp $lb860 $lm430v +l1bmp $lb864 $lm432v +l1bmp $lb868 $lm434v +l1bmp $lb872 $lm436v +l1bmp $lb876 $lm438v +l1bmp $lb880 $lm440v +l1bmp $lb884 $lm442v +l1bmp $lb888 $lm444v +l1bmp $lb892 $lm446v +l1bmp $lb896 $lm448v +l1bmp $lb900 $lm450v +l1bmp $lb904 $lm452v +l1bmp $lb908 $lm454v +l1bmp $lb912 $lm456v +l1bmp $lb916 $lm458v +l1bmp $lb920 $lm460v +l1bmp $lb924 $lm462v +l1bmp $lb928 $lm464v +l1bmp $lb932 $lm466v +l1bmp $lb936 $lm468v +l1bmp $lb940 $lm470v +l1bmp $lb944 $lm472v +l1bmp $lb948 $lm474v +l1bmp $lb952 $lm476v +l1bmp $lb956 $lm478v +l1bmp $lb960 $lm480v +l1bmp $lb964 $lm482v +l1bmp $lb968 $lm484v +l1bmp $lb972 $lm486v +l1bmp $lb976 $lm488v +l1bmp $lb980 $lm490v +l1bmp $lb984 $lm492v +l1bmp $lb988 $lm494v +l1bmp $lb992 $lm496v +l1bmp $lb996 $lm498v +l1bmp $lb1000 $lm500v +l1bmp $lb1004 $lm502v +l1bmp $lb1008 $lm504v +l1bmp $lb1012 $lm506v +l1bmp $lb1016 $lm508v +l1bmp $lb1020 $lm510v + +llsl $mabid $ls0 $t # mabid x 32 +nop -l1bmd+1 $lb0 $lm1024 -l1bmd+2 $lb0 $lm1024 -l1bmd+3 $lb0 $lm1024 -l1bmd+4 $lb0 $lm1024 -l1bmd+5 $lb0 $lm1024 -l1bmd+6 $lb0 $lm1024 -l1bmd+7 $lb0 $lm1024 -l1bmd+8 $lb0 $lm1024 -l1bmd+9 $lb0 $lm1024 -l1bmd+10 $lb0 $lm1024 -l1bmd+11 $lb0 $lm1024 -l1bmd+12 $lb0 $lm1024 -l1bmd+13 $lb0 $lm1024 -l1bmd+14 $lb0 $lm1024 -l1bmd+15 $lb0 $lm1024 +lpassa $llmt0v $lln0v +lpassa $llmt16v $lln16v -- cgit v1.2.3-70-g09d2