Changeset 148653 in webkit
- Timestamp:
- Apr 17, 2013 6:08:49 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r148650 r148653 1 2013-04-17 Julien Brianceau <jbrianceau@nds.com> 2 3 Fix SH4 build (broken since r148639). 4 https://bugs.webkit.org/show_bug.cgi?id=114773. 5 6 Allow longer displacements for specific branches in SH4 LLINT. 7 8 Reviewed by Oliver Hunt. 9 10 * offlineasm/sh4.rb: 11 1 12 2013-04-14 Roger Fong <roger_fong@apple.com> 2 13 -
trunk/Source/JavaScriptCore/offlineasm/sh4.rb
r148474 r148653 458 458 459 459 def emitSH4BranchIfT(label, neg) 460 sh4opcode = neg ? "bf" : "bt" 461 $asm.puts "#{sh4opcode} #{label.asmLabel}" 460 outlabel = LocalLabel.unique("branchIfT") 461 sh4opcode = neg ? "bt" : "bf" 462 $asm.puts "#{sh4opcode} #{LocalLabelReference.new(codeOrigin, outlabel).asmLabel}" 463 if label.is_a? LocalLabelReference 464 $asm.puts "bra #{label.asmLabel}" 465 $asm.puts "nop" 466 else 467 $asm.puts ".balign 4" 468 $asm.puts "mov.l @(8, PC), #{SH4_TMP_GPRS[0].sh4Operand}" 469 $asm.puts "jmp @#{SH4_TMP_GPRS[0].sh4Operand}" 470 $asm.puts "nop" 471 $asm.puts "nop" 472 $asm.puts ".long #{label.asmLabel}" 473 end 474 outlabel.lower("SH4") 462 475 end 463 476
Note: See TracChangeset
for help on using the changeset viewer.