Ignore:
Timestamp:
Sep 16, 2013, 10:13:55 AM (12 years ago)
Author:
[email protected]
Message:

[sh4] Fix typo in subp implementation in LLINT.
https://bugs.webkit.org/show_bug.cgi?id=121438

Patch by Julien Brianceau <[email protected]> on 2013-09-16
Reviewed by Andreas Kling.

  • offlineasm/sh4.rb:
File:
1 edited

Legend:

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

    r155846 r155876  
    572572        when "subi", "subp"
    573573            if operands.size == 3
    574                 if operands[1] != operands[2]
     574                if operands[1] == operands[2]
    575575                    $asm.puts "neg #{sh4Operands([operands[2], operands[2]])}"
    576576                    $asm.puts "add #{sh4Operands([operands[0], operands[2]])}"
Note: See TracChangeset for help on using the changeset viewer.