commit | a5e1e33d3916cf766f876d3def88afb373440a04 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Jul 26 10:07:34 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jul 26 10:07:34 2016 -0700 |
tree | 3aa2c60f52017ff60c287061347b2017ab477ead | |
parent | e25a4f6cbeaccfdc34cf031103f0fbc3e53a3ee5 [diff] |
Fix alignment problems in NEON Sk4b. As written at head, the compiler can assume these loads and stores are 4 byte aligned [1]. We want Sk4b to load from any 1-byte aligned address, to prevent crashes like [2]. [1] https://llvm.org/bugs/show_bug.cgi?id=24421 [2] https://luci-milo.appspot.com/swarming/task/304079e125b1b910/steps/nanobench/0/stdout BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2183133002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review-Url: https://codereview.chromium.org/2183133002