From patchwork Sat Oct 6 15:57:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 189744 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 6CD662C0253 for ; Sun, 7 Oct 2012 01:57:36 +1000 (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=1350143856; 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=KvNjMNFkjzA9j+xQiMcBrWld/fk=; b=Glmou/0IqIkpmh/ P1p1f5RH7itJbcMd30gWILq1BVr61NX5UekqMfzFLDvn9YyFtnWt/21opyyuJkjF QciJyC/EzL2hiRy0N39K21mwi5sSDE1R4jzmfokgNaVKaLZ1zntjCFRI4XtRExmP fP1wkTT/btUlTq1TOf4pVkqoUlLI= 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=ela/u2HKyzNJqQ9juXKe2YxSNFCkcaxH3n7Nyi/nAuTY32Cb6IRgdeuLzFfo8t 3vE5ftf3qLK9m3C/fH6FnNO+Mxizg4/3dEil/DaXjW8TAuNn4EaYOErZzxV350pu SgAVBDa8PsyGhCz9PoEvwbxzdtxr3tOmIAn3YEIeU70ao=; Received: (qmail 22965 invoked by alias); 6 Oct 2012 15:57:31 -0000 Received: (qmail 22955 invoked by uid 22791); 6 Oct 2012 15:57:30 -0000 X-SWARE-Spam-Status: No, hits=-51.7 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; Sat, 06 Oct 2012 15:57:25 +0000 Received: from [192.168.0.129] (vie-188-118-240-184.dsl.sil.at [188.118.240.184]) by ainaz.pair.com (Postfix) with ESMTPSA id 4C6FC3F40F; Sat, 6 Oct 2012 11:57:24 -0400 (EDT) Date: Sat, 6 Oct 2012 17:57:52 +0200 (CEST) From: Gerald Pfeifer To: Oleg Endo cc: gcc-patches Subject: Re: [wwwdocs] SH 4.8 changes update In-Reply-To: <1349387554.9306.159.camel@yam-132-YW-E178-FTW> Message-ID: References: <1349387554.9306.159.camel@yam-132-YW-E178-FTW> 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 Hi Oleg, have you considered also documenting the new __builtin_thread_pointer and __builtin_set_thread_pointer built-ins? (I just noticed this by chance.) On Thu, 4 Oct 2012, Oleg Endo wrote: > The atomic options of SH have been changed recently. The attached patch > updates the 4.8 changes.html accordingly, plus some minor wording fixes. Looking at the list of parameters to -matomic-model=, it appears that a definition list (
) is better suitable than a regular list, so I went ahead and made the change below. Gerald Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.37 diff -u -3 -p -r1.37 changes.html --- changes.html 5 Oct 2012 19:30:26 -0000 1.37 +++ changes.html 6 Oct 2012 15:32:05 -0000 @@ -258,30 +258,30 @@ by this change.

  • A new option -matomic-model=model selects the model for the generated atomic sequences. The following models are supported: -
      -
    • soft-gusa
      +
      +
      soft-gusa
      Software gUSA sequences (SH3* and SH4* only). On SH4A targets this will now also partially utilize the movco.l and movli.l instructions. This is the default when the target - is sh3*-*-linux* or sh4*-*-linux*.
    • + is sh3*-*-linux* or sh4*-*-linux*. -
    • hard-llcs
      +
      hard-llcs
      Hardware movco.l / movli.l sequences - (SH4A only).
    • + (SH4A only). -
    • soft-tcb
      - Software thread control block sequences.
    • +
      soft-tcb
      + Software thread control block sequences.
      -
    • soft-imask
      - Software interrupt flipping sequences (privileged mode only). This is - the default when the target is sh1*-*-linux* or - sh2*-*-linux*.
    • +
      soft-imask
      + Software interrupt flipping sequences (privileged mode only). This + is the default when the target is sh1*-*-linux* or + sh2*-*-linux*.
      -
    • none
      +
      none
      Generates function calls to the respective __atomic - built-in functions. This is the default for SH64 targets or when the - target is not sh*-*-linux*.
    • -
  • + built-in functions. This is the default for SH64 targets or when + the target is not sh*-*-linux*. +
  • The option -msoft-atomic has been deprecated. It is now an alias for -matomic-model=soft-gusa.