mul32 should convert powers of 2 to an lshift
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jan 2019 22:42:11 +0000 (22:42 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jan 2019 22:42:11 +0000 (22:42 +0000)
commit595cbabbcc4facae35ff2ca3e3061991912603b5
tree516b3d0d774b804f4fedf83bc7358749d85da587
parent63af7142a202947c760c3bef77591c27c3a9c409
mul32 should convert powers of 2 to an lshift
https://bugs.webkit.org/show_bug.cgi?id=193957

Reviewed by Yusuke Suzuki.

* assembler/MacroAssembler.h:
(JSC::MacroAssembler::mul32):
* assembler/testmasm.cpp:
(JSC::int32Operands):
(JSC::testMul32WithImmediates):
(JSC::run):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/MacroAssembler.h
Source/JavaScriptCore/assembler/testmasm.cpp