Changeset 90738 in webkit


Ignore:
Timestamp:
Jul 11, 2011 5:32:18 AM (13 years ago)
Author:
loki@webkit.org
Message:

Fix the condition of the optimized code in doubleTransfer
https://bugs.webkit.org/show_bug.cgi?id=64261

Reviewed by Zoltan Herczeg.

The condition of the optimized code in doubleTransfer is wrong. The
data transfer should be executed with four bytes aligned address.
VFP cannot perform unaligned memory access.

Reported by Jacob Bramley.

  • assembler/ARMAssembler.cpp:

(JSC::ARMAssembler::doubleTransfer):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r90731 r90738  
     12011-07-11  Gabor Loki  <loki@webkit.org>
     2
     3        Fix the condition of the optimized code in doubleTransfer
     4        https://bugs.webkit.org/show_bug.cgi?id=64261
     5
     6        Reviewed by Zoltan Herczeg.
     7
     8        The condition of the optimized code in doubleTransfer is wrong. The
     9        data transfer should be executed with four bytes aligned address.
     10        VFP cannot perform unaligned memory access.
     11
     12        Reported by Jacob Bramley.
     13
     14        * assembler/ARMAssembler.cpp:
     15        (JSC::ARMAssembler::doubleTransfer):
     16
    1172011-07-11  Gabor Loki  <loki@webkit.org>
    218
  • trunk/Source/JavaScriptCore/assembler/ARMAssembler.cpp

    r90731 r90738  
    314314void ARMAssembler::doubleTransfer(bool isLoad, FPRegisterID srcDst, RegisterID base, int32_t offset)
    315315{
    316     if (offset & 0x3) {
     316    // VFP cannot directly access memory that is not four-byte-aligned
     317    if (!(offset & 0x3)) {
    317318        if (offset <= 0x3ff && offset >= 0) {
    318319            fdtr_u(isLoad, srcDst, base, offset >> 2);
Note: See TracChangeset for help on using the changeset viewer.