doc nge vs lt
Closed this issue · 3 comments
Lokathor commented
document why a person would use negated comparisons.
Lokathor commented
@Evrey what's the reason again? seems to be the same op with two different immediate values passed according to the comparison you want.
__m128 _mm_cmpgt_ps (__m128 a, __m128 b)
#include <xmmintrin.h>
Instruction: cmpps xmm, xmm, imm8
CPUID Flags: SSE
__m128 _mm_cmpnle_ps (__m128 a, __m128 b)
#include <xmmintrin.h>
Instruction: cmpps xmm, xmm, imm8
CPUID Flags: SSE
Lokathor commented
Oh it's probably a dumb NaN thing.
Lokathor commented
Alright we're gonna close this because there's no arg order subtlety like was first thought.