POV-Ray : Newsgroups : povray.off-topic : Ray tracers and transformations : Re: Ray tracers Server Time
10 Oct 2024 23:19:34 EDT (-0400)
  Re: Ray tracers  
From: Joel Yliluoma
Date: 14 Mar 2008 08:15:20
Message: <slrnftkuj8.k3r.bisqwit@bisqwit.iki.fi>
On Fri, 14 Mar 2008 11:41:35 +0200, Severi Salminen wrote:
> 2. What does "ucomisd %xmm0, %xmm0" effectively do? It compares the same
> register.

Checks whether the low double precision floating point value
in the register is (non-)zero.

In the SSE architecture, an instruction such as "por" does not affect
the flags, so the familiar x86 way of "or eax, eax" to set flags would
not work on SSE.

-- 
Joel Yliluoma - http://iki.fi/bisqwit/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.