aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2025-03-12 23:11:30 +1100
committerGopher Robot <gobot@golang.org>2025-03-13 05:19:13 -0700
commitaf92bb594d6daaacdd2d03549911fbec8ae65900 (patch)
tree6ca6dfe4edc53e6bba5c6515754abdf1fdeb6887 /test/codegen
parentbdfa604b2e12990784c4eac4186360b56857370b (diff)
downloadgo-af92bb594d6daaacdd2d03549911fbec8ae65900.tar.xz
test/codegen: remove plan9/amd64 specific array zeroing/copying tests
The compiler previously avoided the use of MOVUPS on plan9/amd64. This was changed in CL 655875, however the codegen tests were not updated and now fail (seemingly the full codegen tests do not run anywhere, not even on the longtest builders). Change-Id: I388b60e7b0911048d4949c5029347f9801c018a9 Reviewed-on: https://go-review.googlesource.com/c/go/+/656997 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Auto-Submit: Keith Randall <khr@google.com>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/floats.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/codegen/floats.go b/test/codegen/floats.go
index 2a5cf39957..d04202d394 100644
--- a/test/codegen/floats.go
+++ b/test/codegen/floats.go
@@ -149,20 +149,14 @@ func CmpWithAdd(a float64, b float64) bool {
// Non-floats //
// ---------------- //
-// We should make sure that the compiler doesn't generate floating point
-// instructions for non-float operations on Plan 9, because floating point
-// operations are not allowed in the note handler.
-
func ArrayZero() [16]byte {
// amd64:"MOVUPS"
- // plan9/amd64/:-"MOVUPS"
var a [16]byte
return a
}
func ArrayCopy(a [16]byte) (b [16]byte) {
// amd64:"MOVUPS"
- // plan9/amd64/:-"MOVUPS"
b = a
return
}