[webkit-changes] [WebKit/WebKit] 67c8ea: [JSC] Atomics.and returns incorrect number type in...

Keith Miller noreply at github.com
Mon Aug 19 18:16:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67c8ea6bd1f03982d2ad7d4a4a621cc81d954072
      https://github.com/WebKit/WebKit/commit/67c8ea6bd1f03982d2ad7d4a4a621cc81d954072
  Author: Keith Miller <keith_miller at apple.com>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    A JSTests/stress/atomics-ops-sign-extend-not-bit-mask.js
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

  Log Message:
  -----------
  [JSC] Atomics.and returns incorrect number type in JIT compiler
https://bugs.webkit.org/show_bug.cgi?id=277895
rdar://134115829

Reviewed by Yusuke Suzuki.

FTL was incorrectly masking signed non-canonical width Atomics operations rather than the unsigned
operations.

* JSTests/stress/atomics-ops-sign-extend-not-bit-mask.js: Added.
(opt16):
(optU16):
(opt8):
(optU8):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileAtomicsReadModifyWrite):

Canonical link: https://commits.webkit.org/282476@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list