Summary: | Offlineasm ARM backend uses the wrong mnemonic for multiply | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Filip Pizlo
2012-04-03 17:39:52 PDT
Created attachment 135469 [details]
the patch
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. Landed in http://trac.webkit.org/changeset/113113 |