]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: implement floating point instructions
authorJoel Sing <joel@sing.id.au>
Wed, 18 Sep 2019 15:01:07 +0000 (01:01 +1000)
committerJoel Sing <joel@sing.id.au>
Wed, 25 Sep 2019 08:25:43 +0000 (08:25 +0000)
commit434e4caf1b93530b225494ba30d9e39ba15ecf4f
treeed65ea41059ee48ec18ed310727907396d0f08d9
parent8f5755e76e8e39733c3c919e77cdc2757bac2751
cmd/internal/obj/riscv: implement floating point instructions

Add support for assembling various single-precision and double-precision
floating point instructions.

Based on the riscv-go port.

Updates #27532

Change-Id: Iac1aec9b03bb6cbf116b229daeef944d4df550fa
Reviewed-on: https://go-review.googlesource.com/c/go/+/196839
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/anames.go
src/cmd/internal/obj/riscv/cpu.go
src/cmd/internal/obj/riscv/obj.go