Skip to content

Commit e98e3c4

Browse files
committed
Fix float32_bits union so that it always the sizeof float.
1 parent 97a61d0 commit e98e3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compare_sgemm_sbgemm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ typedef union
4949
typedef union
5050
{
5151
float v;
52-
struct
52+
struct __attribute__((packed))
5353
{
5454
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
5555
uint32_t s:1;

0 commit comments

Comments
 (0)