-
Notifications
You must be signed in to change notification settings - Fork 921
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
128-bit arithmetic is missing in Clang-cl for libbf #14
Comments
this is a compiler issue, not a QuickJS issue. |
GerHobbelt
pushed a commit
to GerHobbelt/quickjs
that referenced
this issue
May 6, 2022
Some debugger issue bugfixes
cykoder
pushed a commit
to cykoder/quickjs
that referenced
this issue
Sep 1, 2023
fix: add dynamic function case for test_line_column
GerHobbelt
pushed a commit
to GerHobbelt/quickjs
that referenced
this issue
Oct 17, 2023
* add support for running the event loop allow running of promise/async code * moved loop to interface file+docs+return value * fix * prettier * prettier test file * removed RESERVED_FUNCTIONS
TooTallNate
pushed a commit
to TooTallNate/quickjs
that referenced
this issue
Dec 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clang-Cl does not yet have total 128-bit arithmetic support available for MSVC backend. You are likely going to see one of these linker error if you tried to compile libbf:
The bug has not been resolved for 5 years now.
To workaround the problem, you can simply patch the file to use 64-bit double limb rather than 128-bit or even not use BigNum at all.
Using 64-bit double limb is fine even on 64-bit platform, but it will probably suffer some performance loss of up to 2x due to lack of AVX/vectorization. I didn't really benchmarked it but as an educated guess I think🤷♂️.
The text was updated successfully, but these errors were encountered: