From patchwork Sat May 2 22:45:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 186075 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp2288908ilf; Sat, 2 May 2020 15:53:45 -0700 (PDT) X-Google-Smtp-Source: APiQypK9rzs6Zsmc8Ms5hbJkcvdDoFWOsinr5AbHcmxPFXOZ7y2tDNY/gjatvAbJ11S6CSuOEsJf X-Received: by 2002:aed:31c7:: with SMTP id 65mr10791679qth.150.1588460025775; Sat, 02 May 2020 15:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588460025; cv=none; d=google.com; s=arc-20160816; b=yn7p/jiu4jjeSBrA2mVL2LI+McNiCnfdMzVnl6HDLotginLd4ZBnPsHTmL/4ZsVJZk gCYbI/XjX7MU0P7svmD01o2e39tsf/l5P2DJXezV83DvTBSOnA6dmdrl+1Zv9ujnzdA7 TvtYrPe4nJTnIG5WXvg2gs19PgNO4fkGvLJiOzpJ7YzpyA6pJDUF7ySL/sL9Y3zBziqp IJ9qr4/Z/Sx7lbkfFhG9U5gAKMV5g5MDPGTxyN5ta5zLxs9b/pSKCmEHB/dZY/4WoE54 JSyKF45oZmf2z6AMTL8M7xqNAM3rYULukw2m9TUekcaN8r56DkYezPDwNyFias+UU5CI zDGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Satlmvku/pHGor6xmZAkPC5FD5Q8goGXCeVbGvbx+tw=; b=YTdGOgNmaN4+8XOaryNXOnv9lkC4fFsnFIh7bdYM5L15OEiSUwUmkY2McKNiZ3qWJq 1vaXaYlrqoQQIZcJRojMjaX+GXWrSu+NF0xj5YvkJPRBc1X8eldWdYSboDu5ZZNuNDdn bvujKiM+xJnKUqg+NluabvjH23L3SHMJeMtXJ+sK2AlWW822t0IE9/SNPTwrjAyb5AJW JlXLV56JS5s2nI6zmKEQNEWXESU4zwsB504cBTtkwT6JCb9Q2K2cY/WxphwWN8E/ZYH7 78gGGh6jYLk/cUcA9C8IWqbF2WAosrINmhawJvfiJK/yErZnmXyBY/4ZvYsB2Y8yQezf e3Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nPHy5yfg; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:470:142::17]) by mx.google.com with ESMTPS id s6si4124566qkg.9.2020.05.02.15.53.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 May 2020 15:53:45 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) client-ip=2001:470:142::17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nPHy5yfg; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV10z-00038U-9v for patch@linaro.org; Sat, 02 May 2020 18:53:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV0sx-0003LC-5d for qemu-devel@nongnu.org; Sat, 02 May 2020 18:45:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV0sw-0004qV-He for qemu-devel@nongnu.org; Sat, 02 May 2020 18:45:26 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:39404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV0sw-0004pl-2k for qemu-devel@nongnu.org; Sat, 02 May 2020 18:45:26 -0400 Received: by mail-pj1-x1042.google.com with SMTP id e6so1858710pjt.4 for ; Sat, 02 May 2020 15:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Satlmvku/pHGor6xmZAkPC5FD5Q8goGXCeVbGvbx+tw=; b=nPHy5yfgpXDeN1+IM6iWDH2PgfvnaDOJFAbwk0MFJFhcUueKwuPRKjUQT5W1cYzR3d 0lUaiCKwbxW2ExeOF/9qs+rjALx6OC7xcCAl78N5Hau9wkC6PjjKTg3FuV62iRsUmMeJ BWHEJo85iVCEakK7zngz70NX/YzDtX+PQiu1SzxId6zIpofao814ePS+RIC/5LMvrczT QkugSengw/EOT/9LF3kRvXWN2epJ7+EcSQi26ZzOOHqHJaFTy8x+GHYFvb/LTQQxsNLZ EtM2RZG/uDksS+SqTk+P7A0blWkrva9mkfUoSqdtomzNI4DFUF1DBKMF/Um5baj3h+cJ nSkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Satlmvku/pHGor6xmZAkPC5FD5Q8goGXCeVbGvbx+tw=; b=qOar6Rfl0VH2bCDqyOutkz2/HrmpzrU6Q/VDstX5tOGOKDtScf7pTqvwxE3krZFv6R CJGNdHcyxAzkFagkwxMtKHnRBG2dfNzV2VyFtsrsXdcQ4hrRdEhl7IYKl877Wd/J7TvH Dl07+Ffu+DJ/ztsv8hi/9o8k23iYIw9Q0Pr3nfYWbReKkBzS8U2HMcr+UabQMR096mYw TotZpjiOKqkCZ0NdbWNu4KdhjEBULtKrNJln92AJkKg3XddTwO/dXItK2WYgNMogSFL4 IOFJjVeVQGEvKhkbNUcfljV1UyE5H9HX33ytqUn63rE55rVIfDrG6WqLWi4ZuuC2NFO9 JUlg== X-Gm-Message-State: AGi0PuYMoI6ZssjcoftPbAYq1Bo503SQCF0NiqbqBJR3hqmS7dP+E8GX McVsah0SBW2t+ccpp1PJEoMIU1xlwsc= X-Received: by 2002:a17:902:8608:: with SMTP id f8mr11222779plo.110.1588459524389; Sat, 02 May 2020 15:45:24 -0700 (PDT) Received: from localhost.localdomain (174-21-149-226.tukw.qwest.net. [174.21.149.226]) by smtp.gmail.com with ESMTPSA id h5sm2956182pjv.4.2020.05.02.15.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 15:45:23 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 13/15] target/arm: Clear tail in gvec_fmul_idx_*, gvec_fmla_idx_* Date: Sat, 2 May 2020 15:45:01 -0700 Message-Id: <20200502224503.2282-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200502224503.2282-1-richard.henderson@linaro.org> References: <20200502224503.2282-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1042; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1042.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::1042 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Must clear the tail for AdvSIMD when SVE is enabled. Fixes: ca40a6e6e39 Signed-off-by: Richard Henderson --- target/arm/vec_helper.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 diff --git a/target/arm/vec_helper.c b/target/arm/vec_helper.c index 6aa2ca0827..a483841add 100644 --- a/target/arm/vec_helper.c +++ b/target/arm/vec_helper.c @@ -747,6 +747,7 @@ void HELPER(NAME)(void *vd, void *vn, void *vm, void *stat, uint32_t desc) \ d[i + j] = TYPE##_mul(n[i + j], mm, stat); \ } \ } \ + clear_tail(d, oprsz, simd_maxsz(desc)); \ } DO_MUL_IDX(gvec_fmul_idx_h, float16, H2) @@ -771,6 +772,7 @@ void HELPER(NAME)(void *vd, void *vn, void *vm, void *va, \ mm, a[i + j], 0, stat); \ } \ } \ + clear_tail(d, oprsz, simd_maxsz(desc)); \ } DO_FMLA_IDX(gvec_fmla_idx_h, float16, H2)