From patchwork Sat Mar 8 21:53:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 871579 Delivered-To: patch@linaro.org Received: by 2002:a5d:64ce:0:b0:38f:210b:807b with SMTP id f14csp332161wri; Sat, 8 Mar 2025 13:56:15 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXGFaytYRuzaqrGu/Dh67dXeiY7L2kGk9Si8AQkccZxYPDdTt56151kQQfnKxZ/+SdaKRv3DA==@linaro.org X-Google-Smtp-Source: AGHT+IG7g0uS5yOKneeC++PVfI2iAnuy4z5d7wZ5OGGvKsXqUcUimNqp+ggjOvLugRCOKSIQVUrn X-Received: by 2002:a05:6214:258d:b0:6e8:f33f:147e with SMTP id 6a1803df08f44-6e9006041cfmr87448026d6.6.1741470975244; Sat, 08 Mar 2025 13:56:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741470975; cv=none; d=google.com; s=arc-20240605; b=cGfloKSkwv1H85+2AkSnytxhwdv3XQ+G93eQ2MjKClNZ2kqps6mG/sHwN6azd59Jq2 nrRxgdwQvMytmQHwMupgr87wzgY1ydVbZJEEMxCm6AJyZ5ro+zy+0yAiaIMuyYjrD8sL j50WUQRNiDbp2FdbMbAxPW1Mhcuh4kma3zuCj0+x+Hao06xkcz7WWU2+BqakQTsFDV++ q50gIH+LyDKjYktRJOtqmXPEMqCcW1gcIWanES/dFCEGAdj6BbCi3yMUcmVXuMHlpGtc 7r+O7Jp+Jlfwr1CB6sWWYlsO9jXNtytrRl0eY0SCV9XhKHAwq9++gehTI3Npx30Q2b3W TSAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=KC+aAUPu9a4BdYI7vGXvf2NZEQGI2J1QgDqj2UoWXTA=; fh=fXmI+Kt9oHN6EH8XcfsVDm+fmn9n++hJjVQ01GCmjeg=; b=czBlJ2FiBRSnZ2bS+Ga+4Bh2PN4gmIqmaDIIjSxQ7giDZ2gzurxL0jZ1jfI9KCKuOD BuzMPqgzwDq5m4fsicc56yWIuFQ9DDJdsgAxsYdx6XoarDiwQWIsLVJ8cg9g2pXJLj5i LI7Gn/47Vs39VwFb5bmkducALSupKqXrcLxQ0dHEJBd1MUdtHq7uN7oY6wq712Q4PHuW 6euzEmVY7ZQdf+RM8bGsX2ESOA/ZhnqxtbrqYifg62odXpsr6Z8vRmhEE6hVlsLBlxTq euwjqdwfPjCCi2Djt4QkBOxaxSyquoyyjxwwGSaQEHpeNeY4S0cKm+ELOfbM3k1O/1ec Z0cA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TxpDV40I; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6e8f7161ef4si61647606d6.191.2025.03.08.13.56.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 08 Mar 2025 13:56: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=pass header.i=@linaro.org header.s=google header.b=TxpDV40I; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tr27C-0003OX-AQ; Sat, 08 Mar 2025 16:53:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tr270-0003Ha-W9 for qemu-devel@nongnu.org; Sat, 08 Mar 2025 16:53:39 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tr26z-0000wJ-Cr for qemu-devel@nongnu.org; Sat, 08 Mar 2025 16:53:38 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43cebe06e9eso2661455e9.3 for ; Sat, 08 Mar 2025 13:53:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741470816; x=1742075616; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KC+aAUPu9a4BdYI7vGXvf2NZEQGI2J1QgDqj2UoWXTA=; b=TxpDV40Ih5wbYmOHSKZAYhToU+WCHgMELBjf46krSODamIeaCHAfdTOy2z+9b32sWm uVxuZnfH6ZmZe+MKIUpEB789HwT1RM3uL/y4p1DJxs3Y0owsCQFu0bSeixfzKMESwow2 txTmnKyAbSFcDDd/lpMAeo7a/B8+xL14t/UKUFSQJYwEd54ZMaWmmcFmKdB8z1ATO2fM ijwlEVpwAUsRc6H29/3W6d3PCpgM3odKlqBreB7folf2ePq9qRJqBqekE95poZvKfT1r MMex4M4rDbByoYzl2KQKIbCqFxgBsEAHCdeGBVhz5vQgxFOHiewC2h9v1i4u7jOrz37v g5OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741470816; x=1742075616; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KC+aAUPu9a4BdYI7vGXvf2NZEQGI2J1QgDqj2UoWXTA=; b=NHrQg6V0X2eCziRvmvyHOWhzcJ6sQ9spcn8m8c8UkDqFeo6AJiHTTszerYQ9DAuZ1j +uSeUaWw5XpGsN/1rHkDozR0kkX2Lby3AmohCQpD9PVlj5YxjC+9wxTVLxaOSATOEkLp /0kbBdn2BJbi9/qWIAh/uCZB96yqDppQG69i+ITDZ8be+5Fn1fuphDkgVZio6DmU/ZYs oyChTVutvN+wmDYplZ7k6FNqhpM0dPOdmuy1B0h/KPMPmc+KiK8kTBU0UkvFlTL1SeKD JFUJ5OVQNUyRP0BvLmFTiJ3jeCMkXMwMjjxDymke+YVUkbc6QNWoFJEZkcBKjp2MU3X5 UVfA== X-Gm-Message-State: AOJu0YxpsdPbZgp09/CoS+fF+RgjOqgj0zHR4YcI5ZPFxpRnoQcf2KUd czFwMAQXSiBOffHBjMSdBTsRycP6og/Uoubmhf+PiP4sDa6nMyc7vyw+bCxfoFg= X-Gm-Gg: ASbGncvvLE0QprekxBsI/ddCFPK0KX+zPzkKUvbWsaoTk55aRMIQeVn56DvUpFQXIjJ SVP70To0owv+7ROFfJk4h3kfmUUGMJXkpEq6+bW47Q/67omx1Grg0MpcgPzhMVAhdTGZo9rCmSV NlMG0QZxCcBx2884T4lIVG33O+CplR8bf29YJpMpakpZvjMiPQ2ksfDUKoFPknCByr1T+Vc23xi ptLgWEy3f34ZsYrjGNUb90E0ZOEGHWKsN/g0m21SaIbp7lsxDK9IWDCpbqpjIgo/cNYPTWYrksc BFICPB/BdW/TMTdI5/JqBvH64dvHkYWdEzSr/mOKjirh1YY= X-Received: by 2002:a05:600c:4999:b0:43b:cb0c:3542 with SMTP id 5b1f17b1804b1-43c6b80c724mr52489925e9.15.1741470815940; Sat, 08 Mar 2025 13:53:35 -0800 (PST) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43bdd8c314asm96314315e9.10.2025.03.08.13.53.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Mar 2025 13:53:34 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 1E0ED60533; Sat, 8 Mar 2025 21:53:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , Paolo Bonzini , Eduardo Habkost Subject: [PULL 16/31] tests/tcg: enable -fwrapv for test-i386-bmi Date: Sat, 8 Mar 2025 21:53:11 +0000 Message-Id: <20250308215326.2907828-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250308215326.2907828-1-alex.bennee@linaro.org> References: <20250308215326.2907828-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We allow things like: tests/tcg/i386/test-i386-bmi2.c:124:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] assert(result == (mask & ~(-1 << 30))); in the main code, so allow it for the test. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20250304222439.2035603-17-alex.bennee@linaro.org> diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target index bbe2c44b2a..f1df40411b 100644 --- a/tests/tcg/i386/Makefile.target +++ b/tests/tcg/i386/Makefile.target @@ -22,7 +22,7 @@ run-test-i386-sse-exceptions: QEMU_OPTS += -cpu max test-i386-pcmpistri: CFLAGS += -msse4.2 run-test-i386-pcmpistri: QEMU_OPTS += -cpu max -test-i386-bmi2: CFLAGS=-O2 +test-i386-bmi2: CFLAGS=-O2 -fwrapv run-test-i386-bmi2: QEMU_OPTS += -cpu max test-i386-adcox: CFLAGS=-O2