From patchwork Wed Feb 28 19:58:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Edelsohn X-Patchwork-Id: 879349 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-474047-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.b="PVRt9cON"; 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 3zs5xB70ysz9s35 for ; Thu, 1 Mar 2018 06:59:09 +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=DC7eJb8oLDQhtvRwmh5s8aFr5YWX7v7VYTCyMKshJ6hVYO L2IEv/u9YuBn8sLG1YI7ChTI8Uuq1m432ruJ/TQsU57x1O/TR83bQsMo3p7kKGdx ITwxS2L+Jx6A6rDIelQECqnQCstSmKc2vk8zgm6EaeS5AbvzC8gJPQxQ6uTqI= 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=lRu9ZUBN90UKDlXBSg7l1bHUVxk=; b=PVRt9cONg/XW9WB90Shh K2uoQjN+C1Jdv2W68rampfKMbc3x7WERHV6vVjC5+UHVzHWnnYKkH+Nf+ldJzCNa 5yU+g8AQ/1190tZOYgOK9TcUhVv1SmJ0KyRYGvpBU7SFNqDBLpvKilSo+ZVKtCK0 1MUzywA7qFWCDpR2VpYop1E= Received: (qmail 85023 invoked by alias); 28 Feb 2018 19:59:03 -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 85001 invoked by uid 89); 28 Feb 2018 19:59:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1951 X-HELO: mail-lf0-f52.google.com Received: from mail-lf0-f52.google.com (HELO mail-lf0-f52.google.com) (209.85.215.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Feb 2018 19:59:00 +0000 Received: by mail-lf0-f52.google.com with SMTP id y19so5354550lfd.4 for ; Wed, 28 Feb 2018 11:59:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VG2f55Jr3WIgyfp/88FRYZvezOAaUfqc+kNalUdMGQE=; b=WBpLhKe4kpYpmMcgColF4gbynHE3n2dd8weoT2lyZjM9PTBZnPRBcUlMRU452RvGFd LwGGDy5jsIyCZz+7E0mHB8YH72BP3YJG0853v5xb7+hjv1E3EIjhYNvSnmCKEoRJkFWM 6JM7b1pS+sHodUxyWnuUo7eqYZFmFFZSSd8M3kCDFpDmGox8sGUfIBkhdw+OVcU4oTrf FmPyJ2n/i7MJpkN5NmcQJMvaFGY8ZSOcGNmzt7zcCm0HCoSvt+hwQTTfKNaSsGjUlALW Wkm2vGs+ruPUtkR2hKrRZp4eWV9W3NMl8m4hdzQSStsLKpw3G0YvEpKX6O/oEfIfAIK/ 6GVQ== X-Gm-Message-State: APf1xPBlgNqCYcl5ycclNXNFyrwpgMs8At9Pk3Wggu6EfOOG6GClhlaK pMYi8aykI2cNwCEiZnDoWM66DtZrp12kR+rOV5Cw0Q== X-Google-Smtp-Source: AG47ELs2spLW8TXY5GMSEdbXOgp2kEAlMhc17IVwlC1P/cKk7ZSzZWoxeATC1nxv7ZTmSzLzjOlKoOMEDMKGujrhFlM= X-Received: by 10.25.115.136 with SMTP id h8mr13687376lfk.117.1519847938122; Wed, 28 Feb 2018 11:58:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.46.64.133 with HTTP; Wed, 28 Feb 2018 11:58:57 -0800 (PST) From: David Edelsohn Date: Wed, 28 Feb 2018 14:58:57 -0500 Message-ID: Subject: [PATCH] AIX 7.1 and 7.2 configure support To: GCC Patches AIX 7.1 continues to support Power4 as the minimum ISA level, so this reverts the recent patch to aix71.h. AIX 7.2 requires Power7 as the minimum ISA level. The second part of this patch adds a new aix72.h file and updates config.gcc. Thanks, David * config.gcc (powerpc-ibm-aix7.1.*): New stanza. (powerpc-ibm-aix[789]*): Default to AIX 7.2. * config/rs6000/aix71.h (TARGET_DEFAULT): Revert to Power4 ISA. * config/rs6000/aix72.h: New file. Index: config.gcc =================================================================== --- config.gcc (revision 258066) +++ config.gcc (working copy) @@ -2648,7 +2648,7 @@ extra_headers=altivec.h default_use_cxa_atexit=yes ;; -rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*) +rs6000-ibm-aix7.1.* | powerpc-ibm-aix7.1.*) tm_file="${tm_file} rs6000/aix.h rs6000/aix71.h rs6000/xcoff.h rs6000/aix-stdint.h" tmake_file="rs6000/t-aix52 t-slibgcc" extra_options="${extra_options} rs6000/aix64.opt" @@ -2658,6 +2658,16 @@ extra_headers="altivec.h amo.h" default_use_cxa_atexit=yes ;; +rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*) + tm_file="${tm_file} rs6000/aix.h rs6000/aix72.h rs6000/xcoff.h rs6000/aix-stdint.h" + tmake_file="rs6000/t-aix52 t-slibgcc" + extra_options="${extra_options} rs6000/aix64.opt" + use_collect2=yes + thread_file='aix' + use_gcc_stdint=wrap + extra_headers="altivec.h amo.h" + default_use_cxa_atexit=yes + ;; rl78-*-elf*) tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}" target_has_targetm_common=no Index: config/rs6000/aix71.h =================================================================== --- config/rs6000/aix71.h (revision 258066) +++ config/rs6000/aix71.h (working copy) @@ -132,7 +132,7 @@ #undef RS6000_CPU #undef TARGET_DEFAULT -#define TARGET_DEFAULT ISA_2_5_MASKS_EMBEDDED +#define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF) #undef PROCESSOR_DEFAULT #define PROCESSOR_DEFAULT PROCESSOR_POWER7