asm | ||
.drone.yml | ||
aes_const.go | ||
aes_hash.go | ||
config.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
randomx.go | ||
randomx_test.go | ||
README.md | ||
superscalar.go | ||
vm.go | ||
vm_instruction.go |
RandomX (Golang Implementation)
Fork from git.dero.io/DERO_Foundation/RandomX. Also related, their Analysis of RandomX writeup.
Original code failed RandomX testcases and was implemented using big.Float.
This package implements RandomX without CGO, using only Golang code, pure float64 ops and two small assembly sections to implement CFROUND modes.
All test cases pass properly.
Supports 386
amd64
arm64
platforms due to rounding mode set via assembly. More can be added with supporting rounding mode under asm.