WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Landed in
http://trac.webkit.org/changeset/113113
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug