Ignore:
Timestamp:
Dec 15, 2018, 1:52:02 PM (9 months ago)
Author:
cameron
Message:

BMI2_available() and checking for u32u8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_target.cpp

    r6105 r6235  
    4141    if (sys::getHostCPUFeatures(features)) {
    4242        return features.lookup("ssse3");
     43    }
     44    return false;
     45}
     46
     47bool BMI2_available() {
     48    StringMap<bool> features;
     49    if (sys::getHostCPUFeatures(features)) {
     50        return features.lookup("bmi2");
    4351    }
    4452    return false;
Note: See TracChangeset for help on using the changeset viewer.