aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems/08-Lesseq/03.vsm
diff options
context:
space:
mode:
Diffstat (limited to 'problems/08-Lesseq/03.vsm')
-rw-r--r--problems/08-Lesseq/03.vsm16
1 files changed, 16 insertions, 0 deletions
diff --git a/problems/08-Lesseq/03.vsm b/problems/08-Lesseq/03.vsm
new file mode 100644
index 0000000..6247a77
--- /dev/null
+++ b/problems/08-Lesseq/03.vsm
@@ -0,0 +1,16 @@
+imm f"-1.0" $ls0v
+imm f"inf" $lr0v
+
+# (40 / 8).times do |i|
+# j = i * 8
+# puts "fvadd $lm#{j}v $ls0v $nowrite"
+# puts "frelu $mauf $lr0v $ln#{j}v"
+# puts
+# end
+
+fvadd $lm0v $ls0v $nowrite
+frelu $mauf $lr0v $ln0v; fvadd $lm8v $ls0v $nowrite
+frelu $mauf $lr0v $ln8v; fvadd $lm16v $ls0v $nowrite
+frelu $mauf $lr0v $ln16v; fvadd $lm24v $ls0v $nowrite
+frelu $mauf $lr0v $ln24v; fvadd $lm32v $ls0v $nowrite
+frelu $mauf $lr0v $ln32v