search for: cmpvint

Displaying 2 results from an estimated 2 matches for "cmpvint".

Did you mean: cmpfint
2007 Jan 19
2
[LLVMdev] Vector comparisons
...or accepts vectors[2], and they are documented as allowed: > If the operands [of icmp or fcmp] are packed typed, the elements of > the vector are compared in turn and the predicate must hold for all > elements. — Gordon [1] % llvm-as <<'EOT' >/dev/null define i1 %cmpvint(<4 x i32> %x, <4 x i32> %y) { %res = icmp eq <4 x i32> %y, %y ret %res } EOT llvm-as: <stdin>:2,0: Packed types not supported by icmp instruction % llvm-as <<'EOT' >/dev/null define i1 %cmpfint(<4 x float> %x, <4 x float> %y) { %res = fc...
2007 Jan 19
0
[LLVMdev] Vector comparisons
...can handle it at this time. So, we made the verifier and AsmParser exclude them. Perhaps someday this will get supported and turned on. Open a PR if you need this. Reid. > > — Gordon > > > > > > [1] > % llvm-as <<'EOT' >/dev/null > define i1 %cmpvint(<4 x i32> %x, <4 x i32> %y) { > %res = icmp eq <4 x i32> %y, %y > ret %res > } > EOT > llvm-as: <stdin>:2,0: Packed types not supported by icmp instruction > % llvm-as <<'EOT' >/dev/null > define i1 %cmpfint(<4 x float> %x, &lt...