mirror of
https://github.com/golang/go
synced 2024-09-04 23:44:16 +00:00
test: re-enable atomic intrinsic related tests on riscv64
riscv64 now has atomic intrinsics, so re-enable the atomic intrinsic tests. Fixes #36765 Change-Id: I838f27570a94d7fa5774c43f1ca5f4df2ca104cf Reviewed-on: https://go-review.googlesource.com/c/go/+/223560 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
efb0ac4ce6
commit
f4fe89108c
|
@ -1,4 +1,4 @@
|
||||||
// +build !nacl,!386,!wasm,!arm,!riscv64,!gcflags_noopt
|
// +build !nacl,!386,!wasm,!arm,!gcflags_noopt
|
||||||
// errorcheck -0 -m
|
// errorcheck -0 -m
|
||||||
|
|
||||||
// Copyright 2019 The Go Authors. All rights reserved.
|
// Copyright 2019 The Go Authors. All rights reserved.
|
||||||
|
@ -14,9 +14,6 @@
|
||||||
// of the sync fast paths. This test should be re-enabled once the problem
|
// of the sync fast paths. This test should be re-enabled once the problem
|
||||||
// is solved.
|
// is solved.
|
||||||
|
|
||||||
// TODO(jsing): Re-enable on riscv64 when it has atomic intrinsics - see
|
|
||||||
// golang.org/issue/36765
|
|
||||||
|
|
||||||
package foo
|
package foo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// errorcheck -0 -d=ssa/intrinsics/debug
|
// errorcheck -0 -d=ssa/intrinsics/debug
|
||||||
// +build amd64 arm64 mips mipsle mips64 mips64le ppc64 ppc64le s390x
|
// +build amd64 arm64 mips mipsle mips64 mips64le ppc64 ppc64le riscv64 s390x
|
||||||
|
|
||||||
// Copyright 2016 The Go Authors. All rights reserved.
|
// Copyright 2016 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
|
Loading…
Reference in a new issue