diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-11-17 18:46:48 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-11-17 18:46:48 +0000 |
commit | 1acf955a6ac8cfccf43001ca30604ce34329f05f (patch) | |
tree | 52294f5b70b95e48c1e1065c95420dedd99cdb0b /llvm/lib | |
parent | f09d1bfceda328864be10e883a863f0265feb6fe (diff) | |
download | bcm5719-llvm-1acf955a6ac8cfccf43001ca30604ce34329f05f.tar.gz bcm5719-llvm-1acf955a6ac8cfccf43001ca30604ce34329f05f.zip |
bmiintrin.h: Allow using the tzcnt intrinsics for non-BMI targets
The tzcnt intrinsics are used non non-BMI targets by code (e.g. ffmpeg)
that uses it as a potentially faster BSF.
The TZCNT instruction is special in that it's encoded in a
backward-compatible way and behaves as BSF on non-BMI targets.
Differential Revision: http://reviews.llvm.org/D14748
llvm-svn: 253358
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions