From patchwork Sat Oct 6 15:57:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [wwwdocs] SH 4.8 changes update From: Gerald Pfeifer X-Patchwork-Id: 189744 Message-Id: To: Oleg Endo Cc: gcc-patches Date: Sat, 6 Oct 2012 17:57:52 +0200 (CEST) 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.