[webkit-changes] [WebKit/WebKit] 21aeaa: [JSC] DataViewSet should initialize tempFPR when t...

Yijia Huang noreply at github.com
Fri Jan 3 23:29:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 21aeaad6009ad493bb72c2a337c8984d7961d0d4
      https://github.com/WebKit/WebKit/commit/21aeaad6009ad493bb72c2a337c8984d7961d0d4
  Author: Yijia Huang <hyjorc1 at gmail.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

  Changed paths:
    A JSTests/stress/data-view-float-16.js
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp

  Log Message:
  -----------
  [JSC] DataViewSet should initialize tempFPR when the data byte size is less than 8
https://bugs.webkit.org/show_bug.cgi?id=285363
rdar://142330774

Reviewed by Yusuke Suzuki and Keith Miller.

DataViewSet handles only three cases for floating-point data (data byte
sizes of 2, 4, or 8) in the DFG JIT compilation. The tempFPR is used
when the data byte size is less than 8. Therefore, we should define
tempFPR for a byte size of 2.

* JSTests/stress/data-view-float-16.js: Added.
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

Canonical link: https://commits.webkit.org/288433@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