go/src/runtime/cgo
Cherry Zhang f9dafc742d cmd/compile, runtime, etc: get rid of constant FP registers
On ARM64, MIPS64, and PPC64, some floating point registers were
reserved for constants 0, 1, 2, 0.5, etc. This CL removes them.

On ARM64, they are never used. On MIPS64 and PPC64, the only use
case is a multiplication-by-2 in the old backend of the compiler,
which is replaced with an addition.

Change-Id: I737cbf43283756e3408964fc88c567a938c57036
Reviewed-on: https://go-review.googlesource.com/28095
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-08-30 23:16:17 +00:00
..
asm_386.s
asm_amd64.s
asm_arm.s runtime,runtime/cgo: save callee-saved FP register on arm 2016-05-25 06:54:28 +00:00
asm_arm64.s cmd/compile, runtime, etc: get rid of constant FP registers 2016-08-30 23:16:17 +00:00
asm_mips64x.s cmd/compile, runtime, etc: get rid of constant FP registers 2016-08-30 23:16:17 +00:00
asm_nacl_amd64p32.s
asm_ppc64x.s runtime: fix cgocallback_gofunc on ppc64x 2016-04-30 03:49:22 +00:00
asm_s390x.s
callbacks.go cmd/cgo, runtime, runtime/cgo: TSAN support for malloc 2016-05-25 23:22:24 +00:00
callbacks_traceback.go
cgo.go
dragonfly.go
freebsd.go
gcc_386.S
gcc_amd64.S
gcc_android.c
gcc_android_386.c
gcc_android_amd64.c
gcc_android_arm.c
gcc_android_arm64.c
gcc_arm.S
gcc_arm64.S
gcc_context.c runtime/cgo: avoid races on cgo_context_function 2016-06-02 18:47:48 +00:00
gcc_darwin_386.c
gcc_darwin_amd64.c
gcc_darwin_arm.c
gcc_darwin_arm64.c
gcc_dragonfly_amd64.c
gcc_fatalf.c
gcc_freebsd_386.c
gcc_freebsd_amd64.c
gcc_freebsd_arm.c
gcc_libinit.c runtime/cgo: avoid races on cgo_context_function 2016-06-02 18:47:48 +00:00
gcc_libinit_openbsd.c runtime/cgo: avoid races on cgo_context_function 2016-06-02 18:47:48 +00:00
gcc_libinit_windows.c runtime/cgo: avoid races on cgo_context_function 2016-06-02 18:47:48 +00:00
gcc_linux_386.c
gcc_linux_amd64.c runtime/cgo: add TSAN acquire/release calls 2016-05-31 20:53:16 +00:00
gcc_linux_arm.c
gcc_linux_arm64.c
gcc_linux_mips64x.c runtime/cgo: add linux/mips64x cgo support 2016-05-01 02:39:50 +00:00
gcc_linux_ppc64x.c
gcc_linux_s390x.c
gcc_mips64x.S cmd/compile, runtime, etc: get rid of constant FP registers 2016-08-30 23:16:17 +00:00
gcc_mmap.c runtime/cgo: add TSAN locks around mmap call 2016-06-03 18:26:01 +00:00
gcc_netbsd_386.c
gcc_netbsd_amd64.c
gcc_netbsd_arm.c
gcc_openbsd_386.c runtime/cgo: make cgo work with openbsd ABI changes 2016-05-19 15:43:37 +00:00
gcc_openbsd_amd64.c runtime/cgo: make cgo work with openbsd ABI changes 2016-05-19 15:43:37 +00:00
gcc_ppc64x.S
gcc_s390x.S runtime/cgo: restore the g pointer correctly in crosscall_s390x 2016-06-08 18:09:47 +00:00
gcc_setenv.c runtime/cgo: add tsan acquire/release around setenv/unsetenv 2016-08-23 14:07:58 +00:00
gcc_signal_darwin_armx.c
gcc_signal_darwin_lldb.c
gcc_solaris_amd64.c
gcc_traceback.c runtime: pass signal context to cgo traceback function 2016-05-31 21:17:40 +00:00
gcc_util.c runtime/cgo: add TSAN acquire/release calls 2016-05-31 20:53:16 +00:00
gcc_windows_386.c
gcc_windows_amd64.c
iscgo.go
libcgo.h runtime/cgo: avoid races on cgo_context_function 2016-06-02 18:47:48 +00:00
mmap.go
netbsd.go
openbsd.go
setenv.go
signal_darwin_arm.s
signal_darwin_arm64.s
signal_darwin_armx.go