aboutsummaryrefslogtreecommitdiff
path: root/libgo
AgeCommit message (Collapse)AuthorFilesLines
2013-12-25re PR target/59422 (Support more targets for function multi versioning)Allan Sandfeld Jensen1-1/+1
gcc/ 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org> H.J. Lu <hongjiu.lu@intel.com> PR target/59422 * config/i386/i386.c (get_builtin_code_for_version): Handle PROCESSOR_HASWELL, PROCESSOR_SILVERMONT, PROCESSOR_BTVER1, PROCESSOR_BTVER2, PROCESSOR_BDVER3 and PROCESSOR_BDVER4. Change priority of PROCESSOR_BDVER1 to P_PROC_XOP. (fold_builtin_cpu): Add "ivybridge", "haswell", "bonnell", "silvermont", "bobcat" and "jaguar" CPU names. Add "sse4a", "fma4", "xop" and "fma" ISA names. libgcc/ 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org> H.J. Lu <hongjiu.lu@intel.com> PR target/59422 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT and AMD_JAGUAR. (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4, INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL. (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4, FEATURE_XOP and FEATURE_FMA. (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and AMDFAM15H_BDVER3. (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL. (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A, FEATURE_FMA4 and FEATURE_XOP. testsuite/ 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org> PR target/59422 * gcc.target/i386/funcspec-5.c (test_fma, test_xop, test_no_fma, test_no_xop, test_arch_corei7, test_arch_corei7_avx, test_arch_core_avx2, test_arch_bdver1, test_arch_bdver2, test_arch_bdver3, test_tune_corei7, test_tune_corei7_avx, test_tune_core_avx2, test_tune_bdver1, test_tune_bdver2 and test_tune_bdver3): New function prototypes. From-SVN: r206200
2013-12-12runtime: Fix defer of unlock thread at program startup.Ian Lance Taylor6-5/+19
Don't free stack allocated defer block. Also ensure we have a Go context in a few more places before freeing the block. From-SVN: r205940
2013-12-12reflect: Fix MakeFunc returning float32 or float64 on 386.Ian Lance Taylor2-15/+26
From-SVN: r205932
2013-12-12compiler, reflect, runtime: Implement method values in reflect.Ian Lance Taylor7-44/+120
From-SVN: r205913
2013-12-11reflect, runtime: Let reflect.MakeFunc functions call recover.Ian Lance Taylor6-2/+109
From-SVN: r205908
2013-12-06re PR go/59408 (Many Go tests FAIL with notesleep not on g0)Ian Lance Taylor1-0/+4
PR go/59408 runtime: Don't require g != m->g0 in sema notesleep. From-SVN: r205756
2013-12-04runtime: Use pthread_sigmask instead of sigprocmask.Ian Lance Taylor3-4/+4
From-SVN: r205652
2013-12-03runtime: Fix prototype and one use of runtime_traceback.Ian Lance Taylor2-2/+2
From Richard Biener. From-SVN: r205634
2013-12-01libgo: Avoid some cases of getting callers recursively.Ian Lance Taylor3-0/+19
Avoids hanging inside older versions of glibc that do not support recurive calls to dl_iterate_phdr. From-SVN: r205561
2013-11-30reflect: Rename struct field to be consistent in assembler and Go.Ian Lance Taylor1-2/+2
From-SVN: r205555
2013-11-30reflect: Fix MakeFunc for 386 when returning a struct.Ian Lance Taylor2-1/+14
When a 386 function returns a struct, it needs to return using an rtd instruction that pops the hidden struct parameter off the stack. That wasn't happening. From-SVN: r205551
2013-11-27libgo: Update to current Go library.Ian Lance Taylor30-60/+241
From-SVN: r205426
2013-11-26runtime: Fix handling of surrogate pairs in string([]rune).Ian Lance Taylor1-0/+4
From-SVN: r205422
2013-11-25syscall: Set SizeofSockaddrAny to the value the go distribution usesIan Lance Taylor1-1/+1
In particular this means that the names Getsockname returns are not truncated to 26 characters. Fixes issue 6829 https://codereview.appspot.com/31840043/ From-SVN: r205368
2013-11-24syscall: Only call varargs libc functions from C code.Ian Lance Taylor11-11/+71
From-SVN: r205321
2013-11-22libgo: Update libtool support for powerpc64le-linux-gnu.Ian Lance Taylor2-8/+8
From Ulrich Weigand. From-SVN: r205287
2013-11-19runtime: Update for change to libbacktrace library.Ian Lance Taylor1-1/+1
From-SVN: r205031
2013-11-19reflect: Handle calls to functions that take or return empty structsIan Lance Taylor2-1/+44
Fixes issue 6761 This simple change seems to work fine, slightly to my surprise. This includes the tests I submitted to the main Go repository at https://codereview.appspot.com/26570046 From-SVN: r205001
2013-11-19gotest: Recognize PPC ELF v2 function pointers in text section.Ian Lance Taylor1-1/+1
From-SVN: r205000
2013-11-19libgo: Fix typo for is_dragonfly in configure script.Ian Lance Taylor2-2/+2
From-SVN: r204999
2013-11-15runtime: Use runtime_m to get m value after call to runtime_mcall.Ian Lance Taylor1-1/+4
From-SVN: r204853
2013-11-14runtime: Don't use filename without '/' for backtrace library.Ian Lance Taylor1-0/+7
Fixes http://golang.org/issue/6715. From-SVN: r204828
2013-11-14net: On Solaris use Darwin keepalive code.Ian Lance Taylor3-27/+2
From-SVN: r204819
2013-11-14runtime: Add netpoll code that uses select.Ian Lance Taylor8-59/+270
Required for Solaris support. From-SVN: r204817
2013-11-14runtime: Fix GC flag in when allocating memory from cgo.Ian Lance Taylor1-1/+1
From-SVN: r204815
2013-11-14go/build: Add all known gccgo architectures to list.Ian Lance Taylor1-1/+1
From-SVN: r204796
2013-11-14libgo/go/go/build: use syslist.go from the gc stdlib.Ian Lance Taylor3-20/+10
If cmd/go is rebuilt using -compiler gccgo the version of go/build that is linked into that cmd/go will not function properly as the list of file suffixes know as operating systems or architectures is incorrect. From-SVN: r204794
2013-11-11net: Fix TCP keepalive handling for Solaris.Ian Lance Taylor3-1/+31
From-SVN: r204688
2013-11-11mksysinfo, net: Always define F_DUPFD_CLOEXEC.Ian Lance Taylor2-1/+6
For Solaris and CentOS portability. From-SVN: r204687
2013-11-11os: Do not try to run go command in test.Ian Lance Taylor1-0/+1
From-SVN: r204684
2013-11-09runtime: Correct flag (FlagNoGC => FlagNoInvokeGC).Ian Lance Taylor1-1/+1
From-SVN: r204617
2013-11-07runtime: Fixes for Alpha.Ian Lance Taylor2-1/+4
From-SVN: r204551
2013-11-06libgo: Update to October 24 version of master library.Ian Lance Taylor596-7420/+31983
From-SVN: r204466
2013-10-18runtime: Fix typo in dup3 fallback implementation.Ian Lance Taylor1-1/+1
From Uros Bizjak. From-SVN: r203820
2013-10-17syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority.Ian Lance Taylor7-2/+99
From-SVN: r203788
2013-10-16runtime: Fix build on systems without split stack.Ian Lance Taylor1-0/+2
From Uros Bizjak. From-SVN: r203703
2013-10-14runtime: Don't clobber saved context when catching signal.Ian Lance Taylor1-2/+3
From-SVN: r203577
2013-10-11runtime: Report len out of range for large len when making slice.Ian Lance Taylor1-1/+4
From-SVN: r203401
2013-10-09compiler, runtime: Fix complex division of NaN / 0.Ian Lance Taylor3-1/+57
From-SVN: r203331
2013-10-09runtime: Do not report thunks and recover functions in backtrace.Ian Lance Taylor1-0/+15
From-SVN: r203294
2013-10-07reflect: Use C style comments in 386 assembly for Solaris assembler.Ian Lance Taylor1-23/+24
From Rainer Orth. From-SVN: r203249
2013-10-04reflect: Fix calling Interface method on value created by MakeFunc.Ian Lance Taylor2-1/+25
From-SVN: r203212
2013-10-02runtime: Fix append of slice with elements of zero size.Ian Lance Taylor1-6/+6
From-SVN: r203140
2013-10-02reflect: Use hand-coded .eh_frame section rather than CFI directives.Ian Lance Taylor5-21/+331
From Rainer Orth. From-SVN: r203120
2013-10-01reflect: Fix reflect.Call with function following non-pointer.Ian Lance Taylor2-2/+13
From-SVN: r203052
2013-09-27reflect: Copy stack values onto heap in amd64 MakeFunc.Ian Lance Taylor1-2/+8
From-SVN: r202995
2013-09-27reflect: Implement MakeFunc for 386.Ian Lance Taylor6-5/+264
From-SVN: r202993
2013-09-27reflect: Implement MakeFunc for amd64.Ian Lance Taylor8-88/+676
From-SVN: r202982
2013-09-17reflect: Fix bug calling method on indirect value.Ian Lance Taylor1-1/+7
The gccgo-specific iword function was checking v.kind, but for a method value that is always Func. Fix to check v.typ.Kind() instead. From-SVN: r202670
2013-09-03compiler, runtime: Use runtime functions to pass closure value.Ian Lance Taylor6-27/+36
This changes the compiler and runtime to not pass a closure value as the last argument, but to instead pass it via __go_set_closure and retrieve it via __go_get_closure. This eliminates the need for function descriptor wrapper functions. It will make it possible to retrieve the closure value in a reflect.MakeFunc function. From-SVN: r202233