aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/comp_nodes/ut/mkql_isa_detection_ut.cpp
blob: 5e56afa4a303f896cb10cc2e7d7788d02e418a89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "mkql_computation_node_ut.h"
#include <util/system/cpu_id.h>

namespace NKikimr {
namespace NMiniKQL {

Y_UNIT_TEST_SUITE(TMiniKQLIsaDetection) {
    
    Y_UNIT_TEST_LLVM(TestAVX2) {
        UNIT_ASSERT_VALUES_EQUAL(NX86::HaveAVX2(), true);
    }

    Y_UNIT_TEST_LLVM(TestSSE42) {
        UNIT_ASSERT_VALUES_EQUAL(NX86::HaveSSE42(), true);
    }
}

}
}