-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 llvm.minnum.f(32|64) and llvm.maxnum.f(32|64) intrinsics #5978
Add llvm.minnum.f(32|64) and llvm.maxnum.f(32|64) intrinsics #5978
Conversation
The corresponding change to Emscripten is this PR: emscripten-core/emscripten#5978, and relates to this issue: emscripten-core/emscripten#5976. I’m using emscripten-core#143 as a model.
50554a2
to
6248783
Compare
@@ -1582,6 +1582,10 @@ LibraryManager.library = { | |||
llvm_floor_f64: 'Math_floor', | |||
llvm_round_f32: 'Math_round', | |||
llvm_round_f64: 'Math_round', | |||
llvm_minnum_f32: 'Math_min', | |||
llvm_minnum_f64: 'Math_min', | |||
llvm_maxnum_f32: 'Math_max', |
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 maxnum
ones seem to have already existed (line 4375). Your addition is in a better location, though, let's remove the old ones.
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.
Not sure how I missed those! Updated, thanks.
6248783
to
3d67088
Compare
This fixes emscripten-core#5976. I’m using emscripten-core#4353 as a model.
19dca5d
to
87ff06a
Compare
The corresponding change to Emscripten is this PR: emscripten-core/emscripten#5978, and relates to this issue: emscripten-core/emscripten#5976. I’m using emscripten-core#143 as a model.
Great, thanks! |
The corresponding change to Emscripten is this PR: emscripten-core/emscripten#5978, and relates to this issue: emscripten-core/emscripten#5976.
This fixes #5976. I’m using #4353 as a model.