Changeset 223202 in webkit for trunk/Source/JavaScriptCore
- Timestamp:
- Oct 11, 2017, 12:33:48 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r223197 r223202 1 2017-10-11 Commit Queue <[email protected]> 2 3 Unreviewed, rolling out r223113 and r223121. 4 https://bugs.webkit.org/show_bug.cgi?id=178182 5 6 Reintroduced 20% regression on Kraken (Requested by rniwa on 7 #webkit). 8 9 Reverted changesets: 10 11 "Enable gigacage on iOS" 12 https://bugs.webkit.org/show_bug.cgi?id=177586 13 https://trac.webkit.org/changeset/223113 14 15 "Use one virtual allocation for all gigacages and their 16 runways" 17 https://bugs.webkit.org/show_bug.cgi?id=178050 18 https://trac.webkit.org/changeset/223121 19 1 20 2017-10-11 Michael Saboff <[email protected]> 2 21 -
trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
r223113 r223202 11995 11995 LValue caged(Gigacage::Kind kind, LValue ptr) 11996 11996 { 11997 if (!Gigacage:: isEnabled(kind))11997 if (!Gigacage::shouldBeEnabled()) 11998 11998 return ptr; 11999 11999 -
trunk/Source/JavaScriptCore/jit/AssemblyHelpers.h
r223113 r223202 1315 1315 { 1316 1316 #if GIGACAGE_ENABLED 1317 if (!Gigacage:: isEnabled(kind))1317 if (!Gigacage::shouldBeEnabled()) 1318 1318 return; 1319 1319 … … 1329 1329 { 1330 1330 #if GIGACAGE_ENABLED 1331 if (!Gigacage:: isEnabled(kind))1331 if (!Gigacage::shouldBeEnabled()) 1332 1332 return; 1333 1333 -
trunk/Source/JavaScriptCore/offlineasm/arm64.rb
r223113 r223202 261 261 end 262 262 263 def arm64LowerLabelReferences(list)264 newList = []265 list.each {266 | node |267 if node.is_a? Instruction268 case node.opcode269 when "loadi", "loadis", "loadp", "loadq", "loadb", "loadbs", "loadh", "loadhs"270 labelRef = node.operands[0]271 if labelRef.is_a? LabelReference272 tmp = Tmp.new(node.codeOrigin, :gpr)273 newList << Instruction.new(codeOrigin, "globaladdr", [LabelReference.new(node.codeOrigin, labelRef.label), tmp])274 newList << Instruction.new(codeOrigin, node.opcode, [Address.new(node.codeOrigin, tmp, Immediate.new(node.codeOrigin, labelRef.offset)), node.operands[1]])275 else276 newList << node277 end278 else279 newList << node280 end281 else282 newList << node283 end284 }285 newList286 end287 288 263 # Workaround for Cortex-A53 erratum (835769) 289 264 def arm64CortexA53Fix835769(list) … … 322 297 result = riscLowerShiftOps(result) 323 298 result = arm64LowerMalformedLoadStoreAddresses(result) 324 result = arm64LowerLabelReferences(result)325 299 result = riscLowerMalformedAddresses(result) { 326 300 | node, address | … … 931 905 $asm.puts "nop" 932 906 $asm.putStr("#endif") 933 when "globaladdr"934 uid = $asm.newUID935 $asm.puts "L_offlineasm_loh_adrp_#{uid}:"936 $asm.puts "adrp #{operands[1].arm64Operand(:ptr)}, #{operands[0].asmLabel}@GOTPAGE"937 $asm.puts "L_offlineasm_loh_ldr_#{uid}:"938 $asm.puts "ldr #{operands[1].arm64Operand(:ptr)}, [#{operands[1].arm64Operand(:ptr)}, #{operands[0].asmLabel}@GOTPAGEOFF]"939 $asm.deferAction {940 $asm.puts ".loh AdrpLdrGot L_offlineasm_loh_adrp_#{uid}, L_offlineasm_loh_ldr_#{uid}"941 }942 907 else 943 908 lowerDefault -
trunk/Source/JavaScriptCore/offlineasm/asm.rb
r223113 r223202 47 47 @numLocalLabels = 0 48 48 @numGlobalLabels = 0 49 @deferredActions = []50 @count = 051 49 52 50 @newlineSpacerState = :none … … 76 74 end 77 75 putsLastComment 78 @deferredActions.each {79 | action |80 action.call()81 }82 76 @outp.puts "OFFLINE_ASM_END" if !$emitWinAsm 83 77 @state = :cpp 84 end85 86 def deferAction(&proc)87 @deferredActions << proc88 end89 90 def newUID91 @count += 192 @count93 78 end 94 79 -
trunk/Source/JavaScriptCore/offlineasm/instructions.rb
r223113 r223202 268 268 [ 269 269 "pcrtoaddr", # Address from PC relative offset - adr instruction 270 "nopFixCortexA53Err835769", # nop on Cortex-A53 (nothing otherwise) 271 "globaladdr" 270 "nopFixCortexA53Err835769" # nop on Cortex-A53 (nothing otherwise) 272 271 ] 273 272
Note:
See TracChangeset
for help on using the changeset viewer.