WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
117147
[sh4] Add floating point absolute function support in baseline JIT
https://bugs.webkit.org/show_bug.cgi?id=117147
Summary
[sh4] Add floating point absolute function support in baseline JIT
Julien Brianceau
Reported
2013-06-03 07:21:24 PDT
Add floating point absolute function support in sh4 baseline JIT.
Attachments
Add floating point absolute function support in sh4 baseline JIT
(2.97 KB, patch)
2013-06-03 07:30 PDT
,
Julien Brianceau
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Julien Brianceau
Comment 1
2013-06-03 07:30:06 PDT
Created
attachment 203587
[details]
Add floating point absolute function support in sh4 baseline JIT
WebKit Commit Bot
Comment 2
2013-06-03 07:31:31 PDT
Attachment 203587
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/assembler/MacroAssemblerSH4.h', u'Source/JavaScriptCore/assembler/SH4Assembler.h']" exit_code: 1 Source/JavaScriptCore/assembler/SH4Assembler.h:181: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Julien Brianceau
Comment 3
2013-06-03 07:44:20 PDT
I've tested this patch on
r151092
and I didn't see regressions when running - Tools/Scripts/run-javascriptcore-tests - Tools/Scripts/run-fast-jsc - SunSpider 1.0 I used the following dumb test to measure the performance impact of this patch: var result = 1.123; for (var i = 0; i < 5000000; ++i) { result = result + Math.abs((i / -(i+1)) + (i * 1.1)); } Using
r151092
jsc without patch, I get: real 0m 6.13s user 0m 6.00s sys 0m 0.10s Using
r151092
jsc with patch, I get about 4.3% better: real 0m 5.57s user 0m 5.45s sys 0m 0.10s
Geoffrey Garen
Comment 4
2013-06-04 09:37:35 PDT
Comment on
attachment 203587
[details]
Add floating point absolute function support in sh4 baseline JIT r=me
WebKit Commit Bot
Comment 5
2013-06-04 09:59:01 PDT
Comment on
attachment 203587
[details]
Add floating point absolute function support in sh4 baseline JIT Clearing flags on attachment: 203587 Committed
r151174
: <
http://trac.webkit.org/changeset/151174
>
WebKit Commit Bot
Comment 6
2013-06-04 09:59:03 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