WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
63893
Make "Add optimised paths for a few maths functions" work on Qt
https://bugs.webkit.org/show_bug.cgi?id=63893
Summary
Make "Add optimised paths for a few maths functions" work on Qt
Zoltan Herczeg
Reported
2011-07-04 01:38:36 PDT
Make it works!
Attachments
patch
(3.04 KB, patch)
2011-07-04 02:00 PDT
,
Zoltan Herczeg
no flags
Details
Formatted Diff
Diff
updated patch
(2.84 KB, patch)
2011-07-05 02:23 PDT
,
Zoltan Herczeg
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Zoltan Herczeg
Comment 1
2011-07-04 02:00:08 PDT
Created
attachment 99610
[details]
patch
Gabor Loki
Comment 2
2011-07-04 02:10:18 PDT
Comment on
attachment 99610
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=99610&action=review
> Source/JavaScriptCore/ChangeLog:8 > + Move the generated code to the .text section instead of .data section.
Nice catch! Would it make sense to try this optimization on ARM?
Zoltan Herczeg
Comment 3
2011-07-04 06:32:07 PDT
> Would it make sense to try this optimization on ARM?
We need to detect whether hard or softfp ABI is present. Hopefully the compiler will tell us...
Oliver Hunt
Comment 4
2011-07-04 09:26:46 PDT
Comment on
attachment 99610
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=99610&action=review
> Source/JavaScriptCore/jit/ThunkGenerators.cpp:142 > + "jmp " SYMBOL_STRING_RELOCATION(function) "\n" \
Changing this to a jump will misalign the stack on x86_32/mac are you sure it's not complaining about it?
Zoltan Herczeg
Comment 5
2011-07-04 09:46:56 PDT
> Changing this to a jump will misalign the stack on x86_32/mac are you sure it's not complaining about it?
Misalign? Why? Keeps 8 byte alignment, even if you don't push an extra 8 byte return address to it. Or is that 16 byte aligned? I don't know about mac ABI.
Oliver Hunt
Comment 6
2011-07-04 11:55:35 PDT
(In reply to
comment #5
)
> > Changing this to a jump will misalign the stack on x86_32/mac are you sure it's not complaining about it? > > Misalign? Why? Keeps 8 byte alignment, even if you don't push an extra 8 byte return address to it. Or is that 16 byte aligned? I don't know about mac ABI.
Mac ABI requires 16byte alignment
Zoltan Herczeg
Comment 7
2011-07-04 12:33:35 PDT
> Mac ABI requires 16byte alignment
thanks for letting me know. Tomorrow I will put it back and resubmit the patch.
Zoltan Herczeg
Comment 8
2011-07-05 02:23:13 PDT
Created
attachment 99685
[details]
updated patch
Eric Seidel (no email)
Comment 9
2011-07-05 18:08:46 PDT
Seems reasonable to me, but the real JSC experts shoudl comment.
WebKit Review Bot
Comment 10
2011-07-05 18:20:39 PDT
Comment on
attachment 99685
[details]
updated patch Clearing flags on attachment: 99685 Committed
r90425
: <
http://trac.webkit.org/changeset/90425
>
WebKit Review Bot
Comment 11
2011-07-05 18:20:44 PDT
All reviewed patches have been landed. Closing bug.
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