diff options
author | 2015-07-23 08:37:02 -0700 | |
---|---|---|
committer | 2015-07-23 08:37:02 -0700 | |
commit | b9c47f996867ec885a7ede697bd1b0859b6d9301 (patch) | |
tree | 4ad178012a0f89830af3d20aede0c4e23411bb7c /tools | |
parent | 11dfc8e57a9a485476b4aff93ea2135ee1846d4f (diff) |
Have Windows use _mm_rsqrt_ss too.
Tidy up a little while I'm in here:
1) SIMD headers are now included by SkTypes.h as appropriate.
2) _mm_cvtss_f32() is pithier and generates the same code.
Looks like this is the only code checking for SSE wrong. After this CL:
~/skia (sse) $ git grep __SSE
include/core/SkPreConfig.h: #if defined(__SSE4_2__)
include/core/SkPreConfig.h: #elif defined(__SSE4_1__)
include/core/SkPreConfig.h: #elif defined(__SSE3__)
include/core/SkPreConfig.h: #elif defined(__SSE2__)
every other check is in SkPreConfig.h where it belongs.
This is going to affect some GMs subtly on Windows.
BUG=chromium:511458
No public API changes.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1248503004
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions