aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems/14-Matrix-Square/03.vsm
diff options
context:
space:
mode:
Diffstat (limited to 'problems/14-Matrix-Square/03.vsm')
-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