/
LR_02_0020: Implement GORISCV64 for compilation baseline

LR_02_0020: Implement GORISCV64 for compilation baseline

About

The baseline for code generation in Go today is rv64g. To make optimal use of bitmanip or compressed instructions, we need to know that we are targeting hardware that will support it. That is similar to the -march  parameter passed to the gcc and clang compilers.

Project Scope and Timelines


Components and Repos

https://github.com/golang/go/

https://github.com/golang/go/issues/61476

https://go-review.googlesource.com/c/go/+/541135

Stakeholders and Partners


Dependencies

None

Measure of Success

See https://github.com/golang/go/issues/61476 for the spec.

Dependency



Upstreaming

COMPLETED

https://go-review.googlesource.com/c/go/+/541135
Upstream version

Contacts


Related content

LR_02_038: Add bitmanip intrinsics to the Go assembler
LR_02_038: Add bitmanip intrinsics to the Go assembler
More like this
LR_02_024: Use Bitmanip instruction in compiler where optimal
LR_02_024: Use Bitmanip instruction in compiler where optimal
More like this
LR_02_041: Improve error detection and error reporting on the Go riscv64 assembler
LR_02_041: Improve error detection and error reporting on the Go riscv64 assembler
More like this
LR_02_022: Use compressed instruction in compiler where optimal
LR_02_022: Use compressed instruction in compiler where optimal
More like this
LR_02_049: Support and use Zcb in the Go assembler
LR_02_049: Support and use Zcb in the Go assembler
More like this
LR_02_031: Add CSR support to the Go assembler
LR_02_031: Add CSR support to the Go assembler
More like this