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

[JSC] Fix floating point negation in WasmBBQJIT #10956

Conversation

@Constellation Constellation requested a review from a team as a code owner March 2, 2023 21:45
@Constellation Constellation self-assigned this Mar 2, 2023
@Constellation Constellation added the JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues. label Mar 2, 2023
Copy link
Contributor

@justinmichaud justinmichaud left a comment

Choose a reason for hiding this comment

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

r=me

@Constellation Constellation added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 2, 2023
https://bugs.webkit.org/show_bug.cgi?id=253262
rdar://106161437

Reviewed by Justin Michaud.

This patch aligns WasmBBQJIT to exactly how f32 / f64 negation is implemented in Air.
This is required since wasm cares NaN's bit patterns.

* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJIT::addF32Neg):
(JSC::Wasm::BBQJIT::addF64Neg):

Canonical link: https://commits.webkit.org/261102@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/JSC-Fix-floating-point-negation-in-WasmBBQJIT branch from b99eb86 to f357cb4 Compare March 2, 2023 23:16
@webkit-commit-queue
Copy link
Collaborator

Committed 261102@main (f357cb4): https://commits.webkit.org/261102@main

Reviewed commits have been landed. Closing PR #10956 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit f357cb4 into WebKit:main Mar 2, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 2, 2023
@Constellation Constellation deleted the eng/JSC-Fix-floating-point-negation-in-WasmBBQJIT branch March 3, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues.
Projects
None yet
4 participants