From patchwork Mon Aug 6 14:42:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Weigand X-Patchwork-Id: 953908 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-483234-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=de.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="nrg/VbLh"; 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 41kgNC14c9z9s0n for ; Tue, 7 Aug 2018 00:42:18 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:date:from:mime-version:message-id:content-type :content-transfer-encoding; q=dns; s=default; b=VTyS1a64HbNLUPyZ +baJP3hYJad7ugSy/pd83ut3eiQtiIN296+3FHaMpSonk6AhF9krtwEG/5zrGfxH L5LWoJ/u9WTN41GPm+IJPWvd+MfnmRa2Yd1v7ve3NBUUSFwWgL+YHdkP5h+cPxiE nZJsvWOq17hn3smAEj4qjtt6VEE= 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 :subject:to:date:from:mime-version:message-id:content-type :content-transfer-encoding; s=default; bh=ZJxcy4Rvnr4WsujYhTVKjH r42GQ=; b=nrg/VbLhv36XY2m8zLTHur2NkN2nATOnZ1qQ5tCDoqboBGz1xUPK+e ulJ2MAuCckqm0x/boSSVMqzIeCa1EAkVkrpdvtT4y9CUENB5GEc0qhTBAvUyfrws v339skIsXN0xYSjru0N3Ffc/lcuQAOlxmOEF/CBb6GHx57z5rpm0Q= Received: (qmail 55980 invoked by alias); 6 Aug 2018 14:42:10 -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 55537 invoked by uid 89); 6 Aug 2018 14:42:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Aug 2018 14:42:08 +0000 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w76Ed12i016458 for ; Mon, 6 Aug 2018 10:42:07 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kpp4267jh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Aug 2018 10:42:07 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 6 Aug 2018 15:42:04 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 6 Aug 2018 15:42:03 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w76Eg21K42074120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 6 Aug 2018 14:42:02 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A60352057 for ; Mon, 6 Aug 2018 17:42:11 +0100 (BST) Received: from oc3748833570.ibm.com (unknown [9.152.213.80]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id ECF0952054 for ; Mon, 6 Aug 2018 17:42:10 +0100 (BST) Received: by oc3748833570.ibm.com (Postfix, from userid 1000) id 99389D802B2; Mon, 6 Aug 2018 16:42:02 +0200 (CEST) Subject: [spu, commit] Define TARGET_HAVE_SPECULATION_SAFE_VALUE To: gcc-patches@gcc.gnu.org Date: Mon, 6 Aug 2018 16:42:02 +0200 (CEST) From: "Ulrich Weigand" MIME-Version: 1.0 x-cbid: 18080614-0012-0000-0000-00000295A7E6 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18080614-0013-0000-0000-000020C7AFBC Message-Id: <20180806144202.99389D802B2@oc3748833570.ibm.com> Hello, the SPU processor is not affected by speculation, so this macro can safely be defined as speculation_safe_value_not_needed. Committed to mainline. Bye, Ulrich gcc/ChangeLog: PR target/86807 * config/spu/spu.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. Index: config/spu/spu.c =================================================================== --- config/spu/spu.c (revision 263334) +++ config/spu/spu.c (working copy) @@ -7463,6 +7463,9 @@ static const struct attribute_spec spu_a #undef TARGET_CONSTANT_ALIGNMENT #define TARGET_CONSTANT_ALIGNMENT spu_constant_alignment +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-spu.h"