tracer_print_type_float: remove leftover from float16
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Nov 2022 18:25:06 +0000 (13:25 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Nov 2022 18:25:06 +0000 (13:25 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/tracer.c

index db4871303413c97e8586fe1522cd9cf7b7031e84..3afd477c7d8fc269903e7aec51db1be0fc57d587 100644 (file)
@@ -692,8 +692,8 @@ void tracer_print_type_float(const char *separator,
 {
        bool reverse_bo;
 
-       reverse_bo = type_float->byte_order != SIDE_TYPE_FLOAT_WORD_ORDER_HOST;
        tracer_print_type_header(separator, type_float->attr, type_float->nr_attr);
+       reverse_bo = type_float->byte_order != SIDE_TYPE_FLOAT_WORD_ORDER_HOST;
        switch (type_float->float_size) {
        case 2:
        {
@@ -707,7 +707,6 @@ void tracer_print_type_float(const char *separator,
 
                if (reverse_bo)
                        float16.u = side_bswap_16(float16.u);
-               tracer_print_type_header(":", type_desc->u.side_float.attr, type_desc->u.side_float.nr_attr);
                printf("%g", (double) float16.f);
                break;
 #else
This page took 0.023468 seconds and 4 git commands to generate.