diff options
author | Milan Knezevic <milan.knezevic@mips.com> | 2018-04-26 15:37:27 +0200 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2018-04-27 14:50:17 +0000 |
commit | 2959128dc57618d7d5773411403ef0a255a9f72f (patch) | |
tree | 8f626d6af629fe6db769edcff712ff19a8342b24 /doc/asm.html | |
parent | 62adf6fc2d70d9270b4213218e622c15504966be (diff) | |
download | go-2959128dc57618d7d5773411403ef0a255a9f72f.tar.gz go-2959128dc57618d7d5773411403ef0a255a9f72f.zip |
cmd/compile: add softfloat support to mips64{,le}
mips64 softfloat support is based on mips implementation and introduces
new enviroment variable GOMIPS64.
GOMIPS64 is a GOARCH=mips64{,le} specific option, for a choice between
hard-float and soft-float. Valid values are 'hardfloat' (default) and
'softfloat'. It is passed to the assembler as
'GOMIPS64_{hardfloat,softfloat}'.
Change-Id: I7f73078627f7cb37c588a38fb5c997fe09c56134
Reviewed-on: https://go-review.googlesource.com/108475
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'doc/asm.html')
-rw-r--r-- | doc/asm.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/asm.html b/doc/asm.html index c954079b66..f2f8fad576 100644 --- a/doc/asm.html +++ b/doc/asm.html @@ -939,6 +939,12 @@ The value of <code>GOMIPS</code> environment variable (<code>hardfloat</code> or <code>GOMIPS_hardfloat</code> or <code>GOMIPS_softfloat</code>. </p> +<p> +The value of <code>GOMIPS64</code> environment variable (<code>hardfloat</code> or +<code>softfloat</code>) is made available to assembly code by predefining either +<code>GOMIPS64_hardfloat</code> or <code>GOMIPS64_softfloat</code>. +</p> + <h3 id="unsupported_opcodes">Unsupported opcodes</h3> <p> |