gcc/libgo/go/runtime
Ian Lance Taylor 0c22e4415f compiler, runtime: drop size arguments to hash/equal functions
Drop the size arguments for the hash/equal functions stored in type
    descriptors.  Types know what size they are.  To make this work,
    generate hash/equal functions for types that can use an identity
    comparison but are not a standard size and alignment.
    
    Drop the multiplications by 33 in the generated hash code and the
    reflect package hash code.  They are not necessary since we started
    passing a seed value around, as the seed includes the hash of the
    earlier values.
    
    Copy the algorithms for standard types from the Go 1.7 runtime,
    replacing the C functions.
    
    Reviewed-on: https://go-review.googlesource.com/34983

From-SVN: r244256
2017-01-10 03:59:20 +00:00
..
debug runtime: copy rdebug code from Go 1.7 runtime 2016-10-17 16:54:25 +00:00
internal runtime/internal/sys: new package, API copied from Go 1.7 2016-09-11 13:23:27 +00:00
msan libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
pprof libgo: update to Go 1.7.1 release 2016-09-10 13:14:00 +00:00
race libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
testdata libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
alg.go compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
append_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
callers_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_gccgo.go runtime: copy cgo support from Go 1.7 runtime 2016-12-19 18:00:35 +00:00
cgocheck.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
chan_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
chan.go runtime: copy channel code from Go 1.7 runtime 2016-10-10 16:52:09 +00:00
chanbarrier_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
closure_test.go Update Go library to r60. 2011-09-16 15:47:21 +00:00
compiler.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
complex_test.go libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
cpuprof.go runtime: copy cpuprof code from Go 1.7 runtime 2016-10-14 13:36:35 +00:00
cputicks.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
crash_cgo_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_nonunix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
debug.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
env_posix.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
env_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
error.go runtime: rewrite panic/defer code from C to Go 2016-11-22 17:58:04 +00:00
export_arm_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_linux_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_mmap_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_test.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
export_windows_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
extern.go runtime: rewrite panic/defer code from C to Go 2016-11-22 17:58:04 +00:00
fastlog2_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fastlog2.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
fastlog2table.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
ffi.go runtime, reflect: rewrite Go to FFI type conversion in Go 2016-11-18 00:15:38 +00:00
gc_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
gcinfo_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
hash32.go runtime: copy memory hash code from Go 1.7 2016-12-08 16:37:54 +00:00
hash64.go runtime: copy memory hash code from Go 1.7 2016-12-08 16:37:54 +00:00
hashmap_fast.go compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
hashmap.go compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
iface_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
iface.go runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
lfstack_32bit.go re PR go/78143 (bootstrap broken in libgo on powerpc-linux-gnu) 2016-10-28 18:57:36 +00:00
lfstack_64bit.go runtime: copy lfstack code from Go 1.7 runtime 2016-10-21 20:07:06 +00:00
lfstack_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
lfstack.go runtime: copy lfstack code from Go 1.7 runtime 2016-10-21 20:07:06 +00:00
lock_futex.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
lock_sema.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
malloc_test.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
map_test.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
mapspeed_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mcache.go runtime: use -fgo-c-header to build C header file 2016-08-30 21:07:47 +00:00
mfinal_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mkfastlog2table.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
mmap.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
mprof.go runtime: remove __go_alloc and __go_free 2017-01-03 22:58:48 +00:00
msan0.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
mstats.go runtime: copy mstats code from Go 1.7 runtime 2016-10-13 15:24:50 +00:00
mstkbar.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
netpoll_epoll.go runtime, syscall: force EPOLLET to be positive 2016-10-19 16:53:13 +00:00
netpoll_kqueue.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
netpoll_nacl.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
netpoll_solaris.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
netpoll_stub.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
netpoll_windows.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
netpoll.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
norace_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
os_darwin.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_dragonfly.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_freebsd.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_gccgo.go runtime: copy cgo support from Go 1.7 runtime 2016-12-19 18:00:35 +00:00
os_linux.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_netbsd.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_openbsd.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_solaris.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
panic.go runtime: allocate _panic struct on heap 2016-12-08 15:54:30 +00:00
print.go runtime: copy print/println support from Go 1.7 2016-10-10 23:13:39 +00:00
proc_runtime_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
proc_test.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
proc.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
race0.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
rdebug.go runtime: copy rdebug code from Go 1.7 runtime 2016-10-17 16:54:25 +00:00
rune.go compiler, runtime: copy string code from Go 1.7 2016-10-12 18:17:52 +00:00
runtime1.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
runtime2.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
runtime_mmap_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime-lldb_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
select.go runtime: copy channel code from Go 1.7 runtime 2016-10-10 16:52:09 +00:00
sema.go runtime: copy Go 1.7 runtime semaphore code 2016-10-12 15:38:56 +00:00
signal1_unix.go runtime: copy cgo support from Go 1.7 runtime 2016-12-19 18:00:35 +00:00
signal2_unix.go runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
signal_gccgo.go runtime: copy cgo support from Go 1.7 runtime 2016-12-19 18:00:35 +00:00
signal_sighandler.go runtime: copy cgo support from Go 1.7 runtime 2016-12-19 18:00:35 +00:00
signal_sigtramp.go runtime: don't crash if signal handler info argument is nil 2016-11-14 23:16:04 +00:00
signal_unix.go runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
sigpanic_unix.go runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
sigqueue.go runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
slice.go compiler, runtime: copy slice code from Go 1.7 runtime 2016-10-28 22:34:47 +00:00
stack.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
string_test.go compiler, runtime: copy string code from Go 1.7 2016-10-12 18:17:52 +00:00
string.go runtime: recreate function called by cgo -gccgo 2016-11-01 14:07:43 +00:00
stubs2.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
stubs.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
symtab_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
symtab.go runtime: just do file/line lookup in C, move Func to Go 2016-10-14 17:20:40 +00:00
time.go runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
trace.go runtime: copy more of scheduler from Go 1.7 runtime 2017-01-09 19:37:19 +00:00
traceback_gccgo.go runtime: remove __go_alloc and __go_free 2017-01-03 22:58:48 +00:00
type.go compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
typekind.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
unaligned1.go runtime: copy memory hash code from Go 1.7 2016-12-08 16:37:54 +00:00
unaligned2.go runtime: copy memory hash code from Go 1.7 2016-12-08 16:37:54 +00:00
vdso_none.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
write_err_android.go Accidentally failed to commit these earlier, as part of: 2016-10-11 00:08:35 +00:00
write_err.go Accidentally failed to commit these earlier, as part of: 2016-10-11 00:08:35 +00:00