Changeset 280682 in webkit
- Timestamp:
- Aug 5, 2021, 5:25:44 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/run-jsc-stress-tests (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r280664 r280682 1 2021-08-05 Zan Dobersek <zdobersek@igalia.com> 2 3 run-jsc-stress-tests: detect the riscv64 architecture 4 https://bugs.webkit.org/show_bug.cgi?id=228817 5 6 Reviewed by Adrian Perez de Castro. 7 8 * Scripts/run-jsc-stress-tests: Detect the riscv64 architecture when 9 examining ELF binaries. For the moment, this architecture should be 10 marked as not supporting FTL. 11 1 12 2021-08-04 Peng Liu <peng.liu6@apple.com> 2 13 -
trunk/Tools/Scripts/run-jsc-stress-tests
r280109 r280682 423 423 # MIPS and PowerPC may be either big- or little-endian. S390 (which includes 424 424 # S390x) is big-endian. The rest are little-endian. 425 # For RISC-V, to avoid encoding problems, construct the comparison string 426 # by packing a char array matching the ELF's RISC-V machine value. 425 427 code = data[18, 20] 426 428 case code … … 447 449 when "\xB7\0" 448 450 "arm64" 451 when [243, 0].pack("cc") 452 "riscv64" 449 453 else 450 454 $stderr.puts "Warning: unable to determine architecture from code: #{code}" … … 514 518 $hostOS = determineOS unless $hostOS 515 519 $architecture = determineArchitecture unless $architecture 516 $isFTLPlatform = !($architecture == "x86" || $architecture == "arm" || $architecture == "mips" || $ hostOS == "windows" || $hostOS == "playstation")520 $isFTLPlatform = !($architecture == "x86" || $architecture == "arm" || $architecture == "mips" || $architecture == "riscv64" || $hostOS == "windows" || $hostOS == "playstation") 517 521 518 522 if $architecture == "x86"
Note:
See TracChangeset
for help on using the changeset viewer.