diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-09-19 23:13:08 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-09-19 23:13:30 +0900 |
| commit | cc170e93f6092a81d1fcafe54f0ce13ea76a678b (patch) | |
| tree | 80084f8101fda3e20860c5530f120b020d66b723 /problems/18-Inversion-Small/02.vsm | |
| parent | e803719bd220a0449a06c29d798ffa0d2a226ef2 (diff) | |
| download | mncore-challenge-cc170e93f6092a81d1fcafe54f0ce13ea76a678b.tar.gz mncore-challenge-cc170e93f6092a81d1fcafe54f0ce13ea76a678b.tar.zst mncore-challenge-cc170e93f6092a81d1fcafe54f0ce13ea76a678b.zip | |
18-Inversion-Small
Diffstat (limited to 'problems/18-Inversion-Small/02.vsm')
| -rw-r--r-- | problems/18-Inversion-Small/02.vsm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/problems/18-Inversion-Small/02.vsm b/problems/18-Inversion-Small/02.vsm index 4a1c10e..641ff18 100644 --- a/problems/18-Inversion-Small/02.vsm +++ b/problems/18-Inversion-Small/02.vsm @@ -1,7 +1,7 @@ # $ls[0:32] = k -# $ls[32:64] = j < k -# $lr[0:32] = A[j] > A[k] -# $lr[0:32] = (j < k) and (A[j] > A[k]) +# $ls[32:64] = j >= k +# $lr[0:32] = A[j] < A[k] +# $lr[0:32] = (j >= k) and (A[j] < A[k]) imm i"1" $s3/1000 imm i"2" $s5/1000 imm i"3" $s7/1000 @@ -39,7 +39,7 @@ llnot $lr8v $lr8v llnot $lr16v $lr16v llnot $lr24v $lr24v -# d getd $ls0n0c0b0p0 16 +# d getd $ls32n0c0b0p0 16 # d getd $lr0n0c0b0p0 16 # 4.times { |i| puts "land $ls#{32+i*8}v $lr#{i*8}v $lr#{i*8}v" } |
