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>
// func cputicks() int64
TEXT runtime·cputicks(SB),NOSPLIT,$0-8
- WORD $0xc0102573 // rdtime a0
+ RDTIME A0
MOV A0, ret+0(FP)
RET