Ignore:
Timestamp:
Mar 26, 2012, 7:03:47 PM (13 years ago)
Author:
[email protected]
Message:

Unaligned userspace access for SH4 platforms
https://bugs.webkit.org/show_bug.cgi?id=79104

Patch by Thouraya ANDOLSI <[email protected]> on 2012-03-26
Reviewed by Gavin Barraclough.

  • assembler/AbstractMacroAssembler.h:

(Jump):
(JSC::AbstractMacroAssembler::Jump::Jump):
(JSC::AbstractMacroAssembler::Jump::link):

  • assembler/MacroAssemblerSH4.h:

(JSC::MacroAssemblerSH4::load16Unaligned):
(JSC::MacroAssemblerSH4::load32WithUnalignedHalfWords):
(JSC::MacroAssemblerSH4::branchDouble):
(JSC::MacroAssemblerSH4::branchTrue):
(JSC::MacroAssemblerSH4::branchFalse):

  • assembler/SH4Assembler.h:

(JSC::SH4Assembler::extraInstrForBranch):
(SH4Assembler):
(JSC::SH4Assembler::bra):
(JSC::SH4Assembler::linkJump):

  • jit/JIT.h:

(JIT):

  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::generatePatternCharacterOnce):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JIT.h

    r112011 r112192  
    553553        static const int sequenceGetByIdHotPathConstantSpace = 5;
    554554        // sequenceGetByIdSlowCase
    555         static const int sequenceGetByIdSlowCaseInstructionSpace = 30;
    556         static const int sequenceGetByIdSlowCaseConstantSpace = 3;
     555        static const int sequenceGetByIdSlowCaseInstructionSpace = 38;
     556        static const int sequenceGetByIdSlowCaseConstantSpace = 4;
    557557        // sequencePutById
    558558        static const int sequencePutByIdInstructionSpace = 36;
     
    568568        static const int patchOffsetGetByIdSlowCaseCall = 0; // FIMXE
    569569#else
    570         static const int patchOffsetGetByIdSlowCaseCall = 26;
     570        static const int patchOffsetGetByIdSlowCaseCall = 34;
    571571#endif
    572572        static const int patchOffsetOpCallCompareToJump = 4;
Note: See TracChangeset for help on using the changeset viewer.