]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add environment call/breakpoint and base counter/timer instru...
authorJoel Sing <joel@sing.id.au>
Sat, 7 Sep 2019 18:11:07 +0000 (04:11 +1000)
committerJoel Sing <joel@sing.id.au>
Tue, 24 Sep 2019 04:16:35 +0000 (04:16 +0000)
commitced2454220e472c233d4f58a2bc9d01347dedfd3
treebc9e82bef5c56c7f7032a7f104a5a2fa5cb190b2
parent211932b98790df0ae112d7f680f6912514ae7d94
cmd/internal/obj/riscv: add environment call/breakpoint and base counter/timer instructions

This implements assembler support for ECALL/EBREAK, along with base
counter/timer instructions.

Based on riscv-go port.

Updates #27532

Change-Id: I690a9fd835eeddee1fe9a5616d2b2f856d3952b8
Reviewed-on: https://go-review.googlesource.com/c/go/+/195918
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/testdata/riscvenc.s
src/cmd/internal/obj/riscv/obj.go