Changeset 239838 in webkit
- Timestamp:
- Jan 10, 2019 12:04:32 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r239825 r239838 1 2019-01-10 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r239825. 4 https://bugs.webkit.org/show_bug.cgi?id=193330 5 6 Broke tests on armv7/linux bots (Requested by guijemont on 7 #webkit). 8 9 Reverted changeset: 10 11 "Enable DFG on ARM/Linux again" 12 https://bugs.webkit.org/show_bug.cgi?id=192496 13 https://trac.webkit.org/changeset/239825 14 1 15 2019-01-10 Dominik Infuehr <dinfuehr@igalia.com> 2 16 -
trunk/JSTests/stress/regress-192717.js
r239825 r239838 1 //@ runDefault("--useLLInt=false", "--forceCodeBlockToJettisonDueToOldAge=true", "--maxPerThreadStackUsage=200000", "--exceptionStackTraceLimit=1", "--defaultErrorStackTraceLimit=1") 1 2 //@ skip if $memoryLimited or $buildType == "debug" 2 //@ runDefault("--useLLInt=false", "--forceCodeBlockToJettisonDueToOldAge=true", "--maxPerThreadStackUsage=200000", "--exceptionStackTraceLimit=1", "--defaultErrorStackTraceLimit=1")3 3 4 4 let foo = 'let a'; -
trunk/LayoutTests/ChangeLog
r239837 r239838 1 2019-01-10 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r239825. 4 https://bugs.webkit.org/show_bug.cgi?id=193330 5 6 Broke tests on armv7/linux bots (Requested by guijemont on 7 #webkit). 8 9 Reverted changeset: 10 11 "Enable DFG on ARM/Linux again" 12 https://bugs.webkit.org/show_bug.cgi?id=192496 13 https://trac.webkit.org/changeset/239825 14 1 15 2019-01-10 Justin Fan <justin_fan@apple.com> 2 16 -
trunk/LayoutTests/js/script-tests/dfg-float32array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-float64array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-int16array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-int32array-overflow-values.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-int32array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-int8array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-uint16array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-uint32array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/LayoutTests/js/script-tests/dfg-uint8array.js
r239825 r239838 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" 1 //@ noNoLLIntRunLayoutTest if $architecture == "arm" and $hostOS == "darwin" 2 2 3 3 description( -
trunk/Source/JavaScriptCore/ChangeLog
r239825 r239838 1 2019-01-10 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r239825. 4 https://bugs.webkit.org/show_bug.cgi?id=193330 5 6 Broke tests on armv7/linux bots (Requested by guijemont on 7 #webkit). 8 9 Reverted changeset: 10 11 "Enable DFG on ARM/Linux again" 12 https://bugs.webkit.org/show_bug.cgi?id=192496 13 https://trac.webkit.org/changeset/239825 14 1 15 2019-01-10 Dominik Infuehr <dinfuehr@igalia.com> 2 16 -
trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
r239825 r239838 750 750 } 751 751 752 bool empty() const752 bool empty() 753 753 { 754 754 return !m_jumps.size(); -
trunk/Source/JavaScriptCore/dfg/DFGOSRExit.cpp
r239825 r239838 76 76 #if NUMBER_OF_CALLEE_SAVES_REGISTERS > 0 77 77 78 static_assert(is64Bit(), "we only support callee save registers on 64-bit"); 79 78 80 // Based on AssemblyHelpers::emitRestoreCalleeSavesFor(). 79 81 static void restoreCalleeSavesFor(Context& context, CodeBlock* codeBlock) … … 136 138 if (entry.reg().isGPR()) 137 139 context.gpr(entry.reg().gpr()) = calleeSaveBuffer[uintptrOffset]; 138 else { 139 #if USE(JSVALUE64) 140 else 140 141 context.fpr(entry.reg().fpr()) = bitwise_cast<double>(calleeSaveBuffer[uintptrOffset]); 141 #else142 // FIXME: <https://webkit.org/b/193275> support callee-saved floating point registers on 32-bit architectures143 RELEASE_ASSERT_NOT_REACHED();144 #endif145 }146 142 } 147 143 } … … 166 162 if (entry.reg().isGPR()) 167 163 stack.set(calleeSaveBuffer, entry.offset(), context.gpr<UCPURegister>(entry.reg().gpr())); 168 else { 169 #if USE(JSVALUE64) 164 else 170 165 stack.set(calleeSaveBuffer, entry.offset(), context.fpr<UCPURegister>(entry.reg().fpr())); 171 #else172 // FIXME: <https://webkit.org/b/193275> support callee-saved floating point registers on 32-bit architectures173 RELEASE_ASSERT_NOT_REACHED();174 #endif175 }176 166 } 177 167 } -
trunk/Source/JavaScriptCore/jit/CallFrameShuffler.cpp
r239825 r239838 52 52 for (unsigned i = FPRInfo::numberOfRegisters; i--; ) 53 53 m_lockedRegisters.clear(FPRInfo::toRegister(i)); 54 55 #if USE(JSVALUE64) 56 // ... as well as the runtime registers on 64-bit architectures. 57 // However do not use these registers on 32-bit architectures since 58 // saving and restoring callee-saved registers in CallFrameShuffler isn't supported 59 // on 32-bit architectures yet. 54 // ... as well as the runtime registers. 60 55 m_lockedRegisters.exclude(RegisterSet::vmCalleeSaveRegisters()); 61 #endif62 56 63 57 ASSERT(!data.callee.isInJSStack() || data.callee.virtualRegister().isLocal()); -
trunk/Source/JavaScriptCore/jit/GPRInfo.h
r239825 r239838 527 527 #endif // CPU(X86_64) 528 528 529 #if CPU(ARM) 530 #define NUMBER_OF_ARGUMENT_REGISTERS 4u 529 531 #if CPU(ARM_THUMB2) 530 #define NUMBER_OF_ARGUMENT_REGISTERS 4u531 532 #define NUMBER_OF_CALLEE_SAVES_REGISTERS 1u 533 #else 534 #define NUMBER_OF_CALLEE_SAVES_REGISTERS 0u 535 #endif 532 536 533 537 class GPRInfo { … … 545 549 static const GPRReg regT5 = ARMRegisters::r9; 546 550 static const GPRReg regT6 = ARMRegisters::r10; 547 static const GPRReg regT7 = ARMRegisters::r5; 551 #if CPU(ARM_THUMB2) 552 static const GPRReg regT7 = ARMRegisters::r11; 553 #else 554 static const GPRReg regT7 = ARMRegisters::r7; 555 #endif 548 556 static const GPRReg regT8 = ARMRegisters::r4; 549 557 static const GPRReg regCS0 = ARMRegisters::r11; … … 580 588 ASSERT(static_cast<int>(reg) < 16); 581 589 static const unsigned indexForRegister[16] = 582 { 0, 1, 2, 3, 8, 7, InvalidIndex, InvalidIndex, 4, 5, 6, InvalidIndex, InvalidIndex, InvalidIndex, InvalidIndex, InvalidIndex }; 590 #if CPU(ARM_THUMB2) 591 { 0, 1, 2, 3, 8, InvalidIndex, InvalidIndex, InvalidIndex, 4, 5, 6, 7, InvalidIndex, InvalidIndex, InvalidIndex, InvalidIndex }; 592 #else 593 { 0, 1, 2, 3, 8, InvalidIndex, InvalidIndex, 7, 4, 5, 6, InvalidIndex, InvalidIndex, InvalidIndex, InvalidIndex, InvalidIndex }; 594 #endif 583 595 unsigned result = indexForRegister[reg]; 584 596 return result; -
trunk/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
r239825 r239838 2013 2013 2014 2014 op(llint_throw_from_slow_path_trampoline, macro() 2015 loadp Callee[cfr], t12016 andp MarkedBlockMask, t12017 loadp MarkedBlockFooterOffset + MarkedBlock::Footer::m_vm[t1], t12018 copyCalleeSavesToVMEntryFrameCalleeSavesBuffer(t1, t2)2019 2020 2015 callSlowPath(_llint_slow_path_handle_exception) 2021 2016 … … 2026 2021 andp MarkedBlockMask, t1 2027 2022 loadp MarkedBlockFooterOffset + MarkedBlock::Footer::m_vm[t1], t1 2023 copyCalleeSavesToVMEntryFrameCalleeSavesBuffer(t1, t2) 2028 2024 jmp VM::targetMachinePCForThrow[t1] 2029 2025 end) -
trunk/Source/JavaScriptCore/offlineasm/arm.rb
r239825 r239838 35 35 # x3 => t3, a3, r3 36 36 # x6 => (callee-save scratch) 37 # x7 => cfr 37 # x7 => cfr (ARMv7 only) 38 38 # x8 => t4 (callee-save) 39 39 # x9 => t5 (callee-save) … … 56 56 # d7 => (scratch) 57 57 58 def isARMv7 59 case $activeBackend 60 when "ARMv7" 61 true 62 else 63 raise "bad value for $activeBackend: #{$activeBackend}" 64 end 65 end 66 58 67 class Node 59 68 def armSingle … … 83 92 elsif (~value) >= 0 && (~value) < 256 84 93 $asm.puts "mvn #{register.armOperand}, \##{~value}" 85 els e94 elsif isARMv7 86 95 $asm.puts "movw #{register.armOperand}, \##{value & 0xffff}" 87 96 if (value & 0xffff0000) != 0 88 97 $asm.puts "movt #{register.armOperand}, \##{(value >> 16) & 0xffff}" 89 98 end 99 else 100 $asm.puts "ldr #{register.armOperand}, =#{value}" 90 101 end 91 102 end … … 109 120 "r9" 110 121 when "cfr" 111 "r7"122 isARMv7 ? "r7" : "r11" 112 123 when "csr0" 113 124 "r11" … … 599 610 $asm.puts "mov pc, #{operands[0].armOperand}" 600 611 end 612 if not isARMv7 and not isARMv7Traditional 613 $asm.puts ".ltorg" 614 end 601 615 when "call" 602 616 if operands[0].label? … … 679 693 $asm.puts "ldr #{dest.armOperand}, [#{dest.armOperand}, #{temp.armOperand}]" 680 694 681 offset = 4695 offset = $activeBackend == "ARMv7" ? 4 : 8 682 696 683 697 $asm.deferNextLabelAction { -
trunk/Source/WTF/ChangeLog
r239832 r239838 1 2019-01-10 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r239825. 4 https://bugs.webkit.org/show_bug.cgi?id=193330 5 6 Broke tests on armv7/linux bots (Requested by guijemont on 7 #webkit). 8 9 Reverted changeset: 10 11 "Enable DFG on ARM/Linux again" 12 https://bugs.webkit.org/show_bug.cgi?id=192496 13 https://trac.webkit.org/changeset/239825 14 1 15 2019-01-10 John Wilander <wilander@apple.com> 2 16 -
trunk/Source/WTF/wtf/Platform.h
r239832 r239838 761 761 #define ENABLE_JIT 1 762 762 #endif 763 /* But still disable DFG for now. */ 764 #undef ENABLE_DFG_JIT 765 #define ENABLE_DFG_JIT 0 763 766 #else 764 767 /* Disable JIT and force C_LOOP on all 32bit-architectures but ARMv7-Thumb2/Linux. */ -
trunk/Tools/ChangeLog
r239836 r239838 1 2019-01-10 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r239825. 4 https://bugs.webkit.org/show_bug.cgi?id=193330 5 6 Broke tests on armv7/linux bots (Requested by guijemont on 7 #webkit). 8 9 Reverted changeset: 10 11 "Enable DFG on ARM/Linux again" 12 https://bugs.webkit.org/show_bug.cgi?id=192496 13 https://trac.webkit.org/changeset/239825 14 1 15 2019-01-10 Zhifei Fang <zhifei_fang@apple.com> 2 16 -
trunk/Tools/Scripts/run-jsc-stress-tests
r239836 r239838 450 450 $isFTLPlatform = !($architecture == "x86" || $architecture == "arm" || $architecture == "mips" || $hostOS == "windows") 451 451 452 if [" mips", "x86"].include?($architecture)452 if ["arm", "mips", "x86"].include?($architecture) 453 453 # The JIT is temporarily disabled on these platforms since 454 454 # https://trac.webkit.org/changeset/237547
Note: See TracChangeset
for help on using the changeset viewer.