]> Cypherpunks repositories - gostls13.git/commit
test/codegen: add shift tests for RISCV64
authorJoel Sing <joel@sing.id.au>
Tue, 21 Sep 2021 16:46:00 +0000 (02:46 +1000)
committerJoel Sing <joel@sing.id.au>
Fri, 24 Sep 2021 07:22:13 +0000 (07:22 +0000)
commitd4139083204ab83778ad4ea575fb8370a14d7b7b
tree070ac2d090b242e26f6b13e0c464a620faaf641b
parent242d02dd5e9bddc3392237752abe7dfe1f9cb300
test/codegen: add shift tests for RISCV64

Add tests for shift by constant, masked shifts and bounded shifts. While here,
sort tests by architecture and keep order of tests consistent (lsh, rshU, rsh).

Change-Id: I512d64196f34df9cb2884e8c0f6adcf9dd88b0fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/351289
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Michael Munday <mike.munday@lowrisc.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
test/codegen/shift.go