aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/floats.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/codegen/floats.go b/test/codegen/floats.go
index 21735ab19d..bf9e70d43e 100644
--- a/test/codegen/floats.go
+++ b/test/codegen/floats.go
@@ -282,11 +282,13 @@ func Float64ConstantStore(p *float64) {
func WideCeilNarrow(x float32) float32 {
// amd64/v3:"ROUNDSS"
+ // arm64:"FRINTPS"
return float32(math.Ceil(float64(x)))
}
func WideTruncNarrow(x float32) float32 {
// amd64/v3:"ROUNDSS"
+ // arm64:"FRINTZS"
return float32(math.Trunc(float64(x)))
}