Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Issue 1256763003: Remove sk_memcpy32 (Closed)

Created:
5 years, 4 months ago by mtklein_C
Modified:
5 years, 4 months ago
Reviewers:
djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove sk_memcpy32 It's only implemented on x86, where the exisiting benchmark says memcpy() is faster for all cases: Timer overhead: 24ns curr/maxrss loops min median mean max stddev samples config bench 10/10 MB 1 35.9µs 36.2µs 36.2µs 36.6µs 1% ▁▂▄▅▅▃█▄▄▅ nonrendering sk_memcpy32_100000 10/10 MB 13 2.27µs 2.28µs 2.28µs 2.29µs 0% █▄▃▅▃▁▃▅▁▄ nonrendering sk_memcpy32_10000 11/11 MB 677 91.6ns 95.9ns 94.5ns 99.4ns 3% ▅▅▅▅▅█▁▁▁▁ nonrendering sk_memcpy32_1000 11/11 MB 1171 20ns 20.9ns 21.3ns 23.4ns 6% ▁▁▇▃▃▃█▇▃▃ nonrendering sk_memcpy32_100 11/11 MB 1952 14ns 14ns 14.3ns 15.2ns 3% ▁▁██▁▁▁▁▁▁ nonrendering sk_memcpy32_10 11/11 MB 5 33.6µs 33.7µs 34.1µs 35.2µs 2% ▆▇█▁▁▁▁▁▁▁ nonrendering memcpy32_memcpy_100000 11/11 MB 18 2.12µs 2.22µs 2.24µs 2.39µs 5% ▂█▄▇█▄▇▁▁▁ nonrendering memcpy32_memcpy_10000 11/11 MB 1112 87.3ns 87.3ns 89.1ns 93.7ns 3% ▄██▄▁▁▁▁▁▁ nonrendering memcpy32_memcpy_1000 11/11 MB 2124 12.8ns 13.3ns 13.5ns 14.8ns 6% ▁▁▁█▃▃█▇▃▃ nonrendering memcpy32_memcpy_100 11/11 MB 3077 9ns 9.41ns 9.52ns 10.2ns 4% ▃█▁█▃▃▃▃▃▃ nonrendering memcpy32_memcpy_10 (Why? One fewer thing to port to SkOpts.) BUG=skia:4117 Committed: https://skia.googlesource.com/skia/+/58fd2c8af4fc4debbf3c9f3cf7783971982bd6dc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -149 lines) Patch
D bench/MemcpyBench.cpp View 1 chunk +0 lines, -77 lines 0 comments Download
M include/core/SkUtils.h View 1 chunk +0 lines, -9 lines 0 comments Download
M src/codec/SkCodecPriv.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBlitRow_D32.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkUtils.cpp View 3 chunks +0 lines, -14 lines 0 comments Download
M src/opts/SkUtils_opts_SSE2.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/opts/SkUtils_opts_SSE2.cpp View 1 chunk +0 lines, -30 lines 0 comments Download
M src/opts/SkUtils_opts_arm.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M src/opts/SkUtils_opts_none.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
mtklein_C
5 years, 4 months ago (2015-07-27 17:53:48 UTC) #2
djsollen
lgtm
5 years, 4 months ago (2015-07-27 17:56:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1256763003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1256763003/1
5 years, 4 months ago (2015-07-27 17:57:57 UTC) #5
commit-bot: I haz the power
5 years, 4 months ago (2015-07-27 18:08:31 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/58fd2c8af4fc4debbf3c9f3cf7783971982bd6dc

Powered by Google App Engine
This is Rietveld 408576698