]> Cypherpunks repositories - gostls13.git/commit
cmd/asm,cmd/internal/obj: initial support for riscv64 assembler
authorJoel Sing <joel@sing.id.au>
Sat, 7 Sep 2019 15:56:26 +0000 (01:56 +1000)
committerJoel Sing <joel@sing.id.au>
Thu, 12 Sep 2019 18:54:38 +0000 (18:54 +0000)
commit6c6ad3086efeada305368b1814abffe906986a87
treefdc90cc5b1fcd8ebee209ec58c21e6d97881761f
parent942886137879015032a9671c7effc9dd77ef4150
cmd/asm,cmd/internal/obj: initial support for riscv64 assembler

Provide the initial framework for the riscv64 assembler. For now this
only supports raw WORD instructions, but at least allows for basic
testing. Additional functionality will be added in separate changes.

Based on the riscv-go port.

Updates #27532

Change-Id: I181ffb2d37a34764a3e91eded177d13a89c69f9a
Reviewed-on: https://go-review.googlesource.com/c/go/+/194117
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/arch/arch.go
src/cmd/asm/internal/asm/endtoend_test.go
src/cmd/asm/internal/asm/testdata/riscvenc.s [new file with mode: 0644]
src/cmd/dist/buildtool.go
src/cmd/internal/obj/riscv/anames.go
src/cmd/internal/obj/riscv/cpu.go
src/cmd/internal/obj/riscv/list.go [new file with mode: 0644]
src/cmd/internal/obj/riscv/obj.go [new file with mode: 0644]