openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] illegal instruction trap in half test on AMD sempron


From: Thomas Sharpless
Subject: [Openexr-devel] illegal instruction trap in half test on AMD sempron
Date: Tue, 30 Oct 2007 09:27:47 -0400

Building openexr for first time, using MSVC 8 under WinXP home SP2 on 2GB AMD sempron 2500+ box:
HalfTest fails with illegal instruction trap.  Disassembly listing:

    h2 += f1;
00401592  movzx       edx,word ptr [esp+0Ch]
00401597  mov         eax,dword ptr [__imp__toFloat (405008h)]
0040159C  movss       xmm0,dword ptr [eax+edx*4]
004015A1  cvtps2pd    xmm0,xmm0
004015A4  addsd       xmm0,mmword ptr address@hidden (405270h)]
004015AC  push        ecx 
004015AD  cvtpd2ps    xmm0,xmm0
004015B1  lea         ecx,[esp+0Eh]
004015B5  movss       dword ptr [esp],xmm0
004015BA  call        half::half (401400h)
004015BF  mov         di,word ptr [eax]
    assert (h2 == 5);

PC points to the cvtpd2ps instruction.

Is there a known fix for this?

Thanks, Tom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]