From patchwork Tue Jan 14 18:35:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 1222994 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-517366-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.a=rsa-sha1 header.s=default header.b=tBMpBFnf; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jv8vjkRP; 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 47xzfk4jksz9s29 for ; Wed, 15 Jan 2020 05:35:40 +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:content-type; q= dns; s=default; b=U3z+TNj1cryVN1D2Scq85YlcJVSr9LSsQwSK42DxIWT+Hu +/E0E/1rnxpKBfktHSY/FujZgjITR9dKyGTNZRK7NgmhwWXHuoClyDJNZ1EcxB+z rJEzBkL9/NzmUVZbqkwDRIt8Btt3sXteBwyWXJZhP78HJX7mARAVdRZuzKc0M= 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:content-type; s= default; bh=npxxbv/ION7KS0BF3bv1Cgo5QKU=; b=tBMpBFnfJHTUvOWPFyuZ SyTtIz5aXKBv8WS36l5pY1fGaZVoyNC2Doo+tY9wqLxjamwbsFLTar0BjREHR6Wq CiOkEjnr9haNquUNu8AACeVYQCBR/ywLb/JsrvBaAxwfD403n1jFgtxeIKmPph9A 6fq6mDyH1G/GrFURX8xyYTA= Received: (qmail 25702 invoked by alias); 14 Jan 2020 18:35:33 -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 25683 invoked by uid 89); 14 Jan 2020 18:35:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-il1-f182.google.com Received: from mail-il1-f182.google.com (HELO mail-il1-f182.google.com) (209.85.166.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 Jan 2020 18:35:22 +0000 Received: by mail-il1-f182.google.com with SMTP id c4so12420242ilo.7 for ; Tue, 14 Jan 2020 10:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Mlv3Dx+XgtYNXE1exX7cgfMTXGJSLqt5pcxDapcjbbI=; b=jv8vjkRPGuI2hElyYlBvBa5ewlzRXhlfXsZdROhq4zansnoStHIxsux8Raokf+NjDi paiXLpcSZaL6Aze4MbfT3gwQ+HgQOs6HbTnyWpiKsREFbPO0EPVoCez0IipVOFv9dHVa dlRgxBMLPymy2ZFWRR0uwdK3kPGOCENbGPbtHSdTu6IHyMmg2Wn0EBArQaHMoUorDoCC eILXyG0Pjuxb9iOWf7RZJctoZEhnIeEHJLQS3RQleydQVdGRfF6QizFjOADiNRyYbucN 7yAG1DFbZMfqt/M+Hrnb3TU/V/jKHg+2aaz9ygioZGLT5cwQYMaWBmpGJC+YypQRUAT5 vc0A== MIME-Version: 1.0 From: Uros Bizjak Date: Tue, 14 Jan 2020 19:35:09 +0100 Message-ID: Subject: [PATCH, i386]: Fix PR93254, -msse generates sse2 instructions To: "gcc-patches@gcc.gnu.org" 2020-01-14 Uroš Bizjak PR target/93254 * config/i386/i386.md (*movsf_internal): Require SSE2 ISA for alternatives 9 and 10. Patch was bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed to mainline, will be backported to gcc-9 branch. Uros. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 03441109f48..f08410a471e 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3696,7 +3696,7 @@ } } [(set (attr "isa") - (cond [(eq_attr "alternative" "14,15") + (cond [(eq_attr "alternative" "9,10,14,15") (const_string "sse2") ] (const_string "*")))