From patchwork Thu Sep 13 17:27:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 969462 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-485608-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="ShqzfRT1"; 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 42B5F81yh0z9s4V for ; Fri, 14 Sep 2018 03:27:23 +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:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=glDDOurkWscUzKZK yzd8/7AvT2bALJGD0LB2HhxsEd2GPqiXPv4K7xsLhGBuJ3HUOqm44ruhQJRhaOdZ AlrWLJ83Q8p+aFIh6cvbadKSShFVplnxSzC6ttLvLizh4qkeYM+lN/EX2jfCc8jP 5j/XnHd+W8lKTlZ1uKsL1Ks02xo= 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:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=G1hNzKR8gtk9zMRikfXioP Sodsc=; b=ShqzfRT1ijhpANZuS3Gc0zjwsz2oZFU86mjK7CRsAg2TXydCGS0VTm hBPZ4MgrQyONkET6jRQoGCiMJgJX48U8N0yBhvt73z/p0XeWgFGAvJ4ZvGe8TVx/ n+FaXDalg1A/a1MSorSdCoR9KrvbAmvC592Vl/i+fig6fnuhUSObE= Received: (qmail 124284 invoked by alias); 13 Sep 2018 17:27:15 -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 124273 invoked by uid 89); 13 Sep 2018 17:27:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, UPPERCASE_50_75 autolearn=ham version=3.3.2 spammy= X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Sep 2018 17:27:14 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E21FA822CE for ; Thu, 13 Sep 2018 19:27:11 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ER4YzheSqXzO for ; Thu, 13 Sep 2018 19:27:11 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id C3BA8822BB for ; Thu, 13 Sep 2018 19:27:11 +0200 (CEST) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [visium] Define TARGET_HAVE_SPECULATION_SAFE_VALUE Date: Thu, 13 Sep 2018 19:27:09 +0200 Message-ID: <2473813.7Bf1Maot5h@polaris> MIME-Version: 1.0 Tested on visium-elf, applied on the mainline. 2018-09-13 Eric Botcazou PR target/86812 * config/visium/visium.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define. Index: config/visium/visium.c =================================================================== --- config/visium/visium.c (revision 264202) +++ config/visium/visium.c (working copy) @@ -280,17 +280,19 @@ static HOST_WIDE_INT visium_constant_ali #undef TARGET_LEGITIMATE_CONSTANT_P #define TARGET_LEGITIMATE_CONSTANT_P visium_legitimate_constant_p -#undef TARGET_LRA_P +#undef TARGET_LRA_P #define TARGET_LRA_P hook_bool_void_false #undef TARGET_LEGITIMATE_ADDRESS_P #define TARGET_LEGITIMATE_ADDRESS_P visium_legitimate_address_p -#undef TARGET_PRINT_OPERAND_PUNCT_VALID_P +#undef TARGET_PRINT_OPERAND_PUNCT_VALID_P #define TARGET_PRINT_OPERAND_PUNCT_VALID_P visium_print_operand_punct_valid_p -#undef TARGET_PRINT_OPERAND + +#undef TARGET_PRINT_OPERAND #define TARGET_PRINT_OPERAND visium_print_operand -#undef TARGET_PRINT_OPERAND_ADDRESS + +#undef TARGET_PRINT_OPERAND_ADDRESS #define TARGET_PRINT_OPERAND_ADDRESS visium_print_operand_address #undef TARGET_ATTRIBUTE_TABLE @@ -347,27 +349,30 @@ static HOST_WIDE_INT visium_constant_ali #undef TARGET_TRAMPOLINE_INIT #define TARGET_TRAMPOLINE_INIT visium_trampoline_init -#undef TARGET_MD_ASM_ADJUST +#undef TARGET_MD_ASM_ADJUST #define TARGET_MD_ASM_ADJUST visium_md_asm_adjust -#undef TARGET_FLAGS_REGNUM +#undef TARGET_FLAGS_REGNUM #define TARGET_FLAGS_REGNUM FLAGS_REGNUM -#undef TARGET_HARD_REGNO_NREGS +#undef TARGET_HARD_REGNO_NREGS #define TARGET_HARD_REGNO_NREGS visium_hard_regno_nregs -#undef TARGET_HARD_REGNO_MODE_OK +#undef TARGET_HARD_REGNO_MODE_OK #define TARGET_HARD_REGNO_MODE_OK visium_hard_regno_mode_ok -#undef TARGET_MODES_TIEABLE_P +#undef TARGET_MODES_TIEABLE_P #define TARGET_MODES_TIEABLE_P visium_modes_tieable_p -#undef TARGET_CAN_CHANGE_MODE_CLASS +#undef TARGET_CAN_CHANGE_MODE_CLASS #define TARGET_CAN_CHANGE_MODE_CLASS visium_can_change_mode_class -#undef TARGET_CONSTANT_ALIGNMENT +#undef TARGET_CONSTANT_ALIGNMENT #define TARGET_CONSTANT_ALIGNMENT visium_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; namespace {