Displaying 7 results from an estimated 7 matches for "cmpps".
Did you mean:
cmps
2014 Dec 26
2
[LLVMdev] X86 disassembler & assembler mismatch
hi,
some instructions mismatch between assembler & disassembler, like below.
it seems this happens with all SSECC related instructions?
thanks,
Jun
$ echo "cmpps xmm1, xmm2, 23" | ./Release+Asserts/bin/llvm-mc -assemble
-triple=x86_64 --output-asm-variant=1 -x86-asm-syntax=intel -show-encoding
.text
cmpps xmm1, xmm2, 23 # encoding: [0x0f,0xc2,0xca,0x17]
$ echo "0x0f,0xc2,0xca,0x17"|./Release+Asserts/bin/llvm-mc -disassem...
2014 Dec 26
2
[LLVMdev] X86 disassembler & assembler mismatch
...oi2004 at gmail.com> wrote:
>
>> hi,
>>
>> some instructions mismatch between assembler & disassembler, like below.
>> it seems this happens with all SSECC related instructions?
>>
>> thanks,
>> Jun
>>
>>
>>
>> $ echo "cmpps xmm1, xmm2, 23" | ./Release+Asserts/bin/llvm-mc -assemble
>> -triple=x86_64 --output-asm-variant=1 -x86-asm-syntax=intel -show-encoding
>> .text
>> cmpps xmm1, xmm2, 23 # encoding: [0x0f,0xc2,0xca,0x17]
>>
>>
>> $ echo "0x0f,0xc2,0xc...
2017 Jun 14
2
Default FPENV state
Hi,
We are interesting in expanding some vector operations directly in the
IR form as constants https://reviews.llvm.org/D33406,
for example: _mm256_cmp_ps("any input", "any input", _CMP_TRUE_UQ)
should produce -1, -1, -1, ... vector, but for some values for example
"1.00 -nan" if FPU exceptions were enabled this operation triggers the
exception. Here is the question:
2012 Sep 04
2
[LLVMdev] branch on vector compare?
...think
> if you change it to
> %16 = fcmp ogt <4 x float> %15, %cr
> %17 = sext <4 x i1> %16 to <4 x i32>
> %18 = bitcast <4 x i32> %17 to i128
> %19 = icmp ne i128 %18, 0
> br i1 %19, label %true1, label %false2
>
> should do the trick (one cmpps + one ptest + one br instruction).
> This, however, requires sse41 which I don't know if you have - you say
> the extractelements go through memory which I've never seen then again
> our code didn't try to extract the i1 directly (even without fixes for
> ptest the above seq...
2012 Sep 04
0
[LLVMdev] branch on vector compare?
...ael
Liao submitted fixes for this, so I think
if you change it to
%16 = fcmp ogt <4 x float> %15, %cr
%17 = sext <4 x i1> %16 to <4 x i32>
%18 = bitcast <4 x i32> %17 to i128
%19 = icmp ne i128 %18, 0
br i1 %19, label %true1, label %false2
should do the trick (one cmpps + one ptest + one br instruction).
This, however, requires sse41 which I don't know if you have - you say
the extractelements go through memory which I've never seen then again
our code didn't try to extract the i1 directly (even without fixes for
ptest the above sequence will result in...
2012 Sep 03
3
[LLVMdev] branch on vector compare?
> > which goes through memory. Is there some idiom I'm missing so that it would
use
> > for instance movmsk for SSE or vcmpgt & cr6 for altivec?
>
> I don't think you are missing anything: LLVM IR has no support for horizontal
> operations like or'ing the elements of a vector of boolean together. The code
> generators do try to recognize a few idioms and
2012 Sep 05
0
[LLVMdev] branch on vector compare?
...to
>> %16 = fcmp ogt <4 x float> %15, %cr
>> %17 = sext <4 x i1> %16 to <4 x i32>
>> %18 = bitcast <4 x i32> %17 to i128
>> %19 = icmp ne i128 %18, 0
>> br i1 %19, label %true1, label %false2
>>
>> should do the trick (one cmpps + one ptest + one br instruction).
>> This, however, requires sse41 which I don't know if you have - you say
>> the extractelements go through memory which I've never seen then again
>> our code didn't try to extract the i1 directly (even without fixes for
>> pte...