From patchwork Wed Sep 18 01:58:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 173935 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1871243ill; Tue, 17 Sep 2019 18:59:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyd4dTHTj3t2BditBq0h6eawo5cfNJrqQTQiHPUBNJ4cohE7sSRzqeTAfZlLcFt/tb4ykxk X-Received: by 2002:a50:ee92:: with SMTP id f18mr7833649edr.253.1568771969228; Tue, 17 Sep 2019 18:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568771969; cv=none; d=google.com; s=arc-20160816; b=AY/s+x37CeKoeFS8EncPRHdV5lb4G2l1Wcpss9cotDfc29g17Pj3TbEqYrFyG5qrP3 ajzIw04bZ82wSpXs/hjdAD+UAP3IFHQG8j/r7K2ixtlHoEGidOK2ZePLVwlWXWXGwLJf XmsweErbHclWbTreiMYGFW02Zsb6lroBHKFI3UGMGk4Ll4bbeoScisxUvskHd82qv9Cc n8NpozztkYPrfqMym+ZU9/JNVnlZYSEuMvGo4GHl4BzviJRcBp1h/vEBnotxNInlauCt lIORhYtfT1ain971dmI6R0QYSyRfI42005IptjiFY7hjgVR+QrGt4LfNdKH5wEWDNasf NckA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=duu9sBVEKHzrPUuhKCsMXazwNS7oUAgJ9EfTCO8Ioao=; b=Q3Q0uDlWM9+dBTenvAjyVvHuyJVTUxl1mA0AFA9ospK2f0MYrXKmkBbCJ2l81gbUY/ MI6Znf3OEG44j+7kIMR2iAz8Hg9Ap5Wpni2c2KgcbXOdCN5X4y7yJ6TvZGWA7t3qoDIP A1c1uimnV7zV7HwsY1s+Gwi04d3mIsnkpOm3NdIsqk3RVfg+5ElzcIlxRFHAiBlP5XzW DkqrjCwSBEL5vWt0TZ6hKw+M3V9T/8Xkx1MjxnJhXPHrrPaZ4WUDeg/nBQvCP2OLd165 b6lo2hTvDIHPQZGTqn0H8w15dQgHWWIMK/sF4ww0UDI08NGGsi5uT0lJvAuELxyEx/dD 4ppA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=T6w3yzhw; dkim=pass header.i=@linaro.org header.s=google header.b="nuY/cPjy"; spf=pass (google.com: domain of gcc-patches-return-509147-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-509147-patch=linaro.org@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id g21si1645081edq.289.2019.09.17.18.59.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Sep 2019 18:59:29 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-509147-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=T6w3yzhw; dkim=pass header.i=@linaro.org header.s=google header.b="nuY/cPjy"; spf=pass (google.com: domain of gcc-patches-return-509147-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-509147-patch=linaro.org@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=CzUtoBo3t4oxIaPOwDbDn9B4Lor5V6oRwFfTf9QOmPoOwQf37DojM 4bDbDiLY9OOq5ipth7W9f40fd6GSfhdMmpkNhncw0bmFcFteA9XdntSX4BgJat46 wRJvbGsq5jtuasw+OxPPE5UN16DsjWGxU3p7mq35PRcPa+mCBjyEcY= 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:cc:subject:date:message-id:in-reply-to:references; s= default; bh=Aelddb1bnTGtevk9tCSsITp6NIA=; b=T6w3yzhwkIA1hvIAwDTi b8ShaCA8tYcLyaNboxX0Er+8dajld0y3koRLRUdXxod9jzptFstBRJZ1atg/cl2s NnptOeCMutAgLhRQKrbN2WfoTWG2QFO8QNGWn7svrGgTxUPliCvIdNMs+qjOFtjW Joqdh19yr8BFpAQPMvUqPug= Received: (qmail 121295 invoked by alias); 18 Sep 2019 01:58:32 -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 121182 invoked by uid 89); 18 Sep 2019 01:58:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.4 required=5.0 tests=AWL, BAYES_00, 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-pf1-f182.google.com Received: from mail-pf1-f182.google.com (HELO mail-pf1-f182.google.com) (209.85.210.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Sep 2019 01:58:30 +0000 Received: by mail-pf1-f182.google.com with SMTP id i1so3301231pfa.6 for ; Tue, 17 Sep 2019 18:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=duu9sBVEKHzrPUuhKCsMXazwNS7oUAgJ9EfTCO8Ioao=; b=nuY/cPjy+FpEv2QELSeDQ+TNVl/lFn9GQIjYQchpbLvc+j71Ti4u6Q00QnIcAQlGt+ yG93yvHu9HeO3jCBj7wKWYTFrx4yzf7OsXHK5y1FpnwnYMoOTbeVDpz3WlUwUViLlxaG wi+m4J2rDQ6wtyn8D3BQHH4aVdEA5FrUM2qxojSJCPLNi2ZCNSFoNgCSW1uf4tzzTbb8 ai/ckOz8XeiDqInpuKMBaNe9maXycMvu65bTbxdIuSYH48u6IW1PwZoekAOpqbGFXq6b ka/QNFgK9agBMRhjbXGs5TiAW6YWy18/f4IpDSkgOO9qqOk6gFNn18chd3rseQ3u2i2F JL7Q== Return-Path: Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id d10sm6614306pfn.50.2019.09.17.18.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 18:58:27 -0700 (PDT) From: Richard Henderson To: gcc-patches@gcc.gnu.org Cc: Wilco.Dijkstra@arm.com, kyrylo.tkachov@foss.arm.com, Marcus.Shawcroft@arm.com, James.Greenhalgh@arm.com Subject: [PATCH, AArch64 v4 6/6] TESTING: Enable -moutline-atomics by default Date: Tue, 17 Sep 2019 18:58:17 -0700 Message-Id: <20190918015817.24408-7-richard.henderson@linaro.org> In-Reply-To: <20190918015817.24408-1-richard.henderson@linaro.org> References: <20190918015817.24408-1-richard.henderson@linaro.org> --- gcc/common/config/aarch64/aarch64-common.c | 6 ++++-- gcc/config/aarch64/aarch64.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/gcc/common/config/aarch64/aarch64-common.c b/gcc/common/config/aarch64/aarch64-common.c index 07c03253951..2bbf454eea9 100644 --- a/gcc/common/config/aarch64/aarch64-common.c +++ b/gcc/common/config/aarch64/aarch64-common.c @@ -32,9 +32,11 @@ #include "diagnostic.h" #include "params.h" -#ifdef TARGET_BIG_ENDIAN_DEFAULT #undef TARGET_DEFAULT_TARGET_FLAGS -#define TARGET_DEFAULT_TARGET_FLAGS (MASK_BIG_END) +#ifdef TARGET_BIG_ENDIAN_DEFAULT +#define TARGET_DEFAULT_TARGET_FLAGS (MASK_BIG_END | MASK_OUTLINE_ATOMICS) +#else +#define TARGET_DEFAULT_TARGET_FLAGS (MASK_OUTLINE_ATOMICS) #endif #undef TARGET_HANDLE_OPTION diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 56a4a47db73..ca4363e7831 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -20535,9 +20535,11 @@ aarch64_run_selftests (void) #undef TARGET_C_MODE_FOR_SUFFIX #define TARGET_C_MODE_FOR_SUFFIX aarch64_c_mode_for_suffix -#ifdef TARGET_BIG_ENDIAN_DEFAULT #undef TARGET_DEFAULT_TARGET_FLAGS -#define TARGET_DEFAULT_TARGET_FLAGS (MASK_BIG_END) +#ifdef TARGET_BIG_ENDIAN_DEFAULT +#define TARGET_DEFAULT_TARGET_FLAGS (MASK_BIG_END | MASK_OUTLINE_ATOMICS) +#else +#define TARGET_DEFAULT_TARGET_FLAGS (MASK_OUTLINE_ATOMICS) #endif #undef TARGET_CLASS_MAX_NREGS