Module: Mesa
Branch: master
Commit: 480cf7d9bf09086b246532e3612c61c8e2ea59da
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=480cf7d9bf09086b246532e3612c61c8e2ea59da

Author: Alyssa Rosenzweig <[email protected]>
Date:   Mon Jan 27 13:37:36 2020 -0500

pan/midgard: Remove float_bitcast

Now unused.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Tested-by: Marge Bot 
<https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3588>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3588>

---

 src/panfrost/midgard/disassemble.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/panfrost/midgard/disassemble.c 
b/src/panfrost/midgard/disassemble.c
index 2e4ab489177..9ef184b8bce 100644
--- a/src/panfrost/midgard/disassemble.c
+++ b/src/panfrost/midgard/disassemble.c
@@ -937,18 +937,6 @@ num_alu_fields_enabled(uint32_t control_word)
         return ret;
 }
 
-static float
-float_bitcast(uint32_t integer)
-{
-        union {
-                uint32_t i;
-                float f;
-        } v;
-
-        v.i = integer;
-        return v.f;
-}
-
 static bool
 print_alu_word(FILE *fp, uint32_t *words, unsigned num_quad_words,
                unsigned tabs, unsigned next)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to