diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-09-02 00:31:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-09-02 00:31:13 +0900 |
| commit | 38c0832e6def60861c3be00f65de5115e649eabf (patch) | |
| tree | a36e9c7ea8a3df745d7ae768806cd08cb8840eba /problems | |
| parent | 18b12d538dd69a3fb747b39c278e3a1b364ee5a2 (diff) | |
| download | mncore-challenge-38c0832e6def60861c3be00f65de5115e649eabf.tar.gz mncore-challenge-38c0832e6def60861c3be00f65de5115e649eabf.tar.zst mncore-challenge-38c0832e6def60861c3be00f65de5115e649eabf.zip | |
08-Lesseq
Diffstat (limited to 'problems')
| -rw-r--r-- | problems/08-Lesseq/01.vsm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/problems/08-Lesseq/01.vsm b/problems/08-Lesseq/01.vsm new file mode 100644 index 0000000..10e60da --- /dev/null +++ b/problems/08-Lesseq/01.vsm @@ -0,0 +1,25 @@ +imm f"-1.0" $ls0v +# nop + +# (40 / 8).times do |i| +# j = i * 8 +# puts "fvadd $lm#{j}v $ls0v $omr1" +# puts "imm f"inf" $ln#{j}v/$imr1" +# puts +# end + +# fvadd $lm0v $ls0v $omr1 +fvadd $lm0v $aluf $omr1 +imm f"inf" $ln0v/$imr1 + +fvadd $lm8v $ls0v $omr1 +imm f"inf" $ln8v/$imr1 + +fvadd $lm16v $ls0v $omr1 +imm f"inf" $ln16v/$imr1 + +fvadd $lm24v $ls0v $omr1 +imm f"inf" $ln24v/$imr1 + +fvadd $lm32v $ls0v $omr1 +imm f"inf" $ln32v/$imr1 |
