From nobody Wed Nov 5 10:03:16 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1533786166009138.59195307599566; Wed, 8 Aug 2018 20:42:46 -0700 (PDT) Received: from localhost ([::1]:46386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnbqU-0007nG-2e for importer@patchew.org; Wed, 08 Aug 2018 23:42:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnboW-0006cV-Rm for qemu-devel@nongnu.org; Wed, 08 Aug 2018 23:40:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnboU-00036o-Py for qemu-devel@nongnu.org; Wed, 08 Aug 2018 23:40:40 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:45338) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fnboU-00036O-KL for qemu-devel@nongnu.org; Wed, 08 Aug 2018 23:40:38 -0400 Received: by mail-pg1-x534.google.com with SMTP id f1-v6so2050391pgq.12 for ; Wed, 08 Aug 2018 20:40:38 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-8-179.tukw.qwest.net. [97.113.8.179]) by smtp.gmail.com with ESMTPSA id q78-v6sm9674103pfi.185.2018.08.08.20.40.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Aug 2018 20:40:36 -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=YSoeF2aE+oX9NLe7usU1W4prHsjidxEZPouM9Vbh4CE=; b=jZcFL9yyYBJe1R7SKfwanrl9TUbsPve0dKGdTpmHpr+ZbIf8wIl5MbTYtN6wnMs2ls ENbxwJSt+aGiqZTbnlfUmCVclZ9Vkbnb8jBWP+gYjgs6iA8Nw5J5nvmRMlwz3eRM+RQN abAd+RBKvNid4dkFIw+HcQahYRWLDblPpdxag= 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=YSoeF2aE+oX9NLe7usU1W4prHsjidxEZPouM9Vbh4CE=; b=Zqk+JW7CUaM3Yi/oHGccYfQA8GaxnBlM4Ute+oJfNcZCKrotZwNJNaBJRuMebYKkao cvED7bWQCUHR1bZ8abRTsWyVvTOw+VhqZCvwtDHr0FHB1ZghluG7vZiaJJdZLFKSrBdg c5gVCUUFByI/AlD618ub38psEfQ7/wiCNnuOaPx+5dVilG0WpQ8vVDDG/iBbde5aUvwq Ox1St+jBmGSZwStTiqvoTiIL2esN6OdakutWm14VzAoUZaiqWjqzvnQBHx8BPkwf1QtL waGdnBiWgpv6ic5yY+NUr5cPYbur6PyTCRLlWodN/Jp1ikLXxJz1iODiwzpwgfD2Odlu xfPQ== X-Gm-Message-State: AOUpUlHOLICxf8HlKzE5Adc7l5yyngfiu0jBx0A7liHESB6sqXerfnw1 AeALZBoCw0bR3gbB5HfPJOEsjfuzvi0= X-Google-Smtp-Source: AA+uWPx33uhvobCCZJdes/6dBECMdWsyyfMHV0KbceNgALlAgDFQ1+6Lc0N6AuboWF6kWbOzqwcw5Q== X-Received: by 2002:a63:1015:: with SMTP id f21-v6mr423279pgl.354.1533786037338; Wed, 08 Aug 2018 20:40:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 8 Aug 2018 20:40:23 -0700 Message-Id: <20180809034033.10579-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180809034033.10579-1-richard.henderson@linaro.org> References: <20180809034033.10579-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::534 Subject: [Qemu-devel] [PATCH 01/11] target/arm: Fix sign of sve_cmpeq_ppzw/sve_cmpne_ppzw 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: laurent.desnogues@gmail.com, peter.maydell@linaro.org, alex.bennee@linaro.org, qemu-stable@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 The normal vector element is sign-extended before comparing with the wide vector element. Cc: qemu-stable@nongnu.org (3.0.1) Tested-by: Laurent Desnogues Reviewed-by: Laurent Desnogues Reviewed-by: Alex Benn=C3=A9e Reported-by: Laurent Desnogues Signed-off-by: Richard Henderson --- target/arm/sve_helper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/arm/sve_helper.c b/target/arm/sve_helper.c index 54795c9194..9bd0694d55 100644 --- a/target/arm/sve_helper.c +++ b/target/arm/sve_helper.c @@ -2436,13 +2436,13 @@ uint32_t HELPER(NAME)(void *vd, void *vn, void *vm,= void *vg, uint32_t desc) \ #define DO_CMP_PPZW_S(NAME, TYPE, TYPEW, OP) \ DO_CMP_PPZW(NAME, TYPE, TYPEW, OP, H1_4, 0x1111111111111111ull) =20 -DO_CMP_PPZW_B(sve_cmpeq_ppzw_b, uint8_t, uint64_t, =3D=3D) -DO_CMP_PPZW_H(sve_cmpeq_ppzw_h, uint16_t, uint64_t, =3D=3D) -DO_CMP_PPZW_S(sve_cmpeq_ppzw_s, uint32_t, uint64_t, =3D=3D) +DO_CMP_PPZW_B(sve_cmpeq_ppzw_b, int8_t, uint64_t, =3D=3D) +DO_CMP_PPZW_H(sve_cmpeq_ppzw_h, int16_t, uint64_t, =3D=3D) +DO_CMP_PPZW_S(sve_cmpeq_ppzw_s, int32_t, uint64_t, =3D=3D) =20 -DO_CMP_PPZW_B(sve_cmpne_ppzw_b, uint8_t, uint64_t, !=3D) -DO_CMP_PPZW_H(sve_cmpne_ppzw_h, uint16_t, uint64_t, !=3D) -DO_CMP_PPZW_S(sve_cmpne_ppzw_s, uint32_t, uint64_t, !=3D) +DO_CMP_PPZW_B(sve_cmpne_ppzw_b, int8_t, uint64_t, !=3D) +DO_CMP_PPZW_H(sve_cmpne_ppzw_h, int16_t, uint64_t, !=3D) +DO_CMP_PPZW_S(sve_cmpne_ppzw_s, int32_t, uint64_t, !=3D) =20 DO_CMP_PPZW_B(sve_cmpgt_ppzw_b, int8_t, int64_t, >) DO_CMP_PPZW_H(sve_cmpgt_ppzw_h, int16_t, int64_t, >) --=20 2.17.1