From 1ebaf6e93d2389eebf957a0bf9e55d87cbc4e1c2 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Fri, 16 Feb 2024 13:08:03 +0100 Subject: [PATCH] linux arm regtest: fix test and stdout expected The three diffs that I noticed earlier were really due to typos in the testcase. They should have been using d0 d1 d2 d3 but instead were using d0 d1 d2 d4. --- none/tests/arm/neon64.c | 6 +++--- none/tests/arm/neon64.stdout.exp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/none/tests/arm/neon64.c b/none/tests/arm/neon64.c index 702b2d8279..2b1dba8ffc 100644 --- a/none/tests/arm/neon64.c +++ b/none/tests/arm/neon64.c @@ -2070,7 +2070,7 @@ int main(int argc, char **argv) fflush(stdout); printf("---- VST4 (single 4-element structure from one lane) ----\n"); TESTINSN_VSTn("vst4.32 {d0[0],d1[0],d2[0],d3[0]}", d0, d1, d2, d3); - TESTINSN_VSTn("vst4.32 {d0[1],d1[1],d2[1],d3[1]}", d0, d1, d2, d4); + TESTINSN_VSTn("vst4.32 {d0[1],d1[1],d2[1],d3[1]}", d0, d1, d2, d3); TESTINSN_VSTn("vst4.32 {d0[0],d2[0],d4[0],d6[0]}", d0, d2, d4, d6); TESTINSN_VSTn("vst4.32 {d0[1],d2[1],d4[1],d6[1]}", d0, d2, d4, d6); TESTINSN_VSTn("vst4.16 {d1[0],d2[0],d3[0],d4[0]}", d1, d2, d3, d4); @@ -2396,7 +2396,7 @@ int main(int argc, char **argv) fflush(stdout); printf("---- VST4 (single 4-element structure from one lane) ----\n"); TESTINSN_VSTn_WB("vst4.32 {d0[0],d1[0],d2[0],d3[0]}", d0, d1, d2, d3); - TESTINSN_VSTn_WB("vst4.32 {d0[1],d1[1],d2[1],d3[1]}", d0, d1, d2, d4); + TESTINSN_VSTn_WB("vst4.32 {d0[1],d1[1],d2[1],d3[1]}", d0, d1, d2, d3); TESTINSN_VSTn_WB("vst4.32 {d0[0],d2[0],d4[0],d6[0]}", d0, d2, d4, d6); TESTINSN_VSTn_WB("vst4.32 {d0[1],d2[1],d4[1],d6[1]}", d0, d2, d4, d6); TESTINSN_VSTn_WB("vst4.16 {d1[0],d2[0],d3[0],d4[0]}", d1, d2, d3, d4); @@ -2722,7 +2722,7 @@ int main(int argc, char **argv) fflush(stdout); printf("---- VST4 (single 4-element structure from one lane) ----\n"); TESTINSN_VSTn_RI("vst4.32 {d0[0],d1[0],d2[0],d3[0]}", d0, d1, d2, d3, r5, 13); - TESTINSN_VSTn_RI("vst4.32 {d0[1],d1[1],d2[1],d3[1]}", d0, d1, d2, d4, r9, 42); + TESTINSN_VSTn_RI("vst4.32 {d0[1],d1[1],d2[1],d3[1]}", d0, d1, d2, d3, r9, 42); TESTINSN_VSTn_RI("vst4.32 {d0[0],d2[0],d4[0],d6[0]}", d0, d2, d4, d6, r1, 0); TESTINSN_VSTn_RI("vst4.32 {d0[1],d2[1],d4[1],d6[1]}", d0, d2, d4, d6, r5, -3); TESTINSN_VSTn_RI("vst4.16 {d1[0],d2[0],d3[0],d4[0]}", d1, d2, d3, d4, r5, 13); diff --git a/none/tests/arm/neon64.stdout.exp b/none/tests/arm/neon64.stdout.exp index 1ef3052b01..21ab6b7a36 100644 --- a/none/tests/arm/neon64.stdout.exp +++ b/none/tests/arm/neon64.stdout.exp @@ -2235,7 +2235,7 @@ vst4.16 {d1,d3,d5,d7} :: Result 19181110'09080100 1b1a1312'0b0a0302 1d1c1514'0d0 vst4.32 {d20,d22,d24,d26} :: Result 0b0a0908'03020100 1b1a1918'13121110 0f0e0d0c'07060504 1f1e1d1c'17161514 delta 0 ---- VST4 (single 4-element structure from one lane) ---- vst4.32 {d0[0],d1[0],d2[0],d3[0]} :: Result 0b0a0908'03020100 1b1a1918'13121110 55555555'55555555 55555555'55555555 delta 0 -vst4.32 {d0[1],d1[1],d2[1],d3[1]} :: Result 0f0e0d0c'07060504 55555555'17161514 55555555'55555555 55555555'55555555 delta 0 +vst4.32 {d0[1],d1[1],d2[1],d3[1]} :: Result 0f0e0d0c'07060504 1f1e1d1c'17161514 55555555'55555555 55555555'55555555 delta 0 vst4.32 {d0[0],d2[0],d4[0],d6[0]} :: Result 0b0a0908'03020100 1b1a1918'13121110 55555555'55555555 55555555'55555555 delta 0 vst4.32 {d0[1],d2[1],d4[1],d6[1]} :: Result 0f0e0d0c'07060504 1f1e1d1c'17161514 55555555'55555555 55555555'55555555 delta 0 vst4.16 {d1[0],d2[0],d3[0],d4[0]} :: Result 19181110'09080100 55555555'55555555 55555555'55555555 55555555'55555555 delta 0 @@ -2521,7 +2521,7 @@ vst4.16 {d1,d3,d5,d7} :: Result 0x09080100 0x19181110 0x0b0a0302 0x1b1a1312 0x0d vst4.32 {d20,d22,d24,d26} :: Result 0x03020100 0x0b0a0908 0x13121110 0x1b1a1918 0x07060504 0x0f0e0d0c 0x17161514 0x1f1e1d1c delta 32 ---- VST4 (single 4-element structure from one lane) ---- vst4.32 {d0[0],d1[0],d2[0],d3[0]} :: Result 0x03020100 0x0b0a0908 0x13121110 0x1b1a1918 0x55555555 0x55555555 0x55555555 0x55555555 delta 16 -vst4.32 {d0[1],d1[1],d2[1],d3[1]} :: Result 0x07060504 0x0f0e0d0c 0x17161514 0x55555555 0x55555555 0x55555555 0x55555555 0x55555555 delta 16 +vst4.32 {d0[1],d1[1],d2[1],d3[1]} :: Result 0x07060504 0x0f0e0d0c 0x17161514 0x1f1e1d1c 0x55555555 0x55555555 0x55555555 0x55555555 delta 16 vst4.32 {d0[0],d2[0],d4[0],d6[0]} :: Result 0x03020100 0x0b0a0908 0x13121110 0x1b1a1918 0x55555555 0x55555555 0x55555555 0x55555555 delta 16 vst4.32 {d0[1],d2[1],d4[1],d6[1]} :: Result 0x07060504 0x0f0e0d0c 0x17161514 0x1f1e1d1c 0x55555555 0x55555555 0x55555555 0x55555555 delta 16 vst4.16 {d1[0],d2[0],d3[0],d4[0]} :: Result 0x09080100 0x19181110 0x55555555 0x55555555 0x55555555 0x55555555 0x55555555 0x55555555 delta 8 @@ -2807,7 +2807,7 @@ vst4.16 {d1,d3,d5,d7} :: Result 0x09080100 0x19181110 0x0b0a0302 0x1b1a1312 0x0d vst4.32 {d20,d22,d24,d26} :: Result 0x03020100 0x0b0a0908 0x13121110 0x1b1a1918 0x07060504 0x0f0e0d0c 0x17161514 0x1f1e1d1c delta 13 ---- VST4 (single 4-element structure from one lane) ---- vst4.32 {d0[0],d1[0],d2[0],d3[0]} :: Result 0x03020100 0x0b0a0908 0x13121110 0x1b1a1918 0x55555555 0x55555555 0x55555555 0x55555555 delta 13 -vst4.32 {d0[1],d1[1],d2[1],d3[1]} :: Result 0x07060504 0x0f0e0d0c 0x17161514 0x55555555 0x55555555 0x55555555 0x55555555 0x55555555 delta 42 +vst4.32 {d0[1],d1[1],d2[1],d3[1]} :: Result 0x07060504 0x0f0e0d0c 0x17161514 0x1f1e1d1c 0x55555555 0x55555555 0x55555555 0x55555555 delta 42 vst4.32 {d0[0],d2[0],d4[0],d6[0]} :: Result 0x03020100 0x0b0a0908 0x13121110 0x1b1a1918 0x55555555 0x55555555 0x55555555 0x55555555 delta 0 vst4.32 {d0[1],d2[1],d4[1],d6[1]} :: Result 0x07060504 0x0f0e0d0c 0x17161514 0x1f1e1d1c 0x55555555 0x55555555 0x55555555 0x55555555 delta -3 vst4.16 {d1[0],d2[0],d3[0],d4[0]} :: Result 0x09080100 0x19181110 0x55555555 0x55555555 0x55555555 0x55555555 0x55555555 0x55555555 delta 13 -- 2.39.5