Skip to contentSkip to conversation

target/hexagon: Remove unused is_finite()

PATCH In review Marco Liebel 3 participants 3 messages Jan 26 – Jan 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/hexagon: Remove unused is_finite()

is_finite() is defined but never called anywhere in the codebase.

---
 target/hexagon/fma_emu.h | 5 -----
 1 file changed, 5 deletions(-)
target/hexagon/fma_emu.h +0 -5
index fed054b609..910530fff8 100644
@@ -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)
 {
Signature · 1 line
2.43.0