Changeset 160100 in webkit


Ignore:
Timestamp:
Dec 4, 2013 10:30:49 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION (r160094): Fix lots of crashes for sh4 architecture.
https://bugs.webkit.org/show_bug.cgi?id=125227

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-12-04
Reviewed by Michael Saboff.

  • llint/LowLevelInterpreter32_64.asm: Do not use t4 and t5 as they match a0 and a1.
  • offlineasm/registers.rb: Add t7, t8 and t9 in register list for sh4 port.
  • offlineasm/sh4.rb: Rearrange RegisterID list and add the missing ones.
Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r160099 r160100  
     12013-12-04  Julien Brianceau  <jbriance@cisco.com>
     2
     3        REGRESSION (r160094): Fix lots of crashes for sh4 architecture.
     4        https://bugs.webkit.org/show_bug.cgi?id=125227
     5
     6        Reviewed by Michael Saboff.
     7
     8        * llint/LowLevelInterpreter32_64.asm: Do not use t4 and t5 as they match a0 and a1.
     9        * offlineasm/registers.rb: Add t7, t8 and t9 in register list for sh4 port.
     10        * offlineasm/sh4.rb: Rearrange RegisterID list and add the missing ones.
     11
    1122013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
    213
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm

    r160094 r160100  
    234234        const temp1 = t3 # Same as previousCFR
    235235        const temp2 = a3 # Same as topOfStack
    236         const temp3 = t4
    237         const temp4 = t5
     236        const temp3 = t8
     237        const temp4 = t9
    238238    end
    239239
  • trunk/Source/JavaScriptCore/offlineasm/registers.rb

    r159276 r160100  
    3232     "t4",
    3333     "t5",
     34     "t6",
     35     "t7",
     36     "t8",
     37     "t9",
    3438     "cfr",
    3539     "a0",
     
    4347     
    4448     # 64-bit only registers:
    45      "t6",
    4649     "csr1",  # tag type number register
    4750     "csr2"   # tag mask register
  • trunk/Source/JavaScriptCore/offlineasm/sh4.rb

    r159629 r160100  
    5858    def sh4Operand
    5959        case name
    60         when "a0"
    61             "r4"
    62         when "a1"
    63             "r5"
    64         when "a2"
    65             "r6"
    66         when "a3"
    67             "r7"
    6860        when "t0"
    6961            "r0"
     
    7466        when "t3"
    7567            "r10"
    76         when "t4"
     68        when "t4", "a0"
    7769            "r4"
    78         when "t5"
     70        when "t5", "a1"
    7971            "r5"
     72        when "t6", "a2"
     73            "r6"
     74        when "t7", "a3"
     75            "r7"
     76        when "t8"
     77            "r8"
     78        when "t9"
     79            "r9"
    8080        when "cfr"
    8181            "r14"
Note: See TracChangeset for help on using the changeset viewer.