From e16b9698298b2ec50d34b1ac31fdcbef65708f7b Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Sun, 5 Mar 2023 22:57:07 -0800 Subject: [PATCH] Make intrin_test go faster --- test/libc/intrin/intrin_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/libc/intrin/intrin_test.c b/test/libc/intrin/intrin_test.c index a23f2ce29..b522c9e0b 100644 --- a/test/libc/intrin/intrin_test.c +++ b/test/libc/intrin/intrin_test.c @@ -2127,7 +2127,7 @@ TEST(pext, fuzz) { TEST(palignr, fuzz) { int i, imm; int8_t x[16], y[16], a[16], b[16]; - for (i = 0; i < 1000; ++i) { + for (i = 0; i < 50; ++i) { for (imm = 0; imm < 32; ++imm) { RngSet(x, sizeof(x)); RngSet(y, sizeof(y)); @@ -2144,7 +2144,7 @@ TEST(palignr, fuzz) { TEST(shufps, fuzz) { int i, imm; char x[16], y[16], a[16], b[16]; - for (i = 0; i < 1000; ++i) { + for (i = 0; i < 20; ++i) { for (imm = 0; imm < 256; ++imm) { RngSet(x, sizeof(x)); RngSet(y, sizeof(y)); @@ -2161,7 +2161,7 @@ TEST(shufps, fuzz) { TEST(shufpd, fuzz) { int i, imm; char x[16], y[16], a[16], b[16]; - for (i = 0; i < 1000; ++i) { + for (i = 0; i < 20; ++i) { for (imm = 0; imm < 256; ++imm) { RngSet(x, sizeof(x)); RngSet(y, sizeof(y));