Skip to content

[libc] {u}lkbits broken on riscv32 #115799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libc/config/linux/riscv/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ if(LIBC_COMPILER_HAS_FIXED_POINT)
libc.src.stdfix.kbits
libc.src.stdfix.ukbits
# TODO: https://github.com/llvm/llvm-project/issues/115778
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this patch fixes this issue, you should remove this comment as well.

# libc.src.stdfix.lkbits
# libc.src.stdfix.ulkbits
libc.src.stdfix.lkbits
libc.src.stdfix.ulkbits
)
endif()

Expand Down
4 changes: 2 additions & 2 deletions libc/include/llvm-libc-types/stdfix-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ typedef signed short int int_r_t;
typedef signed int int_lr_t;
typedef signed short int_hk_t;
typedef signed int int_k_t;
typedef signed long int_lk_t;
typedef signed long long int_lk_t;
typedef unsigned char uint_uhr_t;
typedef unsigned short int uint_ur_t;
typedef unsigned int uint_ulr_t;
typedef unsigned short int uint_uhk_t;
typedef unsigned int uint_uk_t;
typedef unsigned long uint_ulk_t;
typedef unsigned long long uint_ulk_t;

#endif // LLVM_LIBC_TYPES_STDFIX_TYPES_H
Loading