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: 1163662 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-509147-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="qD1x8UCl"; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="nuY/cPjy"; 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 46Y37b4mkpz9sCJ for ; Wed, 18 Sep 2019 11:59: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:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=iJ/UDoLe3Qgt1DYq+xS3z15nZTeIfuM2JQTdGrjTqHef/cgAl5GYa T9yeSzV/iuH8YSsdJChBBjLhD82bA+1TMOkF14ey7Dw05uKK0by8XWleiMaE3IbL y4In4SsWTFhAkdnNaM3MuNrH5WUvjOG1uYtX+/e0WFy3RpeRyL+XyA= 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=qD1x8UClg48bYv9o9TUc pzbO01xpGz9nh6aPDU9UXqa7eJRkOtdfWG/cxwCBCKQyxNHH/zkZ5x5BxmI6AsQQ 1KydvS+t6JFNjxSfJ3toi0WMXVmH7Asy8OuI2WUorNtsMXrTLp7Max2t5FCuGcbj iKjWDhU5XCWI4ObnuKuUMI0= 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== 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(-) 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