Displaying 2 results from an estimated 2 matches for "lbb_sum_d_4".
Did you mean:
lbb_sum_d_2
2006 Apr 19
0
[LLVMdev] floating point exception and SSE2 instructions
...pxor %xmm0, %xmm0
jmp LBB_sum_d_5 # bb9
LBB_sum_d_2: # cond_true.preheader
pxor %xmm0, %xmm0
xorl %edx, %edx
LBB_sum_d_3: # cond_true
addsd (%ecx), %xmm0
addl $8, %ecx
incl %edx
cmpl %eax, %edx
jne LBB_sum_d_3 # cond_true
LBB_sum_d_4: # bb9.loopexit
LBB_sum_d_5: # bb9
movsd %xmm0, (%esp)
fldl (%esp)
addl $12, %esp
ret
There is nothing here that should cause an exception. Are you using a
release or cvs?
Evan
On Apr 18, 2006, at 11:17 PM, Simon Burton wrote:
>
> Hi,
>
>...
2006 Apr 19
2
[LLVMdev] floating point exception and SSE2 instructions
Hi,
I'm building a little JIT that creates functions to do array manipulations,
eg. sum all the elements of a double* array. I'm writing this in python, generating
llvm assembly intructions and piping that through a call to ParseAssemblyString,
ExecutionEngine, etc.
It's working OK on integer values, but i'm getting nasty floating point exceptions
when i try this on double*