From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1984) id 6F17D3858D1E; Thu, 22 Feb 2024 15:32:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F17D3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708615950; bh=llhy3SLQiC6q7NNYRcK7CJGd52gvLml+6xhx/Wu94Cs=; h=From:To:Subject:Date:From; b=p5IBl8xVUD/fB+yqTzvCVwReq9MjWJAebCKf5R8Uj5p973Yviq3NuNpwJ4CSadjq9 /+yuevyEJFQuJwW0VUb0qQnupTZ3sRSP/OATlFOZza5K5NPeN/CKtiS9lSQCEqg/Vl rNMJvtGAjUtfLZ2pE0X5y3KP1yNOa4puxWrq4nGA= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Tamar Christina To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9137] AArch64: update vget_set_lane_1.c test output X-Act-Checkin: gcc X-Git-Author: Tamar Christina X-Git-Refname: refs/heads/master X-Git-Oldrev: c1667b1ef538e4da10cf83bdf1ae62d7bdd96128 X-Git-Newrev: 7d8585c0c0e5934780281abdee256ae6553e56e8 Message-Id: <20240222153230.6F17D3858D1E@sourceware.org> Date: Thu, 22 Feb 2024 15:32:30 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7d8585c0c0e5934780281abdee256ae6553e56e8 commit r14-9137-g7d8585c0c0e5934780281abdee256ae6553e56e8 Author: Tamar Christina Date: Thu Feb 22 15:32:08 2024 +0000 AArch64: update vget_set_lane_1.c test output In the vget_set_lane_1.c test the following entries now generate a zip1 instead of an INS BUILD_TEST (float32x2_t, float32x2_t, , , f32, 1, 0) BUILD_TEST (int32x2_t, int32x2_t, , , s32, 1, 0) BUILD_TEST (uint32x2_t, uint32x2_t, , , u32, 1, 0) This is because the non-Q variant for indices 0 and 1 are just shuffling values. There is no perf difference between INS SIMD to SIMD and ZIP on Arm uArches but preferring the INS alternative has a drawback on all uArches as ZIP being a three operand instruction can be used to tie the result to the return register whereas INS would require an fmov. As such just update the test file for now. gcc/testsuite/ChangeLog: PR target/112375 * gcc.target/aarch64/vget_set_lane_1.c: Update test output. Diff: --- gcc/testsuite/gcc.target/aarch64/vget_set_lane_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/vget_set_lane_1.c b/gcc/testsuite/gcc.target/aarch64/vget_set_lane_1.c index 07a77de31920..a3978f68e4ff 100644 --- a/gcc/testsuite/gcc.target/aarch64/vget_set_lane_1.c +++ b/gcc/testsuite/gcc.target/aarch64/vget_set_lane_1.c @@ -22,7 +22,7 @@ BUILD_TEST (uint16x4_t, uint16x4_t, , , u16, 3, 2) BUILD_TEST (float32x2_t, float32x2_t, , , f32, 1, 0) BUILD_TEST (int32x2_t, int32x2_t, , , s32, 1, 0) BUILD_TEST (uint32x2_t, uint32x2_t, , , u32, 1, 0) -/* { dg-final { scan-assembler-times "ins\\tv0.s\\\[1\\\], v1.s\\\[0\\\]" 3 } } */ +/* { dg-final { scan-assembler-times "zip1\\tv0.2s, v0.2s, v1.2s" 3 } } */ BUILD_TEST (poly8x8_t, poly8x16_t, , q, p8, 7, 15) BUILD_TEST (int8x8_t, int8x16_t, , q, s8, 7, 15)