libgcc: Fix BIL_TYPE_SIZE == 32 support in _BitInt <-> dfp support
I've tried last night to enable _BitInt support for i?86-linux, and a few spots in libgcc emitted -Wshift-count-overflow warnings and clearly didn't do what it was supposed to do. Fixed thusly. 2024-02-10 Jakub Jelinek <jakub@redhat.com> * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up BIL_TYPE_SIZE == 32 shifts. * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise. * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise. * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise. * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
Showing
- libgcc/soft-fp/fixddbitint.c 1 addition, 1 deletionlibgcc/soft-fp/fixddbitint.c
- libgcc/soft-fp/fixsdbitint.c 1 addition, 1 deletionlibgcc/soft-fp/fixsdbitint.c
- libgcc/soft-fp/fixtdbitint.c 2 additions, 2 deletionslibgcc/soft-fp/fixtdbitint.c
- libgcc/soft-fp/floatbitintdd.c 5 additions, 5 deletionslibgcc/soft-fp/floatbitintdd.c
- libgcc/soft-fp/floatbitinttd.c 11 additions, 7 deletionslibgcc/soft-fp/floatbitinttd.c
Loading
Please register or sign in to comment