Use intrinsics rather than inline assembly where possible
authorChristopher Dykes <cdykes@fb.com>
Fri, 6 May 2016 16:32:30 +0000 (09:32 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Fri, 6 May 2016 16:37:08 +0000 (09:37 -0700)
commitceaca5b0cc47ab731984f268d2403fca131ff04f
tree1d515f8f072828c3234728bbcb1eac5140c82a7e
parentfb8565ddcd9beb6c62633c0c5c32637d5e96e95b
Use intrinsics rather than inline assembly where possible

Summary:
I would switch these to just use the intrinsic functions, but GCC 4.8 doesn't support them.
MSVC supports the intrinsics, which is the primary reason for the switch.

Reviewed By: yfeldblum

Differential Revision: D3265572

fb-gh-sync-id: f12d16b8f64cf48adcb97958d7ae88d56689a96f
fbshipit-source-id: f12d16b8f64cf48adcb97958d7ae88d56689a96f
folly/Portability.h
folly/experimental/Instructions.h
folly/experimental/Select64.h