aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/test
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2024-07-23 11:43:23 -0400
committerDavid Chase <drchase@google.com>2024-07-23 19:05:35 +0000
commitfc5073bc155545dde4856cccdfcbb31880d1eb66 (patch)
tree90aba60eda016a9392cd8ee0d55a154d0aa570e3 /src/cmd/compile/internal/test
parentf9eb3e3cd59c1cf38a98f2367c6c8dc180db9a95 (diff)
downloadgo-fc5073bc155545dde4856cccdfcbb31880d1eb66.tar.xz
runtime,internal: move runtime/internal/sys to internal/runtime/sys
Cleanup and friction reduction For #65355. Change-Id: Ia14c9dc584a529a35b97801dd3e95b9acc99a511 Reviewed-on: https://go-review.googlesource.com/c/go/+/600436 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/test')
-rw-r--r--src/cmd/compile/internal/test/inl_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/compile/internal/test/inl_test.go b/src/cmd/compile/internal/test/inl_test.go
index 4626269582..58f5df953b 100644
--- a/src/cmd/compile/internal/test/inl_test.go
+++ b/src/cmd/compile/internal/test/inl_test.go
@@ -97,7 +97,7 @@ func TestIntendedInlining(t *testing.T) {
"traceLocker.ok",
"traceEnabled",
},
- "runtime/internal/sys": {},
+ "internal/runtime/sys": {},
"internal/runtime/math": {
"MulUintptr",
},
@@ -246,9 +246,9 @@ func TestIntendedInlining(t *testing.T) {
if runtime.GOARCH != "386" {
// As explained above, TrailingZeros64 and TrailingZeros32 are not Go code on 386.
// The same applies to Bswap32.
- want["runtime/internal/sys"] = append(want["runtime/internal/sys"], "TrailingZeros64")
- want["runtime/internal/sys"] = append(want["runtime/internal/sys"], "TrailingZeros32")
- want["runtime/internal/sys"] = append(want["runtime/internal/sys"], "Bswap32")
+ want["internal/runtime/sys"] = append(want["internal/runtime/sys"], "TrailingZeros64")
+ want["internal/runtime/sys"] = append(want["internal/runtime/sys"], "TrailingZeros32")
+ want["internal/runtime/sys"] = append(want["internal/runtime/sys"], "Bswap32")
}
if runtime.GOARCH == "amd64" || runtime.GOARCH == "arm64" || runtime.GOARCH == "loong64" || runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" || runtime.GOARCH == "ppc64" || runtime.GOARCH == "riscv64" || runtime.GOARCH == "s390x" {
// internal/runtime/atomic.Loaduintptr is only intrinsified on these platforms.