Hi,<br><br>I found that llvm.exp.f32 didn't work but sqrt works well.<br><br>I implemented a function like<br><br>define inlinehint float "my_exp"(float %.value) {<br>.body:<br>  %0 = call float @llvm.exp.f32(float %.value)<br>
  ret float %0<br>}<br><br>declare float @llvm.exp.f32(float) nounwind readonly<br><br>But it generates following ASM:<br><br>00280072  movups      xmm0,xmmword ptr [esp+8]  <br>00280077  movss       dword ptr [esp],xmm0  <br>
0028007C  call        00000000  <br>00280081  pop         eax  <br><br>As you seen, line 0028007C will call CRT exp I think, but it calls NULL pointer.<br><br>But sqrt is right.<br><br>005000D1  movss       xmm0,dword ptr [esp+0Ch]  <br>
005000D7  movss       dword ptr [esp],xmm0  <br>005000DC  call           00490018  <br>005000E1  mov           eax,dword ptr [esp+8]   <br><br>Could you give me some help ? Thanks !<br clear="all"><br>-- <br>Ye Wu<br>CELL: +86 159 9957 0103<br>