-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add a workaround for Safari 9 ARM iOS right shift by non-immediate zero JIT bug #7191
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
Add a workaround for Safari 9 ARM iOS right shift by non-immediate zero JIT bug #7191
Conversation
|
Perhaps this could be part of cc @Brion |
|
I'd like not to put this as part of |
|
@juj I do still think there is a benefit to a catch-all option, people that just want to support all older browsers. But I agree that it shouldn't be the only way for users that want specific things out of that. So how about adding this new option as you suggested, and also enabling it when |
|
Yeah, having a enable-all sounds good as well. I'll update this PR and add an option for that. |
9597030 to
fcab882
Compare
|
Pushed updated version of this. @kripken does this look good now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with that name fixed
emcc.py
Outdated
| @@ -1099,6 +1099,8 @@ def check(input_file): | |||
| if shared.Settings.LEGACY_VM_SUPPORT: | |||
| # legacy vms don't have wasm | |||
| assert not shared.Settings.WASM, 'LEGACY_VM_SUPPORT is only supported for asm.js, and not wasm. Build with -s WASM=0' | |||
| shared.Settings.POLYFILL_OLD_MATH_FUNCTIONS = 1 | |||
| shared.Settings.SUPPORT_IOS_9 = 1 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The IOS option has a different name here than elsewhere, which is WORKAROUND_IOS_9_RIGHT_SHIFT_BUG
fcab882 to
97eccad
Compare
97eccad to
6a90bb4
Compare
Needs emscripten-core/emscripten-fastcomp#231 to land first.