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
127086
CStack: Fix 32-bit C loop LLINT.
https://bugs.webkit.org/show_bug.cgi?id=127086
Summary
CStack: Fix 32-bit C loop LLINT.
Mark Lam
Reported
2014-01-16 00:46:53 PST
Patch coming.
Attachments
the patch.
(10.81 KB, patch)
2014-01-16 01:01 PST
,
Mark Lam
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2014-01-16 01:01:29 PST
Created
attachment 221343
[details]
the patch. This patch builds and passes run-javascriptcore-tests --debug --32-bit --cloop --no-jsc-stress. This is the minimum patch that will build and run the 32-bit C loop LLINT. Since the C loop is based on ARM, this patch also fixes part of the ARMv7 LLINT implementation. There is still more to do for ARM (e.g. alignment issues) but I didn’t want to overlap with the work in Michael’s patch. There is still necessarily some minimal overlap with Michael’s patch. I’ll rebase this patch after Michael’s 32-bit patch is finalized.
Oliver Hunt
Comment 2
2014-01-16 08:50:30 PST
Comment on
attachment 221343
[details]
the patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=221343&action=review
> Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm:315 > + addp 8, sp
prior code didn't increment sp prior to the call, should this be in the CLOOP block?
Mark Lam
Comment 3
2014-01-16 08:53:06 PST
Comment on
attachment 221343
[details]
the patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=221343&action=review
>> Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm:315 >> + addp 8, sp > > prior code didn't increment sp prior to the call, should this be in the CLOOP block?
No, the sp adjustment (before and after the call) is needed for all 32-bit ports, and Michael’s patch will make that change. I have to make the same change here or the C loop code won’t work.
Geoffrey Garen
Comment 4
2014-01-16 09:25:16 PST
Comment on
attachment 221343
[details]
the patch. r=me
Mark Lam
Comment 5
2014-01-17 23:23:27 PST
Landed in
r162248
on the jsCStack branch: <
http://trac.webkit.org/r162248
>.
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