[all-commits] [llvm/llvm-project] 13ced9: [libc] {u}lkbits broken on riscv32 (#115799)

William Tran-Viet via All-commits all-commits at lists.llvm.org
Tue Nov 12 10:38:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13ced90b007fdab3d0ecbe032ead2650d3e7717e
      https://github.com/llvm/llvm-project/commit/13ced90b007fdab3d0ecbe032ead2650d3e7717e
  Author: William Tran-Viet <wtranviet at proton.me>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M libc/config/linux/riscv/entrypoints.txt
    M libc/include/llvm-libc-types/stdfix-types.h

  Log Message:
  -----------
  [libc] {u}lkbits broken on riscv32 (#115799)

- Re-enabled ulkbits and lkbits for Risc-V
- Bumped `int_lk_t` to a `signed long long` and a `uint_ulk_t` to an
`unsigned long long` to guarantee they both fit in 8 bytes, which `long
_Accum` and `unsigned long _Accum` are defaulted to on 32bit
architectures.

This is probably inconvenient on systems that have a word size larger
than 64 bits?

#115778



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list