WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227188
Add a new pattern to instruction selector to utilize SMADDL supported by ARM64
https://bugs.webkit.org/show_bug.cgi?id=227188
Summary
Add a new pattern to instruction selector to utilize SMADDL supported by ARM64
Yijia Huang
Reported
2021-06-19 18:03:18 PDT
...
Attachments
Patch
(16.26 KB, patch)
2021-06-21 11:55 PDT
,
Yijia Huang
no flags
Details
Formatted Diff
Diff
Patch
(16.26 KB, patch)
2021-06-21 12:06 PDT
,
Yijia Huang
no flags
Details
Formatted Diff
Diff
Patch
(16.42 KB, patch)
2021-06-21 18:47 PDT
,
Yijia Huang
no flags
Details
Formatted Diff
Diff
Patch
(16.56 KB, patch)
2021-06-22 10:17 PDT
,
Yijia Huang
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(16.44 KB, patch)
2021-06-22 10:48 PDT
,
Yijia Huang
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Yijia Huang
Comment 1
2021-06-21 11:55:17 PDT
Created
attachment 431889
[details]
Patch
Yijia Huang
Comment 2
2021-06-21 12:06:50 PDT
Created
attachment 431891
[details]
Patch
Saam Barati
Comment 3
2021-06-21 18:17:09 PDT
Comment on
attachment 431891
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431891&action=review
Nice. r=me
> Source/JavaScriptCore/b3/B3LowerToAir.cpp:2548 > Air::Opcode multiplyAddOpcode = tryOpcodeForType(MultiplyAdd32, MultiplyAdd64, m_value->type());
maybe worth an assert the multiple add sign extend is available on the same platforms as this, otherwise we wouldn't want it inside this if statement. Maybe: ASSERT(isValidForm(MultiplyAdd64, Arg::Tmp, Arg::Tmp, Arg::Tmp, Arg::Tmp) == isValidForm(MultiplyAddSignExtend32, Arg::Tmp, Arg::Tmp, Arg::Tmp, Arg::Tmp))
Yijia Huang
Comment 4
2021-06-21 18:47:00 PDT
Created
attachment 431938
[details]
Patch
Yijia Huang
Comment 5
2021-06-22 10:17:05 PDT
Created
attachment 431972
[details]
Patch
Yijia Huang
Comment 6
2021-06-22 10:18:29 PDT
(In reply to Saam Barati from
comment #3
)
> Comment on
attachment 431891
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=431891&action=review
> > Nice. r=me > > > Source/JavaScriptCore/b3/B3LowerToAir.cpp:2548 > > Air::Opcode multiplyAddOpcode = tryOpcodeForType(MultiplyAdd32, MultiplyAdd64, m_value->type()); > > maybe worth an assert the multiple add sign extend is available on the same > platforms as this, otherwise we wouldn't want it inside this if statement. > > Maybe: ASSERT(isValidForm(MultiplyAdd64, Arg::Tmp, Arg::Tmp, Arg::Tmp, > Arg::Tmp) == isValidForm(MultiplyAddSignExtend32, Arg::Tmp, Arg::Tmp, > Arg::Tmp, Arg::Tmp))
Updated, thanks for the review.
Yijia Huang
Comment 7
2021-06-22 10:48:31 PDT
Created
attachment 431974
[details]
Patch
EWS
Comment 8
2021-06-22 11:53:48 PDT
Committed
r279134
(
239048@main
): <
https://commits.webkit.org/239048@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431974
[details]
.
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