From: Rob Pike Date: Tue, 14 Jul 2015 00:24:40 +0000 (+1000) Subject: doc: add a few more details about arm and ppc64 to asm.html X-Git-Tag: go1.5beta2~60 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=df9423f4dcd7c5f6804f22daa37edf40fdc55d21;p=gostls13.git doc: add a few more details about arm and ppc64 to asm.html Update #10096 Arm64 and Ppc64 are still pretty sketchy. Change-Id: Iaf821b0f17bad8c71d338d45de75d4a345cac2dd Reviewed-on: https://go-review.googlesource.com/12160 Reviewed-by: Russ Cox --- diff --git a/doc/asm.html b/doc/asm.html index 76aecad54c..11249a3b7f 100644 --- a/doc/asm.html +++ b/doc/asm.html @@ -663,6 +663,13 @@ The name SP always refers to the virtual stack pointer described ea For the hardware register, use R13.

+

+Condition code syntax is to append a period and the one- or two-letter code to the instruction, +as in MOVW.EQ. +Multiple codes may be appended: MOVM.IA.W. +The order of the code modifiers is irrelevant. +

+

Addressing modes:

@@ -703,12 +710,23 @@ The other codes are -> (arithmetic right shift), R0, g, and R12 through R15 inclusive. +
  • +(R5, R6): Destination register pair. +
  • +

    ARM64

    -TODO +The ARM64 port is in an experimental state. +

    + +

    +Instruction modifiers are appended to the instruction following a period. +The only modifiers are P (postincrement) and W +(preincrement): +MOVW.P, MOVW.W

    @@ -718,7 +736,7 @@ Addressing modes:

    @@ -726,7 +744,7 @@ TODO

    Power64, a.k.a. ppc64

    -TODO +The Power 64 port is in an experimental state.

    @@ -737,7 +755,11 @@ Addressing modes:

  • (R5)(R6*1): The location at R5 plus R6. It is a scaled -mode like on the x86, but the only scale allowed is 1. +mode as on the x86, but the only scale allowed is 1. +
  • + +
  • +(R5+R6): Alias for (R5)(R6*1)