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:
Joel Sing 2020-03-16 02:58:23 +11:00
parent efb0ac4ce6
commit f4fe89108c
2 changed files with 2 additions and 5 deletions

View file

@ -1,4 +1,4 @@
// +build !nacl,!386,!wasm,!arm,!riscv64,!gcflags_noopt
// +build !nacl,!386,!wasm,!arm,!gcflags_noopt
// errorcheck -0 -m
// 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
// is solved.
// TODO(jsing): Re-enable on riscv64 when it has atomic intrinsics - see
// golang.org/issue/36765
package foo
import (

View file

@ -1,5 +1,5 @@
// 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.
// Use of this source code is governed by a BSD-style