more C++

Update loads and stores, bit_cast, that sort of thing.

Move most of the #if N == ?? checks inside the functions
rather than around them.  This makes templated code a bit
less verbose.  A couple were clearer leaving the other way.

Change-Id: Idf6734322d55222ffc53d87ca8f7183257cb0a52
Reviewed-on: https://skia-review.googlesource.com/144367
Auto-Submit: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed