]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/atomic: add mips operators for And/Or
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Wed, 1 May 2024 14:33:11 +0000 (14:33 +0000)
committerKeith Randall <khr@golang.org>
Sat, 11 May 2024 21:29:34 +0000 (21:29 +0000)
commit9623a3586fc6c2d11820f412d437de1a613f755c
treeb42b791bc24dedb97d31949fc8b69cdd1a29d860
parent7f9edb42259114020c67eb51643e43cf5a2cf9a7
runtime/internal/atomic: add mips operators for And/Or

These primitives will be used by the new And/Or sync/atomic apis.

Implemented for mips/mipsle and mips64/mips64le.

For #61395

Change-Id: Icc604a2b5cdfe72646d47d3c6a0bb49a0fd0d353
GitHub-Last-Rev: 95dca2a9f144c5d96dfa53eaf116e88be5f55040
GitHub-Pull-Request: golang/go#63297
Reviewed-on: https://go-review.googlesource.com/c/go/+/531835
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/runtime/atomic/atomic_andor_generic.go
src/internal/runtime/atomic/atomic_mips64x.go
src/internal/runtime/atomic/atomic_mips64x.s
src/internal/runtime/atomic/atomic_mipsx.go
src/internal/runtime/atomic/atomic_mipsx.s