Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7b5b3ef99964513d4572a5c4196b83fcff9b53a
      
https://github.com/WebKit/WebKit/commit/c7b5b3ef99964513d4572a5c4196b83fcff9b53a
  Author: Angelos Oikonomopoulos <ange...@igalia.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M Source/JavaScriptCore/assembler/CPU.h
    M Source/JavaScriptCore/b3/B3LowerInt64.cpp
    M Source/JavaScriptCore/b3/B3LowerToAir32_64.cpp

  Log Message:
  -----------
  Avoid unaligned FP memory accesses on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=277135

Reviewed by Yusuke Suzuki.

On ARMv7 loads/stores of Float/Double values may fault on unaligned
accesses.  Currently, the ARMv7 assembler assumes that can't happen
(which is the case for JS). Instead of penalizing JS code, leave that
assumption in and convert B3 loads/stores of Float/Double to use Int32
memory accesses.

* Source/JavaScriptCore/assembler/CPU.h:
(JSC::hasUnalignedFPMemoryAccess):
* Source/JavaScriptCore/b3/B3LowerInt64.cpp:
* Source/JavaScriptCore/b3/B3LowerToAir32_64.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to