From patchwork Sun Mar 24 19:44:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 1063409 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-498356-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="llE+e2d1"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HIREoVdG"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44S7CL47Q6z9sSR for ; Mon, 25 Mar 2019 06:45:00 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=I4/XPjD75gF3tlWBxTWqMZh4O4p88ox5PUkYT5lffAq IsL9XchWtRdDaiDpK/Bwje7oBqEm0hH/coJEBMENxZe1h3/DbBbfsbvNq2cVtVwW y8wOtV8IdFi0i1gVNS1LTXFbkeyITnMfLtiS0wde/FSvwKE1L65H0Bcx4EtmHfWY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=/SPsvBXwc2+cjHW1WRf3aYymaXU=; b=llE+e2d1JOTEPf8L/ 293qrrq2/tWZx6OEBfx8QMGXwSjFO0yzBC69VqETsdjJuQlBA9YG7FF/EIBVWxIK m6mC9hymxoxGc4xN7vLdCFpp/yi73pO6yk52j4AeUNvV1jehwosLx2RJxb+dKYqR xvRSZAP+r+/jIRmbuk1lKKZjbk= Received: (qmail 61218 invoked by alias); 24 Mar 2019 19:44:51 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 61194 invoked by uid 89); 24 Mar 2019 19:44:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=pr89676.c, pr89676c, UD:pr89676.c, Compile X-HELO: mail-it1-f174.google.com Received: from mail-it1-f174.google.com (HELO mail-it1-f174.google.com) (209.85.166.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 24 Mar 2019 19:44:49 +0000 Received: by mail-it1-f174.google.com with SMTP id z126so10971415itd.5 for ; Sun, 24 Mar 2019 12:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=eQF3Jm5F7JgTdgOrbXHb0+pfAGzF0sKVXwEwalsdreU=; b=HIREoVdGP874vgRDMJSSnxuW5XSJvKGldvX5Vacjoh/6ZvYe4SugsxYqMUImQHq73Z CbN5L8RwxiR7mdTwzW9uT1dFzhGbHGtYT/SbQxxc17f5oyL/46IKtP+hUlNFETXCguCg OQzSDonW0+D3LC/w9HO78yQVJ07ncpbPC7YVAPa8CapntgbyReTdoi9h04CpHOwpybcI bBF1vxWr04IUVIrhDInUFqjWGvX6vR5eVNewUnsW624ONQqBQU5Sedt+XsE3YgSqwmQe ZN2DpW8SruH5VENjynHW07oJY7tzX7R2XV00WPQ9d9cQ0Mni2xB1iQn9tArBRStpx+s0 XaRw== MIME-Version: 1.0 From: Uros Bizjak Date: Sun, 24 Mar 2019 20:44:35 +0100 Message-ID: Subject: [PATCH, testsuite]: Remove -m32 from x86 tests To: "gcc-patches@gcc.gnu.org" Cc: Jan Hubicka , Vladimir Makarov 2019-03-24 Uroš Bizjak * gcc.target/i386/pr82281.c: Compile only for ia32 effective target. (dg-options): Remove -m32. Add -msse2 -mtune=znver1. * gcc.target/i386/pr89676.c: Compile only for ia32 effective target. (dg-options): Remove -m32 and -march=i686. Add -mno-stv. Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN. Uros. Index: gcc.target/i386/pr82281.c =================================================================== --- gcc.target/i386/pr82281.c (revision 269894) +++ gcc.target/i386/pr82281.c (working copy) @@ -1,6 +1,9 @@ -/* { dg-do compile } */ -/* { dg-options "-O3 -m32" } */ +/* PR target/82281 */ +/* { dg-do compile { target ia32 } } */ +/* { dg-options "-O2 -msse2 -mtune=znver1" } */ + long long test_and(long long x) { return x & 0x77ffffffffULL; } + /* { dg-final { scan-assembler-not "xmm" } } */ Index: gcc.target/i386/pr89676.c =================================================================== --- gcc.target/i386/pr89676.c (revision 269894) +++ gcc.target/i386/pr89676.c (working copy) @@ -1,6 +1,7 @@ /* PR rtl-optimization/89676 */ -/* { dg-do compile } */ -/* { dg-options "-O2 -m32 -march=i686" } */ +/* { dg-do compile { target ia32 } } */ +/* { dg-options "-O2 -mno-stv" } */ + unsigned long long foo (unsigned long long i) {