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

Issue 1527123003: count is an int, so constrain it to a 32-bit w-register. (Closed)

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

Description

count is an int, so constrain it to a 32-bit w-register. This piece of code is already 64-bit only, so we don't need to think about ARMv7. Hopefully this shuts up the warnings. They were harmless. If this doesn't work (it's relatively new modifier, so maybe some compilers barf), an alternative is to cast count to a size_t. BUG=skia:4686 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1527123003 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/f61088321c0906f62431c029173c1a7a70856ec7

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/opts/SkBlitRow_opts_arm_neon.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
mtklein_C
5 years ago (2015-12-16 15:22:34 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527123003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527123003/1
5 years ago (2015-12-16 15:22:47 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-16 15:36:43 UTC) #13
djsollen
lgtm 64-bit trybot likes it and it removes the warnings when I test the patch ...
5 years ago (2015-12-16 20:21:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527123003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527123003/1
5 years ago (2015-12-16 21:41:58 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-16 21:42:40 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/f61088321c0906f62431c029173c1a7a70856ec7

Powered by Google App Engine
This is Rietveld 408576698