On Fri, Dec 9, 2016 at 1:37 AM, Rainer Orth
wrote:
>
> 2016-12-09 Rainer Orth
>
> * configure.ac: Call GCC_CHECK_LINKER_HWCAP.
> * Makefile.am (AM_LDFLAGS): Initialize to HWCAP_LDFLAGS.
> [USING_SPLIT_STACK]: Add to AM_LDFLAGS.
> * aclocal.m4: Regenerate.
>
On Fri, Dec 9, 2016 at 2:09 AM, Sebastian Huber
wrote:
> On 08/12/16 17:37, Ian Lance Taylor wrote:
>>
>> +// For gccgo, use go:linkname to rename compiler-called functions to
>> +// themselves, so that the compiler will export them.
>> +//
>> +//go:linkname memhash runtime.memhash
>> +
>> +const
On 08/12/16 17:37, Ian Lance Taylor wrote:
+// For gccgo, use go:linkname to rename compiler-called functions to
+// themselves, so that the compiler will export them.
+//
+//go:linkname memhash runtime.memhash
+
+const (
+ // Constants for multiplication: four random odd 64-bit numbers.
+
Hi Ian,
> This patch to libgo copies the memory hashing code from the Go 1.7
> runtime. This is particular important because we earlier copied the
> hashmap code from Go 1.7, and that changed hash table sizes from prime
> numbers to powers of two. The memory hashing code used before this
> patch
This patch to libgo copies the memory hashing code from the Go 1.7
runtime. This is particular important because we earlier copied the
hashmap code from Go 1.7, and that changed hash table sizes from prime
numbers to powers of two. The memory hashing code used before this
patch was fine for prime