Skip to content
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

Port relevant parts of compiler-rt, llvm-libc, and libc++ #233

Closed
mysterymath opened this issue Oct 12, 2022 · 1 comment
Closed

Port relevant parts of compiler-rt, llvm-libc, and libc++ #233

mysterymath opened this issue Oct 12, 2022 · 1 comment
Labels
enhancement New feature or request p1

Comments

@mysterymath
Copy link
Member

The dearth of standard library functionality in LLVM's SDK at the very least presents the image that the compiler is less far along than it actually is. Quite a bit of the standard library functionality in the SDK that is missing is also rather useful, e.g. the time functions.

Given that LLVM itself has set a goal to provide good pure C versions of all of these routines, through its compiler-rt, llvm-libc, and libc++ subprojects, we should at least attempt to port these to llvm-mos. Whatever we can get working well for the 6502 can be imported into the SDK during its build process via the exsting library merging abstraction.

Given that upstreaming llvm-mos is a distant glimmer, we can make changes to these routines in LLVM to make them suitable for the 6502. This can be guarded by macro flags in the usual way.

@mysterymath mysterymath added this to the Version 1.0 milestone Oct 12, 2022
@mysterymath mysterymath added enhancement New feature or request p2 labels Oct 12, 2022
@mysterymath mysterymath removed this from the Version 1.0 milestone Jun 23, 2023
@mysterymath mysterymath added p1 and removed p2 labels Aug 31, 2023
@mysterymath
Copy link
Member Author

Split into #420, #421, and #422

@mysterymath mysterymath closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1
Projects
None yet
Development

No branches or pull requests

1 participant