util: only allow _BitScanReverse64 on 64-bit cpus
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 14 Aug 2019 20:29:24 +0000 (22:29 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 2 Sep 2019 12:45:45 +0000 (12:45 +0000)
commit2f82d972ab982a816009228ff62bd5c5434062ca
treee3b75970e71d246580ccba913a4f5451f5f2d2c2
parent1de9ba33a232c637121f5d2a5d0a43ff43fbb0b6
util: only allow _BitScanReverse64 on 64-bit cpus

While the documentation for _BitScanReverse64 on MSDN says that it's
available on ARM, this isn't true. It's only available on ARM64. So
let's match reality.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Matt Turner <mattst88@gmail.com>
src/util/bitscan.c
src/util/bitscan.h