From patchwork Tue Apr 16 03:52:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 1923970 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=jd0UmK54; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VJVVw5KT3z1yYB for ; Tue, 16 Apr 2024 13:52:56 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 033513858410 for ; Tue, 16 Apr 2024 03:52:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 4EFAB3858D32 for ; Tue, 16 Apr 2024 03:52:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4EFAB3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4EFAB3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713239558; cv=none; b=sk7swiOffuUwbYdC/gqtzDZ5FCSX3dNxM0OKr9C2EYR9VE4WtyK7tVK4h+YMWoZ6onttP8QS7VuGObmt+J2gOIs07ioPkL2rD4EUcSHELjgpSu1u3F9JCXiy0eyvhBq/vMxWW1OHpooA0ImfvXH9Qb3DZUisIhYxq57PWghcHMI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713239558; c=relaxed/simple; bh=FT4FO4VLRfPOEAvoBMheVfIBnITmJD18qV0J1JKHSmc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Vh6OOaKtqDve6UYyoMDPA9dcJjWA6CJQ6Gn0XrdM2l0tgKZH9YYatA1I7SFS4gECUDM/m9U0sofEvgqm7jbMJ5mYghpub0z4Yyk5XSKjsAwwVkO5lFxuxzCna7jhBFujG3GFB9gc79rNW4lw8MctCRULCmBbDcdWTZu6Zta8jlQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6ed267f2936so3111712b3a.3 for ; Mon, 15 Apr 2024 20:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713239555; x=1713844355; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=8zxfDG+y8/nx/yRG899VKp1G546r27ljquzq6SZMPjA=; b=jd0UmK54YkDHzDxj0ggAUC4pDl5qfWlnjsMGp4ctZaDOP3BTY/O5iPW4SvKO/S4b0U JGEly+iOky7d5z6fRgf6tYafVig911ud1V75gyhb3rcExNhFXNDa5/7I2l8O8X611/dy SYhAdoRHq6/x8T1f2j9hx1kaURijiGbsXxjB5hl6hAqs1IUyLRC6EUQmY8dUeI+X1bBM lrtpUwNFzVoyCSr63hMp3tZLv63Lzbm1i6UEaC2IY0IbhOQQtz4Kz5IsO6WmvDSj5+sP zAr4X0xiRdeYDg4qzO7mb5rR6gibTYSBW3or1XpcEv9Mh/5/VdNmFEtdiwYj/iZ40VYP cWiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713239555; x=1713844355; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8zxfDG+y8/nx/yRG899VKp1G546r27ljquzq6SZMPjA=; b=vVWTk6iBDr/AkEnQ5SB8keKCmBg0nUJNYX4VBABlXvDS2NGIpxzebtbao5XEVIjt3/ jSExu+oKxzxHHpdTj7ygdRFaXsVceeOFp77VyfmGgzuFp3rk1i6MUHxl6CYm2oTk516y iRMTxSJG/lM1jRl6ANDFck+kyUVSJezJ6SWywgFduWmeUttNc0KtXyvcDO3ggfLRI0gN 5r5w8xbIEH23J8aM1sB//jc5yWOdg1Mdt5Nr6IwIH0npQJnXkBeJaxcchu6hNe9e1V8V RWQmxlRF+aT4kMZBGpiZRnSkX/CmnSCT5Kxdh75aQJfQ5QSk7bEnfe0uAZmbgf+hpUQ4 xivQ== X-Gm-Message-State: AOJu0Ywcjhvave7qkVCSExKhR0DvDB/Z84yYswB9Q9xNTVi9Jdjsucvw kmghefglmmvyVPlt/UAONLvcQXKOggNWwos98VEAHpT4VOTmq8lhIljHKyD/JjrOVTXMTsd3u5W aog== X-Google-Smtp-Source: AGHT+IHfIQkEGbdNH83pTRoFPx9OasUCvjKIUHxHzFh2FAKIKvHWSOt6R1bAP5AqhnKIsspO35XbVA== X-Received: by 2002:a05:6a21:1519:b0:1aa:50de:ae46 with SMTP id nq25-20020a056a21151900b001aa50deae46mr209556pzb.50.1713239555061; Mon, 15 Apr 2024 20:52:35 -0700 (PDT) Received: from free.home ([2804:7f1:218b:5e2:c43b:e0c4:71a:241b]) by smtp.gmail.com with ESMTPSA id d1-20020a170902cec100b001e29ac7cc64sm8757821plg.231.2024.04.15.20.52.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 20:52:34 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 43G3qP9u2388340 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 16 Apr 2024 00:52:26 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , Jan Hubicka , Uros Bizjak Subject: [PATCH] [testsuite] [i386] add -msse2 to tests that require it Organization: Free thinker, does not speak for AdaCore Date: Tue, 16 Apr 2024 00:52:25 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Without -msse2, an i586-targeting toolchain fails bf16_short_warn.c because neither type __m128bh nor intrinsic _mm_cvtneps_pbh get declared. Regstrapped on x86_64-linux-gnu. Also tested with gcc-13 on arm-, aarch64-, x86- and x86_64-vxworks7r2. Ok to install? for gcc/testsuite/ChangeLog * gcc.target/i386/bf16_short_warn.c: Add -msse2. --- gcc/testsuite/gcc.target/i386/bf16_short_warn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/bf16_short_warn.c b/gcc/testsuite/gcc.target/i386/bf16_short_warn.c index 3e47a815200c2..2e05624bc26f6 100644 --- a/gcc/testsuite/gcc.target/i386/bf16_short_warn.c +++ b/gcc/testsuite/gcc.target/i386/bf16_short_warn.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -msse2" } */ #include typedef struct {