Commit fa88418
committed
[JSC] Do not use smull when shift is not following
https://bugs.webkit.org/show_bug.cgi?id=290274
rdar://147666338
Reviewed by Keith Miller.
We found that using smull for MulHigh has slight perf regression when
shift is not following after that. So this patch tweaks usage of that.
* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:
Canonical link: https://commits.webkit.org/292564@main1 parent e6c5f91 commit fa88418
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
1006 | 1010 | | |
1007 | 1011 | | |
1008 | 1012 | | |
| |||
1020 | 1024 | | |
1021 | 1025 | | |
1022 | 1026 | | |
1023 | | - | |
1024 | | - | |
| 1027 | + | |
1025 | 1028 | | |
1026 | 1029 | | |
1027 | 1030 | | |
| 1031 | + | |
1028 | 1032 | | |
1029 | 1033 | | |
1030 | 1034 | | |
1031 | 1035 | | |
1032 | 1036 | | |
1033 | 1037 | | |
| 1038 | + | |
1034 | 1039 | | |
1035 | 1040 | | |
1036 | 1041 | | |
| |||
0 commit comments