Ignore:
Timestamp:
Feb 2, 2022, 10:50:38 AM (3 years ago)
Author:
[email protected]
Message:

Update computation of FAST_TLS base.
https://bugs.webkit.org/show_bug.cgi?id=235934

Reviewed by Yusuke Suzuki.

Source/JavaScriptCore:

  • assembler/MacroAssemblerARM64.h:

(JSC::MacroAssemblerARM64::loadFromTLS32):
(JSC::MacroAssemblerARM64::loadFromTLS64):
(JSC::MacroAssemblerARM64::storeToTLS32):
(JSC::MacroAssemblerARM64::storeToTLS64):

  • assembler/SecureARM64EHashPinsInlines.h:

(JSC::SecureARM64EHashPins::keyForCurrentThread):

  • offlineasm/arm64.rb:

Source/WTF:

  • wtf/PlatformHave.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/offlineasm/arm64.rb

    r281565 r288970  
    13141314            end
    13151315            $asm.puts "mrs #{tmp}, tpidrro_el0"
     1316            $asm.puts "#if !HAVE(SIMPLIFIED_FAST_TLS_BASE)"
    13161317            $asm.puts "bic #{tmp}, #{tmp}, #7"
     1318            $asm.puts "#endif"
     1319
    13171320            $asm.puts "ldr #{operands[1].arm64Operand(:ptr)}, [#{tmp}, #{offset}]"
    13181321        when "tls_storep"
     
    13241327            end
    13251328            $asm.puts "mrs #{tmp}, tpidrro_el0"
     1329            $asm.puts "#if !HAVE(SIMPLIFIED_FAST_TLS_BASE)"
    13261330            $asm.puts "bic #{tmp}, #{tmp}, #7"
     1331            $asm.puts "#endif"
    13271332            $asm.puts "str #{operands[0].arm64Operand(:ptr)}, [#{tmp}, #{offset}]"
    13281333        when "loadlinkacqb"
Note: See TracChangeset for help on using the changeset viewer.