KNC: fix implementation of __all() to use KNCni mask test instructions...
This commit is contained in:
@@ -478,7 +478,7 @@ static FORCEINLINE bool __any(__vec16_i1 mask) {
|
||||
}
|
||||
|
||||
static FORCEINLINE bool __all(__vec16_i1 mask) {
|
||||
return (mask==0xFFFF);
|
||||
return _mm512_kortestc(mask, mask);
|
||||
}
|
||||
|
||||
static FORCEINLINE bool __none(__vec16_i1 mask) {
|
||||
|
||||
Reference in New Issue
Block a user