WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203040
Disable pichdr generation on MIPS for return location labels
https://bugs.webkit.org/show_bug.cgi?id=203040
Summary
Disable pichdr generation on MIPS for return location labels
Paulo Matos
Reported
2019-10-16 09:59:39 PDT
Disable pichdr generation on MIPS for return location labels
Attachments
Patch
(1.85 KB, patch)
2019-10-16 10:02 PDT
,
Paulo Matos
no flags
Details
Formatted Diff
Diff
Patch
(2.02 KB, patch)
2019-10-24 00:14 PDT
,
Paulo Matos
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Paulo Matos
Comment 1
2019-10-16 10:02:42 PDT
Created
attachment 381079
[details]
Patch
Caio Lima
Comment 2
2019-10-16 22:38:41 PDT
Comment on
attachment 381079
[details]
Patch LGTM if bots are green. It seems that MIPS EWS is down.
Guillaume Emont
Comment 3
2019-10-22 02:25:57 PDT
Comment on
attachment 381079
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381079&action=review
> Source/JavaScriptCore/offlineasm/mips.rb:686 > + # Only generate a pichdr if the label is not a return location - a cpload > + # (generated by pichdr) after this type of label would cause the a gp register > + # corruption. This regular expression needs to stay in sync with the labels > + # generated in macro defineOSRExitReturnLabel defined llint/LowLevelInterpreter.asm
As far as I understand, the issue is when regular (non-OSR) execution gets through the OSR return label, but the cpload only sets gp correctly if t9 contains the address of the start of cpload, which is the case when we call into it (with "jr t9"), but not when we just execute through the label. I think a note explaining the above should be included in this comment to clarify the reasons for this check.
Paulo Matos
Comment 4
2019-10-24 00:14:46 PDT
Created
attachment 381782
[details]
Patch
WebKit Commit Bot
Comment 5
2019-10-24 01:36:07 PDT
Comment on
attachment 381782
[details]
Patch Clearing flags on attachment: 381782 Committed
r251533
: <
https://trac.webkit.org/changeset/251533
>
WebKit Commit Bot
Comment 6
2019-10-24 01:36:09 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2019-10-24 01:37:34 PDT
<
rdar://problem/56571914
>
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