From ace6105bf645a57901ab11b2685001eaa898153d Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 25 Jun 2024 22:30:56 -0400 Subject: [PATCH] =?UTF-8?q?Fixes=20for=20=E2=88=A7=CB=9D=CB=98=20and=20?= =?UTF-8?q?=E2=88=A8=CB=9D=CB=98=20on=20long=20rows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/singeli/src/fold.singeli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/singeli/src/fold.singeli b/src/singeli/src/fold.singeli index 8aada08d..3b68016f 100644 --- a/src/singeli/src/fold.singeli +++ b/src/singeli/src/fold.singeli @@ -309,7 +309,7 @@ fn or_rows_bit(xp:*u64, rp:*u64, n:usz, l:usz, op_and:u1) : void = { j = jn+1 } } else { - rx := -promote{u64, op_and}; id := ~rx + rx := -promote{u64, op_and} def fixout = ^{rx, .} o:u64 = 0 # Saved bits j:u64 = 0; @for (i to n) { @@ -318,7 +318,7 @@ fn or_rows_bit(xp:*u64, rp:*u64, n:usz, l:usz, op_and:u1) : void = { l := ~(u64~~0) << sh rb:u64 = 1 if ((o | (e &~ l)) == 0) { # Search for shortcut - @for (i from j to jn-1) if (load{xp,i} != id) goto{'found'} + @for (i from j to jn) if (load{xp,i} != rx) goto{'found'} rb = 0; setlabel{'found'} } o = e & l