From patchwork Sat Feb 9 03:38:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 157912 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp242581jaa; Fri, 8 Feb 2019 19:48:15 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia8vOIxmVCtr7Ss0OqyR+daI4HOKKWvFfyGkaHy4727cL0uO271OBhsxO81tkXQdAkktpKr X-Received: by 2002:a5d:6810:: with SMTP id w16mr2710207wru.62.1549684095773; Fri, 08 Feb 2019 19:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549684095; cv=none; d=google.com; s=arc-20160816; b=ZkVQyBc1LuhRfch/dH1vHw1uIoB0xu/KJCQd8LXHbWNY2w60mQdci18kzzumbCfAD+ isSkTGPIbdqIzIaISh5W1NDLK4kbTBgQY5onV1PHyDySI9U4+Epw6GAveBo73+4Vdkyb WMx3l7o4+qWmotoAEWygEbv5lL3OOGep/ZZvlcznuQrJNsa7U0Jxh6maB134imifrIOa NoCUYwbrTbXWqGMQiZybzjc2lGCW46XXbb1lL7/GcWGCB+YSX0CYYbmpBmsEHzxatil+ QqQ1lcL6Ts6AoJnlDWOX/3c//WMQzqrnHqY6KliPLKq0DLPO/GHZtXFejGbwf+ngzCxo MjYA== 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:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=kQWArjQHskJ/tjeNnuX4QiSXd8geE+U1rcDuP7WV9uc=; b=OHFmSxrVH34Y5XLlwfo6VqUdTFJX9lrlQNm6GSqliwTMQkDetUHAK0GJEwpKiMg2Im Te1yc5zTZHv460D8bSCWwtVMvOqd5XFHG/2lsY9q8Ew1u8DHY8FKS8iN4lKTNZdeB6W1 eyjS0dpFk5ANHYpEDFytVKcHoYVbaBf03Wqwkb06kuNPi4cLjM0ZZDVWnIJfpep+Cs7A czcquUku471hFEZQODxYTwCTZd9JsPHTie/XJT0of4rm+n7cC0+nau8HBRDHAJKZs5p4 oCYxWQhDxbrlIQCx43PAtmGF66Dn6+DECQ07zsRBokWaJ2+XTwslhPBz3CRWYIZUl2IK Gg1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=luQxjNXv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u185si3051211wmg.131.2019.02.08.19.48.15 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Feb 2019 19:48:15 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=luQxjNXv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:39155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsJck-0004lP-R3 for patch@linaro.org; Fri, 08 Feb 2019 22:48:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsJUd-0007T7-62 for qemu-devel@nongnu.org; Fri, 08 Feb 2019 22:39:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsJUc-0000l3-Hl for qemu-devel@nongnu.org; Fri, 08 Feb 2019 22:39:51 -0500 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:40942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsJUZ-0000XT-A0 for qemu-devel@nongnu.org; Fri, 08 Feb 2019 22:39:49 -0500 Received: by mail-pg1-x52d.google.com with SMTP id z10so2416782pgp.7 for ; Fri, 08 Feb 2019 19:39:10 -0800 (PST) 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; bh=kQWArjQHskJ/tjeNnuX4QiSXd8geE+U1rcDuP7WV9uc=; b=luQxjNXvFA02lvS0818nQYhdZ9qfh2NSb0ihpYh7aDMrOD+VPLSGLqYvXhyXVGCnNq vhG24FX+1NhKcgT1eJVsfOoj+GfOCXH0C+8GceCitiQ0nm9t2uP4GZPdn0LQt4T8f2dU QzndpLSv7NWP27GcJTkFJhjkOZvSX2l1uop8hwAs0xsPABJiy4cQB/91zygkaKbi8wCp 4A/wyXE1ze0/jMjRYqhbqJbwNhx6FNIUlh8Do1wT6SBTKf3T1AU/oUMZ8Je1bbQYncOX PItG55fx/SJScRnWT/HZjlJW5PLdIGW23ikXNdjrNf2c+iXcwglmatiTV9NvKQNtPqER bbyg== 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; bh=kQWArjQHskJ/tjeNnuX4QiSXd8geE+U1rcDuP7WV9uc=; b=n3c/zlNdePNziFQaafPTBHBEXKiXXujVdtxdAV/Ovz5N78zSnUo6h6Vlm2ilyHe7F3 BBfONiDTG66c/qa4vCTewrRB2toHEIF4jrAIEh/6mtnBAQqc/QktRggOAqL6pHPqpZs0 I6PdRYixsWoNyn5N0VTCt2H8WJ6N//Yvb+PXKqmZAZCwjhuBp2WPYUufZVxkDzCDOYpo zRnwQuQViylPxvQHmbjqRw+HEhwLSKUfn3vBirCoTGdcAv4e0eMBkBpFhWAK/q6DAG3u u2qwtIL20PryIwqfatjvfnXVjUL40e7jtv/fGKdWmvtV5Ezf6QIOo4pNWIbQHaCJKI3V 3hMw== X-Gm-Message-State: AHQUAub5Y2To2lNLmPsysAzYwgNVqbTnWqwH9isC3TXGfHvPxf/euscu aL9749S9nu0h+FyoQjHEJu2I9S/KW0E= X-Received: by 2002:a63:484c:: with SMTP id x12mr23630289pgk.375.1549683548952; Fri, 08 Feb 2019 19:39:08 -0800 (PST) Received: from cloudburst.twiddle.net (97-126-115-157.tukw.qwest.net. [97.126.115.157]) by smtp.gmail.com with ESMTPSA id s84sm6340737pfi.15.2019.02.08.19.39.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 19:39:08 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 8 Feb 2019 19:38:47 -0800 Message-Id: <20190209033847.9014-13-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190209033847.9014-1-richard.henderson@linaro.org> References: <20190209033847.9014-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52d Subject: [Qemu-devel] [PATCH v3 12/12] target/arm: Add missing clear_tail calls X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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" Fortunately, the functions affected are so far only called from SVE, so there is no tail to be cleared. But as we convert more of AdvSIMD to gvec, this will matter. Signed-off-by: Richard Henderson --- target/arm/vec_helper.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.2 diff --git a/target/arm/vec_helper.c b/target/arm/vec_helper.c index 10f17e4b5c..dfc635cf9a 100644 --- a/target/arm/vec_helper.c +++ b/target/arm/vec_helper.c @@ -638,6 +638,7 @@ void HELPER(NAME)(void *vd, void *vn, void *stat, uint32_t desc) \ for (i = 0; i < oprsz / sizeof(TYPE); i++) { \ d[i] = FUNC(n[i], stat); \ } \ + clear_tail(d, oprsz, simd_maxsz(desc)); \ } DO_2OP(gvec_frecpe_h, helper_recpe_f16, float16) @@ -688,6 +689,7 @@ void HELPER(NAME)(void *vd, void *vn, void *vm, void *stat, uint32_t desc) \ for (i = 0; i < oprsz / sizeof(TYPE); i++) { \ d[i] = FUNC(n[i], m[i], stat); \ } \ + clear_tail(d, oprsz, simd_maxsz(desc)); \ } DO_3OP(gvec_fadd_h, float16_add, float16)