diff options
| author | Joel Sing <joel@sing.id.au> | 2021-02-27 19:07:32 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2021-03-03 05:35:24 +0000 |
| commit | 497feff168b44bdcb645ab0c2a956b0033d6100d (patch) | |
| tree | 22dff3dc5310eeeef69361f47064f061eeeb6778 /src/cmd/compile/internal/ssa/stackalloc.go | |
| parent | 00cb841b83ad157bc21d36daf0626bbcd4af0d57 (diff) | |
| download | go-497feff168b44bdcb645ab0c2a956b0033d6100d.tar.xz | |
cmd/compile: intrinsify runtime/internal/atomic.{And,Or}{8,} on RISCV64
The 32 bit versions are easily implement with a single instruction, while the
8 bit versions require a bit more effort but use the same atomic instructions
via rewrite rules.
Change-Id: I42e8d457b239c8f75e39a8e282fc88c1bb292a99
Reviewed-on: https://go-review.googlesource.com/c/go/+/268098
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/stackalloc.go')
0 files changed, 0 insertions, 0 deletions
