pan/midgard: Remove float_bitcast
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 27 Jan 2020 18:37:36 +0000 (13:37 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 27 Jan 2020 18:37:36 +0000 (13:37 -0500)
Now unused.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
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

index 2e4ab489177894af811002da5d0e2315519dd9ec..9ef184b8bcede47daa48cebbbfbcf4dfc2e6ade3 100644 (file)
@@ -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)