aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/floats.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/floats.go b/test/codegen/floats.go
index 21cfa1d590..ad9713b75f 100644
--- a/test/codegen/floats.go
+++ b/test/codegen/floats.go
@@ -316,7 +316,7 @@ func WideRoundToEvenNarrow(x float32) float32 {
func WideSqrtNarrow(x float32) float32 {
// arm64:"FSQRTS" -"FCVTSD" -"FCVTDS"
// loong64:"SQRTF" -"MOVFD" -"MOVDF"
- // mips64:"SQRTF" -"MOVFD" -"MOVDF"
+ // mips64/hardfloat:"SQRTF" -"MOVFD" -"MOVDF"
// riscv64:"FSQRTS" -"FCVTDS" -"FCVTSD"
// wasm:"F32Sqrt" -"F64PromoteF32" -"F32DemoteF64"
return float32(math.Sqrt(float64(x)))
@@ -325,7 +325,7 @@ func WideSqrtNarrow(x float32) float32 {
func WideAbsNarrow(x float32) float32 {
// arm64:"FABSS" -"FCVTSD" -"FCVTDS"
// loong64:"ABSF" -"MOVFD" -"MOVDF"
- // mips64:"ABSF" -"MOVFD" -"MOVDF"
+ // mips64/hardfloat:"ABSF" -"MOVFD" -"MOVDF"
// riscv64:"FABSS" -"FCVTDS" -"FCVTSD"
// wasm:"F32Abs" -"F64PromoteF32" -"F32DemoteF64"
return float32(math.Abs(float64(x)))