From patchwork Sun Feb 17 19:24:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 221086 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 6E6E82C007C for ; Mon, 18 Feb 2013 06:25:01 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1361733902; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=9n/FrAUXShZlgb3Ycafasbuj8s0=; b=NGSA5vBbN1vy1qr gZVEulo/M9G2DxiooYoufYZZuaqyRiHjmjIhWgB/uK+rZMN5tzV5H3pNf5+OpDRY oYGS0zmSlrWlvrbfoXIlfoLMQ/c8cYvm8pUlDasl7mJa5GMe4Y4FWZSj4NjCFG9t DFnAiBBp6wmPvOpp95rrLhwwXFC8= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=OcklcNOsKhi0rJpCqzjJLfmKIIZZObdftUO+/jNEVzwmVTea5RTqrbz1Xho5/3 dqTc3oR83DYIP5mlGR4cvRRBDPCN0NraOez8OlyWq7UHnaqL/M0gIwNeooaL58GZ Qtgs5rX3kxm6toWL2o9Wu2z+eZo9YZYc6E2Mm16NCS+XY=; Received: (qmail 4672 invoked by alias); 17 Feb 2013 19:24:53 -0000 Received: (qmail 4634 invoked by uid 22791); 17 Feb 2013 19:24:51 -0000 X-SWARE-Spam-Status: No, hits=-51.6 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Feb 2013 19:24:45 +0000 Received: from [192.168.0.132] (vie-188-118-252-092.dsl.sil.at [188.118.252.92]) by ainaz.pair.com (Postfix) with ESMTPSA id 7A11A3F410; Sun, 17 Feb 2013 14:24:43 -0500 (EST) Date: Sun, 17 Feb 2013 20:24:40 +0100 (CET) From: Gerald Pfeifer To: "H.J. Lu" cc: gcc-patches@gcc.gnu.org Subject: Re: [GCC 4.8 changes] PATCH: Mention -maddress-mode=[short|long] In-Reply-To: <20130211180529.GA5457@intel.com> Message-ID: References: <20130211180529.GA5457@intel.com> 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 On Mon, 11 Feb 2013, H.J. Lu wrote: > This patch updates GCC 4.8 changes.html to mention > -maddress-mode=[short|long] for x32. OK to install? I made two tweaks on top. If you can get a colleague who is a native speaker to have a look, there may be more clarifications/ improvements to make. Gerald Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.101 diff -u -3 -p -r1.101 changes.html --- changes.html 17 Feb 2013 12:40:57 -0000 1.101 +++ changes.html 17 Feb 2013 19:05:55 -0000 @@ -465,10 +465,10 @@ B b(42); // OK wrong results. You must build all modules with -mpreferred-stack-boundary=3, including any libraries. This includes the system libraries and startup modules. -
  • New -maddress-mode=[short|long] option for x32. +
  • New -maddress-mode=[short|long] options for x32. -maddress-mode=short overrides default 64-bit addresses to - 32-bit by emitting 0x67 address-size override prefix. This - is the default address mode for x32.
  • + 32-bit by emitting the 0x67 address-size override prefix. + This is the default address mode for x32.
  • New built-in functions to detect run-time CPU type and ISA:
    • A built-in function __builtin_cpu_is has been added to