RESOLVED FIXED237425
[JSC] Improve reuse of known register values on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=237425
Summary [JSC] Improve reuse of known register values on ARMv7
Angelos Oikonomopoulos
Reported 2022-03-03 06:46:24 PST
[JSC] Improve reuse of known register values on ARMv7
Attachments
Patch (15.37 KB, patch)
2022-03-03 06:57 PST, Angelos Oikonomopoulos
no flags
Patch (15.38 KB, patch)
2022-03-04 02:51 PST, Angelos Oikonomopoulos
no flags
Patch (15.39 KB, patch)
2022-03-04 03:02 PST, Angelos Oikonomopoulos
no flags
Angelos Oikonomopoulos
Comment 1 2022-03-03 06:57:43 PST
Zan Dobersek
Comment 2 2022-03-03 09:42:24 PST
Comment on attachment 453731 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453731&action=review > Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h:2482 > + bool absoluteAddressWithinShortOffset(AbsoluteAddress address, CachedTempRegister &cachedRegister, int32_t &offset) Reference ampersands stick to the left. Maybe this could pack the offset value into a return std::optional<int32_t>.
Angelos Oikonomopoulos
Comment 3 2022-03-04 02:49:53 PST
(In reply to Zan Dobersek from comment #2) > Comment on attachment 453731 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=453731&action=review > > > Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h:2482 > > + bool absoluteAddressWithinShortOffset(AbsoluteAddress address, CachedTempRegister &cachedRegister, int32_t &offset) > > Reference ampersands stick to the left. Maybe this could pack the offset > value into a return std::optional<int32_t>. Good point. I was just following the style of CachedTempRegister.value(), but I guess that predates the adoption of C++17 in the source.
Angelos Oikonomopoulos
Comment 4 2022-03-04 02:51:01 PST
EWS
Comment 5 2022-03-04 02:52:56 PST
Zan Dobersek found in /Volumes/Data/worker/Commit-Queue/build/Source/JavaScriptCore/ChangeLog does not appear to be a valid reviewer according to contributors.json. /Volumes/Data/worker/Commit-Queue/build/Source/JavaScriptCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Angelos Oikonomopoulos
Comment 6 2022-03-04 03:02:18 PST
EWS
Comment 7 2022-03-04 05:17:24 PST
Committed r290828 (248064@main): <https://commits.webkit.org/248064@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453827 [details].
Radar WebKit Bug Importer
Comment 8 2022-03-04 05:18:17 PST
Note You need to log in before you can comment on or make changes to this bug.