]> Cypherpunks repositories - gostls13.git/commit
runtime: use riscv64 RDTIME instruction
authorJoel Sing <joel@sing.id.au>
Mon, 4 May 2020 17:15:58 +0000 (03:15 +1000)
committerJoel Sing <joel@sing.id.au>
Sun, 16 Aug 2020 13:55:00 +0000 (13:55 +0000)
commitcf9b4f63a57b4360be700831781885fc6cf5a0b1
treeaf4e8241bc0ffb35b64d31adb3d7c953dd4a79c5
parentb6ad2880323191713a5525bae5eb27d62c1d1c35
runtime: use riscv64 RDTIME instruction

Use the actual RDTIME instruction, rather than a WORD.
Generated code is the same.

Change-Id: I6f6f5a1836eae2d05af34d4a22db2ede4fdcb458
Reviewed-on: https://go-review.googlesource.com/c/go/+/231997
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/asm_riscv64.s