RESOLVED FIXED 83098
Offlineasm ARM backend uses the wrong mnemonic for multiply
https://bugs.webkit.org/show_bug.cgi?id=83098
Summary Offlineasm ARM backend uses the wrong mnemonic for multiply
Filip Pizlo
Reported 2012-04-03 17:39:52 PDT
Patch forthcoming.
Attachments
the patch (1.63 KB, patch)
2012-04-03 17:42 PDT, Filip Pizlo
barraclough: review+
Filip Pizlo
Comment 1 2012-04-03 17:42:19 PDT
Created attachment 135469 [details] the patch
Darin Adler
Comment 2 2012-04-03 17:43:59 PDT
Comment on attachment 135469 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=135469&action=review > Source/JavaScriptCore/offlineasm/armv7.rb:781 > if operands.size == 2 or operands[0] == operands[2] or operands[1] == operands[2] > - emitArmV7("muls", operands) > + emitArmV7("mul", operands) Taking your change log comment literally, it seems this should stay “muls” since it’s passing only two operands. > Source/JavaScriptCore/offlineasm/armv7.rb:784 > - $asm.puts "muls #{operands[2].armV7Operand}, #{operands[2].armV7Operand}, #{operands[1].armV7Operand}" > + $asm.puts "mul #{operands[2].armV7Operand}, #{operands[2].armV7Operand}, #{operands[1].armV7Operand}" This change matches your change log comment.
Filip Pizlo
Comment 3 2012-04-03 17:52:53 PDT
Note You need to log in before you can comment on or make changes to this bug.