aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems/14-Matrix-Square
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-09-18 02:08:18 +0900
committernsfisis <nsfisis@gmail.com>2024-09-18 03:08:03 +0900
commitbb75ec16b1400a865b9fb6c2bc4c45db3ef3f550 (patch)
tree9aac18b8cefd8d10b03a81ba2e496fbe4d1e94b4 /problems/14-Matrix-Square
parenta1c757a9078d1792e5e88269175a4c85c7a5471f (diff)
downloadmncore-challenge-bb75ec16b1400a865b9fb6c2bc4c45db3ef3f550.tar.gz
mncore-challenge-bb75ec16b1400a865b9fb6c2bc4c45db3ef3f550.tar.zst
mncore-challenge-bb75ec16b1400a865b9fb6c2bc4c45db3ef3f550.zip
14-Matrix-Square
Diffstat (limited to 'problems/14-Matrix-Square')
-rw-r--r--problems/14-Matrix-Square/03.vsm10
1 files changed, 10 insertions, 0 deletions
diff --git a/problems/14-Matrix-Square/03.vsm b/problems/14-Matrix-Square/03.vsm
new file mode 100644
index 0000000..17bcd35
--- /dev/null
+++ b/problems/14-Matrix-Square/03.vsm
@@ -0,0 +1,10 @@
+hmwrite $llm0vr $ly0; hbfn/9 $llm0vr $lr0v
+hmwrite $llm16vr $ly4; hbfn/9 $llm16vr $lr8v
+hmwrite $llm32vr $ly8; hbfn/9 $llm32vr $lr16v
+hmwrite $llm48vr $ly12; hbfn/9 $llm48vr $lr24v
+hmread $lly0 $nowrite; hmwrite $llr0v $llx0
+hmread $lly8 $nowrite; hbfn/9 $mreadf $lls0v; hmwrite $llr16v $llx8
+hmmul $lx $aluf $lln0v8; hbfn/9 $mreadf $llr0v
+hmmul $lx $aluf $lln32v8
+hmmul $lx $ls2v4 $lln4v8
+hmmul $lx $lr2v4 $lln36v8