From 7056c71d320bea2e1cafbb4f8863513ed50a4256 Mon Sep 17 00:00:00 2001 From: David Chase Date: Tue, 14 Oct 2025 16:18:49 -0400 Subject: cmd/compile: disable use of new saturating float-to-int conversions The new conversions can be activated (or bisected) with -gcflags=all=-d=converthash=PATTERN where PATTERN is either a hash string or n, qn, y, qy for no, quietly no, yes, quietly yes. This CL makes the default pattern be "qn" instead of the default-default which is an efficient encoding of "qy". Updates #75834 Change-Id: I88a9fd7880bc999132420c8d0a22a8fdc1e95a2a Reviewed-on: https://go-review.googlesource.com/c/go/+/711845 Reviewed-by: Cherry Mui TryBot-Bypass: David Chase --- test/codegen/math.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/codegen') diff --git a/test/codegen/math.go b/test/codegen/math.go index 5787657d2b..9ef881a9af 100644 --- a/test/codegen/math.go +++ b/test/codegen/math.go @@ -1,4 +1,4 @@ -// asmcheck +// asmcheck -gcflags=-d=converthash=qy // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -- cgit v1.3-5-g9baa