update tests to new comparisons
This commit is contained in:
parent
21d637efc8
commit
cfa285395e
11 changed files with 23 additions and 23 deletions
|
@ -3,14 +3,14 @@ function $test() {
|
|||
%x =w copy 3
|
||||
%n =w copy 2
|
||||
@loop
|
||||
%c =w ceq %n, 10000
|
||||
%c =w ceqw %n, 10000
|
||||
jnz %c, @end, @next
|
||||
@next
|
||||
%t =w copy 3
|
||||
%x =w add %x, 2
|
||||
@tloop
|
||||
%s =w mul %t, %t
|
||||
%c =w csgt %s, %x
|
||||
%c =w csgtw %s, %x
|
||||
jnz %c, @prime, @test
|
||||
@test
|
||||
%r =w rem %x, %t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue