From 38c0832e6def60861c3be00f65de5115e649eabf Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 2 Sep 2024 00:31:13 +0900 Subject: 08-Lesseq --- problems/08-Lesseq/01.vsm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 problems/08-Lesseq/01.vsm (limited to 'problems') 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 -- cgit v1.2.3-70-g09d2