From patchwork Fri Jan 28 16:17:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 80870 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5266FB70EF for ; Sat, 29 Jan 2011 03:17:27 +1100 (EST) Received: (qmail 6030 invoked by alias); 28 Jan 2011 16:17:25 -0000 Received: (qmail 5998 invoked by uid 22791); 28 Jan 2011 16:17:20 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Jan 2011 16:17:10 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 3A7BC456; Fri, 28 Jan 2011 17:17:08 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LPtRP19+2ToN; Fri, 28 Jan 2011 17:17:05 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 539E5454; Fri, 28 Jan 2011 17:17:05 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p0SGH4cM012173; Fri, 28 Jan 2011 17:17:04 +0100 (MET) From: Rainer Orth To: Gerald Pfeifer Cc: gcc-patches@gcc.gnu.org Subject: Re: [wwwdocs] Document GCC 4.6 Solaris 2 changes References: Date: Fri, 28 Jan 2011 17:17:04 +0100 In-Reply-To: (Gerald Pfeifer's message of "Wed, 26 Jan 2011 23:04:36 +0100 (CET)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes 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 Gerald Pfeifer writes: > On Wed, 26 Jan 2011, Rainer Orth wrote: >> Index: htdocs/gcc-4.6/changes.html >> =================================================================== >> +

Solaris 2

>> +
    >> +

    New Features

    > > I believe this is the only port which used

    to differentiate > between features and other changes. It's fine if you really want > to handle it that way, just wanted to point it out. An alternative > would be to say "ABI Changes: ....2 I've tried that, but still think that using

    is clearer, especially since the ABI change (as always) is important enough to get special emphasis. >> +
  • Support symbol versioning with Sun linker.
  • > > "the Sun linker"? Right: I've fixed that throughout. >> +
  • Enable full ISO C99 support for C++ on Solaris 10+.
  • > > ISO C99 for C++? libstdc++ can make use of C99 features in libc, but that needs special enabling. >> +
  • Support TLS with Sun as on Solaris 2/x86.
  • > > Perhaps say "the Sun assembler"? At first I was wondering about the > grammar of this sentence reading the as as the English word as. ;-) Agreed. >> +

    ABI Changes

    >> +
  • Change ABI for returning 8-byte vectors in MMX registers on Solaris >> + 10+/x86 to match Sun Studio 12.1+ compilers.
  • > > "Change the ABI..." > > What happens with code (libraries,...) compiled with an earlier version of > GCC? Will this break? If so, a word of caution may be appropirate. Indeed: I've considerably expanded the section. > Looks good overall. Please consider my comments and repost/check in Here's the version I've checked in. Thanks for your careful comments. Rainer Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v retrieving revision 1.98 diff -u -p -r1.98 changes.html --- changes.html 28 Jan 2011 12:39:59 -0000 1.98 +++ changes.html 28 Jan 2011 16:12:59 -0000 @@ -804,6 +804,32 @@ supported on several Xilinx Spartan and At the moment, Android support is enabled only for ARM.
+

Solaris 2

+
    +

    New Features

    +
  • Support symbol versioning with the Sun linker.
  • +
  • Enable full ISO C99 support for C++ on Solaris 10+.
  • +
  • Support thread-local storage (TLS) with the Sun assembler on + Solaris 2/x86.
  • +
  • Support TLS on Solaris 8/9 if prerequisites are met.
  • +
  • Support COMDAT group with the GNU assembler and recent Sun + linker.
  • +
  • Support the Sun assembler visibility syntax.
  • +
  • Default Solaris 2/x86 to -march=pentium4 (Solaris + 10+) resp. -march=pentiumpro (Solaris 8/9).
  • +
  • Don't use SSE on Solaris 8/9 x86 by default.
  • +
  • Enable 128-bit long double (__float128) support on + Solaris 2/x86.
  • +

    ABI Change

    +
  • Change the ABI for returning 8-byte vectors like + __m64 in MMX registers on Solaris 10+/x86 to match the + Sun Studio 12.1+ compilers. This is an incompatible change. + If you use such types, you must either recompile all your code with + the new compiler or use the new -mvect8-ret-in-mem + option to remain compatible with previous versions of GCC and + Sun Studio.
  • +
+

Windows x86/x86_64

  • Initial support for decimal floating point.