added '__ordered_float_and_mask' function to 'knc.h'

This commit is contained in:
Anton Mitrokhin
2015-03-06 09:36:48 +03:00
parent ae0c6dc62a
commit 6621efe139

View File

@@ -1388,6 +1388,10 @@ static FORCEINLINE __vec16_i1 __ordered_float(__vec16_f a, __vec16_f b) {
return _mm512_cmpord_ps_mask(a, b);
}
static FORCEINLINE __vec16_i1 __ordered_float_and_mask(__vec16_f a, __vec16_f b, __vec16_i1 mask) {
return _mm512_mask_cmpord_ps_mask(mask, a, b);
}
static FORCEINLINE __vec16_i1 __unordered_float(__vec16_f a, __vec16_f b) {
return _mm512_cmpunord_ps_mask(a, b);
}