diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-12-08 16:37:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-12-08 16:37:54 +0000 |
commit | 453060a9062959ceb1522b8b99adeb01b2a3f7b7 (patch) | |
tree | 34a4ee9d0eb2d5e59c8a8ffc86e75b6e7b9a572c /libgo/runtime/go-main.c | |
parent | b2264b0964560e724010aac2faf4f6a3ec2729f7 (diff) | |
download | gcc-453060a9062959ceb1522b8b99adeb01b2a3f7b7.zip gcc-453060a9062959ceb1522b8b99adeb01b2a3f7b7.tar.gz gcc-453060a9062959ceb1522b8b99adeb01b2a3f7b7.tar.bz2 |
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
Diffstat (limited to 'libgo/runtime/go-main.c')
-rw-r--r-- | libgo/runtime/go-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/runtime/go-main.c b/libgo/runtime/go-main.c index ff2958c..622a77d 100644 --- a/libgo/runtime/go-main.c +++ b/libgo/runtime/go-main.c @@ -47,6 +47,7 @@ main (int argc, char **argv) runtime_isstarted = true; __go_end = (uintptr)_end; + runtime_cpuinit (); runtime_check (); runtime_args (argc, (byte **) argv); runtime_osinit (); |