Changeset 279343 in webkit for trunk/Source/JavaScriptCore/offlineasm/arm.rb
- Timestamp:
- Jun 28, 2021, 10:55:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/offlineasm/arm.rb
r267371 r279343 373 373 $asm.puts "tst #{value.armOperand}, #{mask.armOperand}" 374 374 end 375 end 376 377 def emitArmDoubleCompare(operands, code) 378 $asm.puts "mov #{operands[2].armOperand}, \#0" 379 $asm.puts "vcmpe.f64 #{armOperands(operands[0..1])}" 380 $asm.puts "vmrs APSR_nzcv, FPSCR" 381 $asm.puts "it #{code}" 382 $asm.puts "mov#{code} #{operands[2].armOperand}, \#1" 375 383 end 376 384 … … 642 650 when "cilteq", "cplteq", "cblteq" 643 651 emitArmCompare(operands, "le") 652 when "cdgt" 653 emitArmDoubleCompare(operands, "gt") 654 when "cdgteq" 655 emitArmDoubleCompare(operands, "ge") 656 when "cdlt" 657 emitArmDoubleCompare(operands, "mi") 658 when "cdlteq" 659 emitArmDoubleCompare(operands, "ls") 644 660 when "tis", "tbs", "tps" 645 661 emitArmTestSet(operands, "mi")
Note:
See TracChangeset
for help on using the changeset viewer.