aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-09-02 00:24:36 +0900
committernsfisis <nsfisis@gmail.com>2024-09-02 00:24:36 +0900
commit18b12d538dd69a3fb747b39c278e3a1b364ee5a2 (patch)
tree6a44348b0f11bb00a784b1abb9e2562eee69b062 /problems
parentc329921469352d3028b2ddf94486a3972c7f27d1 (diff)
downloadmncore-challenge-18b12d538dd69a3fb747b39c278e3a1b364ee5a2.tar.gz
mncore-challenge-18b12d538dd69a3fb747b39c278e3a1b364ee5a2.tar.zst
mncore-challenge-18b12d538dd69a3fb747b39c278e3a1b364ee5a2.zip
07-FMul-2
Diffstat (limited to 'problems')
-rw-r--r--problems/07-FMul-2/01.vsm20
1 files changed, 20 insertions, 0 deletions
diff --git a/problems/07-FMul-2/01.vsm b/problems/07-FMul-2/01.vsm
new file mode 100644
index 0000000..0279634
--- /dev/null
+++ b/problems/07-FMul-2/01.vsm
@@ -0,0 +1,20 @@
+imm h"2.0" $ls0v
+
+# (96 / 8).times do |i|
+# j = i * 8
+# puts "hvmulr $lm#{j}v $ls0v $ln#{j}v"
+# end
+
+# hvmulr $lm0v $ls0v $ln0v
+hvmulr $lm0v $aluf $ln0v
+hvmulr $lm8v $ls0v $ln8v
+hvmulr $lm16v $ls0v $ln16v
+hvmulr $lm24v $ls0v $ln24v
+hvmulr $lm32v $ls0v $ln32v
+hvmulr $lm40v $ls0v $ln40v
+hvmulr $lm48v $ls0v $ln48v
+hvmulr $lm56v $ls0v $ln56v
+hvmulr $lm64v $ls0v $ln64v
+hvmulr $lm72v $ls0v $ln72v
+hvmulr $lm80v $ls0v $ln80v
+hvmulr $lm88v $ls0v $ln88v