runtime: copy memory hash code from Go 1.7
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 8 Dec 2016 16:37:54 +0000 (16:37 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 8 Dec 2016 16:37:54 +0000 (16:37 +0000)
commit453060a9062959ceb1522b8b99adeb01b2a3f7b7
tree34a4ee9d0eb2d5e59c8a8ffc86e75b6e7b9a572c
parentb2264b0964560e724010aac2faf4f6a3ec2729f7
runtime: copy memory hash code from Go 1.7

    Rewrite the AES hashing code from gc assembler to C code using
    intrinsics.  The resulting code generates the same hash code for the
    same input as the gc code--that doesn't matter as such, but testing it
    ensures that the C code does something useful.

    Also change mips64pe32le to mips64p32le in configure script--noticed
    during CL review.

    Reviewed-on: https://go-review.googlesource.com/34022

From-SVN: r243445
22 files changed:
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
libgo/Makefile.am
libgo/Makefile.in
libgo/configure
libgo/configure.ac
libgo/go/runtime/alg.go
libgo/go/runtime/hash32.go [new file with mode: 0644]
libgo/go/runtime/hash64.go [new file with mode: 0644]
libgo/go/runtime/os_gccgo.go [new file with mode: 0644]
libgo/go/runtime/runtime2.go
libgo/go/runtime/stubs.go
libgo/go/runtime/unaligned1.go [new file with mode: 0644]
libgo/go/runtime/unaligned2.go [new file with mode: 0644]
libgo/runtime/aeshash.c [new file with mode: 0644]
libgo/runtime/go-libmain.c
libgo/runtime/go-main.c
libgo/runtime/go-type-identity.c
libgo/runtime/go-type.h
libgo/runtime/proc.c
libgo/runtime/runtime.h
libgo/runtime/runtime_c.c