1
0
mirror of https://github.com/golang/go synced 2024-11-19 08:24:41 -07:00
go/src/runtime
Josh Bleecher Snyder 25e793d7ea cmd/internal/gc, runtime: speed up some cases of _, ok := i.(T)
Some type assertions of the form _, ok := i.(T) allow efficient inlining.
Such type assertions commonly show up in type switches.
For example, with this optimization, using 6g, the length of
encoding/binary's intDataSize function shrinks from 2224 to 1728 bytes (-22%).

benchmark                    old ns/op     new ns/op     delta
BenchmarkAssertI2E2Blank     4.67          0.82          -82.44%
BenchmarkAssertE2T2Blank     4.38          0.83          -81.05%
BenchmarkAssertE2E2Blank     3.88          0.83          -78.61%
BenchmarkAssertE2E2          14.2          14.4          +1.41%
BenchmarkAssertE2T2          10.3          10.4          +0.97%
BenchmarkAssertI2E2          13.4          13.3          -0.75%

Change-Id: Ie9798c3e85432bb8e0f2c723afc376e233639df7
Reviewed-on: https://go-review.googlesource.com/7697
Reviewed-by: Keith Randall <khr@golang.org>
2015-03-19 16:20:32 +00:00
..
cgo runtime/cgo: catch EXC_BAD_ACCESS on darwin/arm 2015-03-17 12:12:48 +00:00
debug runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
pprof runtime: remove futile wakeups from trace 2015-03-17 14:14:55 +00:00
race runtime/race: update race runtime to rev 229396 2015-02-20 18:06:15 +00:00
alg.go runtime: remove size argument from hash and equal algorithms 2015-01-07 21:57:01 +00:00
append_test.go
arch1_386.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
arch1_amd64.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
arch1_amd64p32.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
arch1_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
arch1_arm.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
arch1_ppc64.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
arch1_ppc64le.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
arch_386.go runtime: remove duplicated Go constants 2014-09-16 10:22:15 -04:00
arch_amd64.go runtime: remove duplicated Go constants 2014-09-16 10:22:15 -04:00
arch_amd64p32.go runtime: remove duplicated Go constants 2014-09-16 10:22:15 -04:00
arch_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
arch_arm.go runtime: remove duplicated Go constants 2014-09-16 10:22:15 -04:00
arch_ppc64.go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
arch_ppc64le.go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
asm_386.s runtime: add argument sizes for asm functions for bytes, strings 2015-03-07 06:02:40 +00:00
asm_amd64.s runtime: add argument sizes for asm functions for bytes, strings 2015-03-07 06:02:40 +00:00
asm_amd64p32.s runtime: add argument sizes for asm functions for bytes, strings 2015-03-07 06:02:40 +00:00
asm_arm64.s runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
asm_arm.s runtime: add argument sizes for asm functions for bytes, strings 2015-03-07 06:02:40 +00:00
asm_ppc64x.s runtime: add argument sizes for asm functions for bytes, strings 2015-03-07 06:02:40 +00:00
asm.s [dev.cc] runtime: convert assembly files for C to Go transition 2014-11-11 17:06:22 -05:00
atomic_386.go runtime, sync/atomic: add write barrier for atomic write of pointer 2015-01-06 00:27:06 +00:00
atomic_amd64x.go runtime, sync/atomic: add write barrier for atomic write of pointer 2015-01-06 00:27:06 +00:00
atomic_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
atomic_arm64.s runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
atomic_arm.go runtime: fix build for ARM 2015-01-06 01:29:42 +00:00
atomic_pointer.go runtime, sync/atomic: add write barrier for atomic write of pointer 2015-01-06 00:27:06 +00:00
atomic_ppc64x.go runtime, sync/atomic: add write barrier for atomic write of pointer 2015-01-06 00:27:06 +00:00
atomic_ppc64x.s [dev.cc] runtime: fix FP reference in atomic_ppc64x.s 2015-02-19 04:05:41 +00:00
cgo.go [dev.cc] runtime/cgo: convert from C to Go 2014-11-11 17:05:37 -05:00
cgocall.go cmd/6g, liblink, runtime: support saving base pointers 2015-02-02 19:36:05 +00:00
cgocallback.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
chan_test.go runtime: add a select test 2015-03-18 08:57:30 +00:00
chan.go runtime: remove futile wakeups from trace 2015-03-17 14:14:55 +00:00
closure_test.go
compiler.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
complex_test.go
complex.go [dev.cc] runtime: convert basic library routines from C to Go 2014-11-11 17:07:06 -05:00
cpuprof.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
cputicks.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
crash_cgo_test.go runtime: skip tests that need fork on darwin/arm 2015-02-27 01:22:55 +00:00
crash_test.go runtime: skip tests that need fork on darwin/arm 2015-02-27 01:22:55 +00:00
debug.go runtime: rename m.gcing to m.preemptoff and make it a string 2015-02-02 19:34:51 +00:00
defs1_linux.go build: merge the great pkg/ rename into dev.power64 2014-10-22 13:25:37 -04:00
defs1_netbsd_386.go [dev.cc] runtime: convert netbsd/386 port to Go 2014-11-22 22:09:11 +11:00
defs1_netbsd_amd64.go [dev.cc] runtime: convert netbsd/amd64 port to Go 2014-11-22 16:05:31 +11:00
defs1_netbsd_arm.go runtime: convert netbsd/arm to Go 2014-12-05 16:17:09 -05:00
defs1_solaris_amd64.go [dev.cc] runtime: convert Solaris port to Go 2014-11-13 16:07:10 +01:00
defs2_linux.go
defs3_linux.go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
defs_arm_linux.go
defs_darwin_386.go [dev.cc] runtime: convert defs_$GOOS_$GOARCH.h to Go 2014-11-11 17:07:37 -05:00
defs_darwin_amd64.go [dev.cc] runtime: convert defs_$GOOS_$GOARCH.h to Go 2014-11-11 17:07:37 -05:00
defs_darwin_arm.go runtime: darwin/arm support 2015-02-06 05:48:56 +00:00
defs_darwin.go
defs_dragonfly_amd64.go [dev.cc] runtime: change set_sec to take int64 2014-11-14 14:50:00 -05:00
defs_dragonfly.go all: remove dragonfly/386 port 2015-03-14 10:47:19 +00:00
defs_freebsd_386.go [dev.cc] runtime: change set_sec to take int64 2014-11-14 14:50:00 -05:00
defs_freebsd_amd64.go [dev.cc] runtime: change set_sec to take int64 2014-11-14 14:50:00 -05:00
defs_freebsd_arm.go [dev.cc] runtime: change set_sec to take int64 2014-11-14 14:50:00 -05:00
defs_freebsd.go
defs_linux_386.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
defs_linux_amd64.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
defs_linux_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
defs_linux_arm.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
defs_linux_ppc64.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
defs_linux_ppc64le.go runtime: mark pages we return to kernel as NOHUGEPAGE 2015-02-25 21:16:18 +00:00
defs_linux.go build: merge the great pkg/ rename into dev.power64 2014-10-22 13:25:37 -04:00
defs_nacl_386.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
defs_nacl_amd64p32.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
defs_nacl_arm.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
defs_netbsd_386.go
defs_netbsd_amd64.go
defs_netbsd_arm.go
defs_netbsd.go
defs_openbsd_386.go [dev.cc] runtime: change set_sec to take int64 2014-11-14 14:50:00 -05:00
defs_openbsd_amd64.go [dev.cc] runtime: change set_sec to take int64 2014-11-14 14:50:00 -05:00
defs_openbsd_arm.go runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
defs_openbsd.go
defs_plan9_386.go runtime: consolidate arch-specific signal handlers on Plan 9 2014-12-30 14:36:15 +00:00
defs_plan9_amd64.go runtime: consolidate arch-specific signal handlers on Plan 9 2014-12-30 14:36:15 +00:00
defs_solaris_amd64.go
defs_solaris.go
defs_windows_386.go runtime: introduce CPU access functions on windows 2015-02-10 01:46:30 +00:00
defs_windows_amd64.go runtime: introduce CPU access functions on windows 2015-02-10 01:46:30 +00:00
defs_windows.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
env_plan9.go runtime: remove unused getenv function 2015-03-02 19:19:25 +00:00
env_posix.go runtime: remove unused getenv function 2015-03-02 19:19:25 +00:00
env_test.go runtime: do not share underlying envs/argv array 2015-03-09 17:25:23 +00:00
error.go runtime: fix minor typo 2015-03-18 15:14:37 +00:00
export_futex_test.go
export_test.go runtime: do not share underlying envs/argv array 2015-03-09 17:25:23 +00:00
export_windows_test.go runtime: do not display Windows Error Reporting dialogue 2015-01-06 05:31:40 +00:00
extern.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
funcdata.h [dev.cc] runtime: convert header files to Go 2014-11-11 17:05:19 -05:00
futex_test.go [dev.cc] runtime: convert scheduler from C to Go 2014-11-11 17:08:33 -05:00
gc_test.go
gcinfo_test.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
gengoos.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
go_tls.h [dev.cc] cmd/dist: adjust for build process without cmd/cc 2014-11-11 01:29:05 -05:00
hash32.go runtime: remove size argument from hash and equal algorithms 2015-01-07 21:57:01 +00:00
hash64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
hash_test.go runtime: a better fallback hash 2014-12-22 22:41:01 +00:00
hashmap_fast.go runtime: remove size argument from hash and equal algorithms 2015-01-07 21:57:01 +00:00
hashmap.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
heapdump.go runtime: reorganize memory code 2015-02-19 20:17:01 +00:00
iface_test.go cmd/internal/gc, runtime: speed up some cases of _, ok := i.(T) 2015-03-19 16:20:32 +00:00
iface.go cmd/internal/gc, runtime: speed up some cases of _, ok := i.(T) 2015-03-19 16:20:32 +00:00
lfstack_32bit.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
lfstack_amd64.go [dev.cc] runtime: fix lfstack for amd64 addresses in top half of addr space 2014-11-14 12:55:23 -05:00
lfstack_linux_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
lfstack_linux_ppc64x.go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
lfstack_test.go [dev.garbage] runtime: fix TestLFStack on 386 2014-10-27 15:57:07 -04:00
lfstack.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
lock_futex.go runtime: rename m.gcing to m.preemptoff and make it a string 2015-02-02 19:34:51 +00:00
lock_sema.go runtime: fix writebarrier throw in lock_sema 2015-03-17 19:20:11 +00:00
Makefile
malloc_test.go cmd/gc: don't copy []byte during string concatenation 2015-01-27 18:15:42 +00:00
malloc.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
map_test.go cmd/gc: fix noscan maps 2015-02-15 08:52:14 +00:00
mapspeed_test.go cmd/gc: don't call memequal twice in generated type.eq routines 2015-02-26 00:34:29 +00:00
mbarrier.go runtime: Remove write barriers during STW. 2015-03-17 17:33:21 +00:00
mbitmap.go runtime: Remove boundary bit logic. 2015-03-04 20:55:55 +00:00
mcache.go runtime: bound sudog cache 2015-03-04 14:14:29 +00:00
mcentral.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
mem_bsd.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
mem_darwin.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
mem_linux.go runtime: fix build, divide by constant 0 is a compile-time error 2015-02-25 21:39:54 +00:00
mem_plan9.go runtime: fix memory allocator on Plan 9 2015-02-26 21:47:16 +00:00
mem_windows.go runtime: move all stdFunctions into os1_windows.go (no code changes) 2015-02-12 04:04:59 +00:00
memclr_386.s [dev.power64] cmd/5a, cmd/6a, cmd/8a, cmd/9a: make labels function-scoped 2014-10-28 21:50:16 -04:00
memclr_amd64.s [dev.power64] cmd/5a, cmd/6a, cmd/8a, cmd/9a: make labels function-scoped 2014-10-28 21:50:16 -04:00
memclr_arm64.s runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
memclr_arm.s [dev.cc] all: edit assembly source for ARM to be more regular 2015-02-13 23:08:51 +00:00
memclr_plan9_386.s [dev.power64] cmd/5a, cmd/6a, cmd/8a, cmd/9a: make labels function-scoped 2014-10-28 21:50:16 -04:00
memclr_plan9_amd64.s
memclr_ppc64x.s all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
memmove_386.s
memmove_amd64.s
memmove_arm64.s runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
memmove_arm.s [dev.cc] all: edit assembly source for ARM to be more regular 2015-02-13 23:08:51 +00:00
memmove_linux_amd64_test.go
memmove_nacl_amd64p32.s
memmove_plan9_386.s
memmove_plan9_amd64.s
memmove_ppc64x.s all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
memmove_test.go cmd/gc: optimize memclr of slices and arrays 2015-01-09 22:35:25 +00:00
mfinal_test.go runtime: update docs, code for SetFinalizer 2014-10-06 14:18:09 -04:00
mfinal.go runtime: remove runtime frames from stacks in traces 2015-03-10 14:46:15 +00:00
mfixalloc.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
mgc.go runtime: run concurrent mark phase on regular stack 2015-03-19 15:55:12 +00:00
mgcmark.go runtime: combine gcWorkProducer into gcWork 2015-03-19 15:55:21 +00:00
mgcsweep.go runtime: remove runtime frames from stacks in traces 2015-03-10 14:46:15 +00:00
mgcwork.go runtime: combine gcWorkProducer into gcWork 2015-03-19 15:55:21 +00:00
mheap.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
mknacl.sh
mprof.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
msize.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
mstats.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
netpoll_epoll.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
netpoll_kqueue.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
netpoll_nacl.go
netpoll_solaris.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
netpoll_stub.go runtime: define netpollinited on Plan 9 2015-01-14 22:04:56 +00:00
netpoll_windows.go runtime: move all stdFunctions into os1_windows.go (no code changes) 2015-02-12 04:04:59 +00:00
netpoll.go runtime: Remove write barriers during STW. 2015-03-17 17:33:21 +00:00
noasm.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
norace_test.go [dev.cc] runtime: convert race implementation from C to Go 2014-11-11 17:08:14 -05:00
os1_darwin.go runtime: use urandom instead of random 2015-01-09 00:09:42 +00:00
os1_dragonfly.go all: remove dragonfly/386 port 2015-03-14 10:47:19 +00:00
os1_freebsd.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
os1_linux.go runtime: use urandom instead of random 2015-01-09 00:09:42 +00:00
os1_nacl.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
os1_netbsd_386.go [dev.cc] runtime: convert netbsd/386 port to Go 2014-11-22 22:09:11 +11:00
os1_netbsd_amd64.go [dev.cc] runtime: convert netbsd/amd64 port to Go 2014-11-22 16:05:31 +11:00
os1_netbsd.go runtime: simplify NetBSD semaphores 2015-02-25 03:02:28 +00:00
os1_openbsd.go runtime: remove reference to openbsd kern.rthreads sysctl 2015-03-13 02:51:33 +00:00
os1_plan9.go runtime: don't use /dev/random on Plan 9 2015-03-01 18:33:56 +00:00
os1_windows_386.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
os1_windows_amd64.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
os1_windows.go runtime: remove makeStringSlice 2015-03-03 17:54:47 +00:00
os2_darwin.go [dev.cc] runtime: convert operating system support code from C to Go 2014-11-11 17:08:54 -05:00
os2_dragonfly.go [dev.cc] runtime: convert dragonfly/amd64 port to Go 2014-11-15 04:47:20 +11:00
os2_freebsd.go [dev.cc] runtime: convert freebsd to Go 2014-11-11 23:00:29 -05:00
os2_linux.go [dev.cc] runtime: convert operating system support code from C to Go 2014-11-11 17:08:54 -05:00
os2_nacl.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
os2_netbsd.go [dev.cc] runtime: convert netbsd/amd64 port to Go 2014-11-22 16:05:31 +11:00
os2_openbsd.go [dev.cc] runtime: convert openbsd/amd64 port to Go 2014-11-14 13:01:12 +11:00
os2_plan9.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os2_solaris.go [dev.cc] runtime: convert Solaris port to Go 2014-11-13 16:07:10 +01:00
os2_windows.go [dev.cc] runtime: convert remaining windows C code to Go 2014-11-20 12:24:03 +11:00
os3_plan9.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
os3_solaris.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os_android_arm.go runtime: add comments for blank import of "unsafe" 2014-12-23 05:09:07 +00:00
os_darwin_arm.go runtime: darwin/arm support 2015-02-06 05:48:56 +00:00
os_darwin.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os_dragonfly.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os_freebsd_arm.go [dev.cc] runtime: convert freebsd to Go 2014-11-11 23:00:29 -05:00
os_freebsd.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os_linux_386.go runtime: clean up & go-ify the hash function seeder 2014-12-10 21:15:35 +00:00
os_linux_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
os_linux_arm.go runtime: use runtime.sysargs to parse auxv on linux/arm 2015-01-14 05:08:06 +00:00
os_linux.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os_nacl_arm.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
os_nacl.go runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
os_netbsd_arm.go runtime: convert netbsd/arm to Go 2014-12-05 16:17:09 -05:00
os_netbsd.go runtime: log all thread stack traces during GODEBUG=crash on Linux and OS X 2015-01-14 18:33:38 +00:00
os_openbsd_arm.go runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
os_openbsd.go runtime: simplify OpenBSD semaphores 2015-02-25 02:30:11 +00:00
os_plan9.go runtime: cleanup after conversion to Go 2015-02-13 04:59:29 +00:00
os_solaris.go [dev.cc] runtime: convert Solaris port to Go 2014-11-13 16:07:10 +01:00
os_windows.go runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
panic1.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
panic.go runtime: apply comments from CL 3742 2015-03-05 15:46:56 +00:00
parfor_test.go runtime: eliminate parfor ctx field 2015-01-29 17:38:16 +00:00
parfor.go runtime: use func value for parfor body 2015-01-29 17:38:32 +00:00
print1_write_android.go [dev.cc] runtime: print to stderr as well as android logd 2015-02-20 18:30:09 +00:00
print1_write.go runtime: add missing copyright notices 2015-01-09 20:06:33 +00:00
print1.go runtime: delete dead code called from C. 2015-01-14 22:20:44 +00:00
proc1.go runtime: Remove write barriers during STW. 2015-03-17 17:33:21 +00:00
proc_test.go cmd/gc: transform closure calls to function calls 2015-02-13 12:12:18 +00:00
proc.go runtime: remove runtime frames from stacks in traces 2015-03-10 14:46:15 +00:00
race0.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
race1.go runtime: adjust program counters in race detector 2015-02-20 18:04:16 +00:00
race_amd64.s runtime: adjust program counters in race detector 2015-02-20 18:04:16 +00:00
race.go runtime: adjust program counters in race detector 2015-02-20 18:04:16 +00:00
rdebug.go [dev.cc] runtime: convert scheduler from C to Go 2014-11-11 17:08:33 -05:00
rt0_android_arm.s
rt0_darwin_386.s
rt0_darwin_amd64.s
rt0_darwin_arm.s runtime: darwin/arm support 2015-02-06 05:48:56 +00:00
rt0_dragonfly_amd64.s
rt0_freebsd_386.s
rt0_freebsd_amd64.s
rt0_freebsd_arm.s runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
rt0_linux_386.s [dev.garbage] all: merge dev.cc into dev.garbage 2014-11-15 08:00:38 -05:00
rt0_linux_amd64.s
rt0_linux_arm64.s runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
rt0_linux_arm.s [dev.cc] all: edit assembly source for ARM to be more regular 2015-02-13 23:08:51 +00:00
rt0_linux_ppc64.s cmd/cgo, runtime/cgo: support ppc64 2015-01-07 20:36:27 +00:00
rt0_linux_ppc64le.s cmd/cgo, runtime/cgo: support ppc64 2015-01-07 20:36:27 +00:00
rt0_nacl_386.s
rt0_nacl_amd64p32.s runtime: disable fake time on nacl 2014-10-27 20:47:15 -04:00
rt0_nacl_arm.s
rt0_netbsd_386.s
rt0_netbsd_amd64.s
rt0_netbsd_arm.s runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
rt0_openbsd_386.s
rt0_openbsd_amd64.s
rt0_openbsd_arm.s runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
rt0_plan9_386.s runtime: more NOPTR 2014-09-24 19:04:06 -04:00
rt0_plan9_amd64.s runtime: more NOPTR 2014-09-24 19:04:06 -04:00
rt0_solaris_amd64.s runtime: more NOPTR 2014-09-24 19:04:06 -04:00
rt0_windows_386.s runtime: more NOPTR 2014-09-24 17:50:44 -04:00
rt0_windows_amd64.s [dev.cc] runtime: convert assembly files for C to Go transition 2014-11-11 17:06:22 -05:00
rune.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
runtime1.go runtime: copy env strings on startup 2015-03-17 17:27:42 +00:00
runtime2.go runtime: fix writebarrier throw in lock_sema 2015-03-17 19:20:11 +00:00
runtime_linux_test.go
runtime_test.go all: remove dragonfly/386 port 2015-03-14 10:47:19 +00:00
runtime_unix_test.go
runtime-gdb_test.go runtime: TestGdbPython 'print mapvar' should not need unwinding 2015-03-01 10:08:49 +00:00
runtime-gdb.py gdb: fix map prettyprinter 2015-02-25 02:36:41 +00:00
runtime.go runtime: do not share underlying envs/argv array 2015-03-09 17:25:23 +00:00
select.go runtime: remove futile wakeups from trace 2015-03-17 14:14:55 +00:00
sema.go runtime: remove runtime frames from stacks in traces 2015-03-10 14:46:15 +00:00
signal1_unix.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
signal_386.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
signal_amd64x.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
signal_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
signal_arm.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
signal_darwin_386.go [dev.cc] runtime: convert signal handlers from C to Go 2014-11-11 17:05:55 -05:00
signal_darwin_amd64.go [dev.cc] runtime: convert signal handlers from C to Go 2014-11-11 17:05:55 -05:00
signal_darwin_arm.go runtime: darwin/arm support 2015-02-06 05:48:56 +00:00
signal_darwin.go [dev.cc] runtime: convert signal handlers from C to Go 2014-11-11 17:05:55 -05:00
signal_dragonfly_amd64.go [dev.cc] runtime: convert dragonfly/amd64 port to Go 2014-11-15 04:47:20 +11:00
signal_dragonfly.go [dev.cc] runtime: convert dragonfly/amd64 port to Go 2014-11-15 04:47:20 +11:00
signal_freebsd_386.go [dev.cc] runtime: convert freebsd to Go 2014-11-11 23:00:29 -05:00
signal_freebsd_amd64.go [dev.cc] runtime: convert freebsd to Go 2014-11-11 23:00:29 -05:00
signal_freebsd_arm.go [dev.cc] runtime: convert freebsd to Go 2014-11-11 23:00:29 -05:00
signal_freebsd.go [dev.cc] runtime: make SIGSYS notifiable on freebsd (again) 2014-11-14 04:29:03 +11:00
signal_linux_386.go [dev.cc] runtime: add explicit siginfo.si_addr field 2014-11-19 14:56:49 -05:00
signal_linux_amd64.go [dev.cc] runtime: add explicit siginfo.si_addr field 2014-11-19 14:56:49 -05:00
signal_linux_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
signal_linux_arm.go [dev.cc] runtime: add explicit siginfo.si_addr field 2014-11-19 14:56:49 -05:00
signal_linux_ppc64x.go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
signal_linux.go runtime: run libc SIGSETXID and SIGCANCEL handlers on signal stack 2014-12-23 01:33:36 +00:00
signal_nacl_386.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
signal_nacl_amd64p32.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
signal_nacl_arm.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
signal_nacl.go [dev.cc] runtime: convert nacl support to Go 2014-11-21 10:22:18 -05:00
signal_netbsd_386.go [dev.cc] runtime: convert netbsd/386 port to Go 2014-11-22 22:09:11 +11:00
signal_netbsd_amd64.go [dev.cc] runtime: convert netbsd/amd64 port to Go 2014-11-22 16:05:31 +11:00
signal_netbsd_arm.go runtime: convert netbsd/arm to Go 2014-12-05 16:17:09 -05:00
signal_netbsd.go [dev.cc] runtime: convert netbsd/amd64 port to Go 2014-11-22 16:05:31 +11:00
signal_openbsd_386.go [dev.cc] runtime: convert openbsd/386 port to Go 2014-11-15 03:55:14 +11:00
signal_openbsd_amd64.go [dev.cc] runtime: convert openbsd/amd64 port to Go 2014-11-14 13:01:12 +11:00
signal_openbsd_arm.go runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
signal_openbsd.go [dev.cc] runtime: convert openbsd/amd64 port to Go 2014-11-14 13:01:12 +11:00
signal_plan9.go runtime: remove C-style strcmp and strncmp helpers 2015-02-16 04:07:19 +00:00
signal_ppc64x.go runtime: simplify CPU profiling code 2015-02-26 08:59:24 +00:00
signal_solaris_amd64.go [dev.cc] runtime: fix nil pointer crash handler bug on Solaris 2014-11-14 14:25:49 +01:00
signal_solaris.go [dev.cc] runtime: convert Solaris port to Go 2014-11-13 16:07:10 +01:00
signal_unix.go runtime: remove thunk.s 2014-12-23 03:17:22 +00:00
sigpanic_unix.go runtime/cgo: catch EXC_BAD_ACCESS on darwin/arm 2015-03-17 12:12:48 +00:00
sigqueue_plan9.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
sigqueue.go os/signal: add ability to ignore signals and restore initial signal handlers 2015-02-16 14:23:09 +00:00
slice.go runtime: don't return a slice with nil ptr but non-zero len from growslice 2015-03-12 00:08:38 +00:00
softfloat64_test.go [dev.cc] runtime: convert softfloat_arm.c to Go + build fixes 2014-11-11 22:30:02 -05:00
softfloat64.go [dev.cc] runtime: convert softfloat_arm.c to Go + build fixes 2014-11-11 22:30:02 -05:00
softfloat_arm.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
sqrt.go runtime: rename float64 constants to avoid name space pollution 2015-01-19 15:26:45 +00:00
stack1.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
stack2.go runtime: darwin/arm support 2015-02-06 05:48:56 +00:00
stack_test.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
string1.go runtime: remove C-style strcmp and strncmp helpers 2015-02-16 04:07:19 +00:00
string_test.go cmd/gc: don't copy string in range []byte(str) 2015-02-04 04:37:21 +00:00
string.go cmd/gc: allocate buffers for non-escaping string conversions on stack 2015-02-12 08:29:53 +00:00
stubs2.go [dev.cc] runtime: convert Plan 9 port to Go 2014-11-21 19:39:01 +01:00
stubs_android.go runtime: support panic/print logging in android-L. 2015-02-04 21:02:41 +00:00
stubs.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
symtab_test.go
symtab.go runtime: reorganize memory code 2015-02-19 20:17:01 +00:00
sys_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
sys_arm.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
sys_darwin_386.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_darwin_amd64.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_darwin_arm.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_dragonfly_amd64.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_freebsd_386.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_freebsd_amd64.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_freebsd_arm.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_linux_386.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_linux_amd64.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_linux_arm64.s runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
sys_linux_arm.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_linux_ppc64x.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_nacl_386.s [dev.cc] all: merge dev.power64 (7667e41f3ced) into dev.cc 2014-11-14 12:10:52 -05:00
sys_nacl_amd64p32.s runtime: allow fake time writes to both stdout and stderr 2015-01-13 05:43:32 +00:00
sys_nacl_arm.s [dev.cc] all: merge dev.power64 (7667e41f3ced) into dev.cc 2014-11-14 12:10:52 -05:00
sys_netbsd_386.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_netbsd_amd64.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_netbsd_arm.s runtime: Update open/close/read/write to return -1 on error. 2015-03-03 17:46:36 +00:00
sys_openbsd_386.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_openbsd_amd64.s cmd/internal/ld, runtime: halve tlsoffset on ELF/intel 2015-03-05 01:23:29 +00:00
sys_openbsd_arm.s runtime: add support for openbsd/arm 2015-03-15 04:06:26 +00:00
sys_plan9_386.s Revert "liblink, cmd/ld, runtime: remove stackguard1" 2015-01-05 16:29:56 +00:00
sys_plan9_amd64.s Revert "liblink, cmd/ld, runtime: remove stackguard1" 2015-01-05 16:29:56 +00:00
sys_ppc64x.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
sys_solaris_amd64.s Revert "liblink, cmd/ld, runtime: remove stackguard1" 2015-01-05 16:29:56 +00:00
sys_windows_386.s [dev.cc] runtime: remove comma at the end of DIVL instruction (fixes windows build) 2015-02-17 08:15:13 +00:00
sys_windows_amd64.s [dev.cc] runtime: remove comma at the end of DIVL instruction (fixes windows build) 2015-02-17 08:15:13 +00:00
sys_x86.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
syscall2_solaris.go runtime: add comments for blank import of "unsafe" 2014-12-23 05:09:07 +00:00
syscall_nacl.h
syscall_solaris.go [dev.cc] runtime: convert Solaris port to Go 2014-11-13 16:07:10 +01:00
syscall_windows_test.go runtime: skip TestStdcallAndCDeclCallbacks when gcc is missing 2015-03-15 00:37:05 +00:00
syscall_windows.go runtime: rename gothrow to throw 2014-12-28 06:16:16 +00:00
textflag.h cmd/5l etc: replace C code with Go code 2015-03-01 00:40:11 +00:00
time.go runtime: remove runtime frames from stacks in traces 2015-03-10 14:46:15 +00:00
tls_arm.s liblink, runtime: move all references to runtime.tlsg to tls_arm.s 2015-02-09 22:14:06 +00:00
tls_ppc64x.s cmd/cgo, runtime/cgo: support ppc64 2015-01-07 20:36:27 +00:00
trace.go runtime: remove futile wakeups from trace 2015-03-17 14:14:55 +00:00
traceback.go all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
type.go runtime,reflect,cmd/internal/gc: Fix comments referring to .c/.h files 2015-03-11 20:19:43 +00:00
typekind1.go [dev.cc] runtime: convert header files to Go 2014-11-11 17:05:19 -05:00
typekind.go runtime: remove duplicated Go constants 2014-09-16 10:22:15 -04:00
unaligned1.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
unaligned2.go runtime: a better fallback hash 2014-12-22 22:41:01 +00:00
vdso_linux_amd64.go runtime: clean up & go-ify the hash function seeder 2014-12-10 21:15:35 +00:00
vdso_none.go runtime: use runtime.sysargs to parse auxv on linux/arm 2015-01-14 05:08:06 +00:00
vlop_386.s
vlop_arm_test.go
vlop_arm.s [dev.cc] cmd/asm: make 4(SP) illegal except on 386 2015-02-18 03:41:29 +00:00
vlrt.go
wbfat_gen.go [dev.garbage] cmd/gc, runtime: implement write barriers in terms of writebarrierptr 2014-10-30 10:16:03 -04:00
wbfat.go [dev.garbage] cmd/gc, runtime: implement write barriers in terms of writebarrierptr 2014-10-30 10:16:03 -04:00
wincallback.go runtime: use go generate for zcallback_windows.go 2014-12-19 02:45:40 +00:00
zcallback_windows.go runtime: use go generate for zcallback_windows.go 2014-12-19 02:45:40 +00:00
zcallback_windows.s runtime: generate windows callback list with go generate 2014-12-05 16:24:20 -05:00
zgoarch_386.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoarch_amd64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoarch_amd64p32.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoarch_arm64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoarch_arm.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoarch_ppc64.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoarch_ppc64le.go runtime: add support for linux/arm64 2015-03-16 18:45:54 +00:00
zgoos_android.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_darwin.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_dragonfly.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_freebsd.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_linux.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_nacl.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_netbsd.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_openbsd.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_plan9.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_solaris.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00
zgoos_windows.go [dev.cc] runtime: explicitly exclude android in zgoos_linux.go 2014-11-21 18:13:59 -05:00