Add target_features for the bit manipulation instruction sets: BMI 1.0, BMI 2.0, and TBM.
This commit is contained in:
parent
10cbc37cdd
commit
483bec790b
|
@ -32,7 +32,6 @@ class PlatformInfo(object):
|
|||
|
||||
class IntrinsicSet(object):
|
||||
def __init__(self, platform, json):
|
||||
|
||||
self._llvm_prefix = json['llvm_prefix']
|
||||
self._type_info = json['number_info']
|
||||
self._intrinsics = json['intrinsics']
|
||||
|
|
|
@ -30,12 +30,15 @@ const ARM_WHITELIST: &'static [&'static str] = &[
|
|||
const X86_WHITELIST: &'static [&'static str] = &[
|
||||
"avx\0",
|
||||
"avx2\0",
|
||||
"bmi\0",
|
||||
"bmi2\0",
|
||||
"sse\0",
|
||||
"sse2\0",
|
||||
"sse3\0",
|
||||
"sse4.1\0",
|
||||
"sse4.2\0",
|
||||
"ssse3\0",
|
||||
"tbm\0",
|
||||
];
|
||||
|
||||
/// Add `target_feature = "..."` cfgs for a variety of platform
|
||||
|
|
Loading…
Reference in New Issue