From 7864100b2488b137deb28784ec1845a87d0cce16 Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Sat, 9 Nov 2024 15:18:52 +0100 Subject: [PATCH] viota_tests --- apps/riscv-tests/isa/rv64uv/viota.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/riscv-tests/isa/rv64uv/viota.c b/apps/riscv-tests/isa/rv64uv/viota.c index 0f8fc503b..b56177212 100644 --- a/apps/riscv-tests/isa/rv64uv/viota.c +++ b/apps/riscv-tests/isa/rv64uv/viota.c @@ -81,7 +81,7 @@ void TEST_CASE2() { VSET(77, e8, m4); VCLEAR(v4); asm volatile("viota.m v4, v8, v0.t"); - VCMP_U8(9, v4, 0, 0, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 13, 14, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 24, 25, 26, 26, 26, 26, 27, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 0); + VCMP_U8(11, v4, 0, 0, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 13, 14, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 24, 25, 26, 26, 26, 26, 27, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 0); VSET(5, e16, m1); VLOAD_16(v8, 0b0000011100001110, 0b0100101100010000, 0b0111110100110100, 0b0001100011001100, 0b0001010001000111); @@ -90,7 +90,7 @@ void TEST_CASE2() { VSET(77, e8, m4); VCLEAR(v4); asm volatile("viota.m v4, v8, v0.t"); - VCMP_U8(9, v4, 0, 0, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 13, 14, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 24, 25, 26, 26, 26, 26, 27, 28, 29, 29, 29, 29, 30, 30, 30, 0, 30, 0); + VCMP_U8(12, v4, 0, 0, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 13, 14, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 24, 25, 26, 26, 26, 26, 27, 28, 29, 29, 29, 29, 30, 30, 30, 0, 30, 0); VSET(5, e16, m1); VLOAD_16(v8, 0b0000011100001110, 0b0100101100010000, 0b0111110100110100, 0b0001100011001100, 0b0001010001000111); @@ -98,7 +98,7 @@ void TEST_CASE2() { VLOAD_8(v0, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111, 0b11111111); VSET(77, e8, m4); asm volatile("viota.m v4, v8, v0.t"); - VCMP_U8(9, v4, 0, 0, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 13, 14, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 24, 25, 26, 26, 26, 26, 27, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 31); + VCMP_U8(13, v4, 0, 0, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 13, 14, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 24, 25, 26, 26, 26, 26, 27, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 31); } int main(void) {