Skip to content

Commit

Permalink
Remove repeated be instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Apr 30, 2024
1 parent 1fa6db6 commit 5358965
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tests/exercise_instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,6 @@ fn fuzz_alu() {
test_ins(true, format!("neg64 r{src}"), &mut prng, 21);
test_ins(true, format!("neg32 r{src}"), &mut prng, 21);

test_ins(true, format!("le16 r{src}"), &mut prng, 21);
test_ins(true, format!("le32 r{src}"), &mut prng, 21);
test_ins(true, format!("le64 r{src}"), &mut prng, 21);
test_ins(true, format!("be16 r{src}"), &mut prng, 21);
test_ins(true, format!("be32 r{src}"), &mut prng, 21);
test_ins(true, format!("be64 r{src}"), &mut prng, 21);

test_ins(true, format!("mul64 r{src}, {imm}"), &mut prng, 21);
test_ins(true, format!("mod64 r{src}, {imm}"), &mut prng, 21);
test_ins(true, format!("div64 r{src}, {imm}"), &mut prng, 21);
Expand Down Expand Up @@ -507,6 +500,10 @@ fn fuzz_alu() {
test_ins(false, format!("be64 r{src}"), &mut prng, 21);
test_ins(false, format!("be32 r{src}"), &mut prng, 21);
test_ins(false, format!("be16 r{src}"), &mut prng, 21);

test_ins(true, format!("le64 r{src}"), &mut prng, 21);
test_ins(true, format!("le32 r{src}"), &mut prng, 21);
test_ins(true, format!("le16 r{src}"), &mut prng, 21);
}
}
}
Expand Down

0 comments on commit 5358965

Please sign in to comment.