Displaying 2 results from an estimated 2 matches for "34ec1dd0".
Did you mean:
341c1d0d
2009 Dec 29
0
[LLVMdev] problem compiling x86 intrinsic function
...d idea. If you apply this patch to clang, it will do what you want:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.patch
Type: application/octet-stream
Size: 1040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091229/34ec1dd0/attachment.obj>
-------------- next part --------------
The problem with this is that the optimizer and code generator will explode if the generated intrinsic has the wrong attributes or type. In this case, you have both problems.
Depending directly on llvm intrinsics is also a dangerous thi...
2009 Dec 29
2
[LLVMdev] problem compiling x86 intrinsic function
I am trying to compile this little C-program:
=================
typedef double v2f64 __attribute__((ext_vector_type(2)));
int sse2_cmp_sd(v2f64, v2f64, char ) asm("llvm.x86.sse2.cmp.sd");
int main()
{
static int i;
static float x[10];
static float y[10];
v2f64 m1;
v2f64 m2;
int j;
i = sse2_cmp_sd(m1,m2,'z');
==========================
I expected to