From 27e415963a0928d5ee21113e69675a6fc8b9225f Mon Sep 17 00:00:00 2001 From: Marco Liebel Date: Mon, 26 Jan 2026 16:34:34 -0600 Subject: [PATCH] target/hexagon: Remove unused is_finite() is_finite() is defined but never called anywhere in the codebase. Signed-off-by: Marco Liebel Reviewed-by: Taylor Simpson Reviewed-by: Brian Cain Signed-off-by: Brian Cain --- target/hexagon/fma_emu.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target/hexagon/fma_emu.h b/target/hexagon/fma_emu.h index fed054b609..910530fff8 100644 --- a/target/hexagon/fma_emu.h +++ b/target/hexagon/fma_emu.h @@ -18,11 +18,6 @@ #ifndef HEXAGON_FMA_EMU_H #define HEXAGON_FMA_EMU_H -static inline bool is_finite(float64 x) -{ - return !float64_is_any_nan(x) && !float64_is_infinity(x); -} - int32_t float64_getexp(float64 f64); static inline uint32_t float32_getexp_raw(float32 f32) {