Use intrinsics rather than inline assembly where possible
authorChristopher Dykes <cdykes@fb.com>
Thu, 9 Jun 2016 23:01:25 +0000 (16:01 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Thu, 9 Jun 2016 23:08:23 +0000 (16:08 -0700)
commit1228a37d8cf34c689cbea7d00252a8dccf669de6
tree537cf2e43b0dded87feaf1793426f3bdf6560920
parent3f6e3b45bd73d9aa9827c7f680d2676a0a91f4c5
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: philippv

Differential Revision: D3278901

fbshipit-source-id: 60103ac7cf7ddfb529f65f4aadc687dbdaf423a1
folly/Portability.h
folly/experimental/Instructions.h
folly/experimental/Select64.h