]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: add softfloat support to mips64{,le}
authorMilan Knezevic <milan.knezevic@mips.com>
Thu, 26 Apr 2018 13:37:27 +0000 (15:37 +0200)
committerCherry Zhang <cherryyz@google.com>
Fri, 27 Apr 2018 14:50:17 +0000 (14:50 +0000)
commit2959128dc57618d7d5773411403ef0a255a9f72f
tree8f626d6af629fe6db769edcff712ff19a8342b24
parent62adf6fc2d70d9270b4213218e622c15504966be
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>
14 files changed:
doc/asm.html
src/cmd/compile/internal/mips64/galign.go
src/cmd/dist/build.go
src/cmd/dist/buildruntime.go
src/cmd/go/alldocs.go
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/internal/envcmd/env.go
src/cmd/go/internal/help/helpdoc.go
src/cmd/go/internal/work/gc.go
src/cmd/internal/objabi/util.go
src/runtime/cgo/asm_mips64x.s
src/runtime/cgo/gcc_mips64x.S
test/codegen/math.go
test/run.go