Skip to content

Commit

Permalink
[apps] Fix vrgather vcompress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Nov 27, 2024
1 parent 4cc5492 commit edea796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/riscv-tests/isa/rv64uv/vcompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void TEST_CASE2() {
5, 6, 7, 8,
9, 10, 11, 12,
13, 14, 15, 16);
VLOAD_8(v0, 0b10111100, 0b10111111, 0, 0, 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0);
VLOAD_8(v0, 0b10111100, 0b10111111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
VCLEAR(v2);
asm volatile("vcompress.vm v2, v4, v0");
VCMP_U8(2, v2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 16, 0, 0, 0, 0);
Expand Down
2 changes: 1 addition & 1 deletion apps/riscv-tests/isa/rv64uv/vrgather.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void TEST_CASE2() {
VLOAD_8(v0, 26, 0, 0, 0, 0);
VCLEAR(v2);
asm volatile("vrgather.vv v2, v4, v6, v0.t");
VCMP_U8(5, v2, 0, 10, 0, 40, 30); VSET(256, e32, m4);
VCMP_U8(5, v2, 0, 10, 0, 40, 30);

VSET(1, e64, m4);
VLOAD_64(v0, -1);
Expand Down

0 comments on commit edea796

Please sign in to comment.