[cairo] _cairo_color_compute_shorts fails with FPU set to single precision

Alexander Larsson alexl at redhat.com
Wed Aug 30 01:11:55 PDT 2006


On Wed, 2006-08-30 at 04:08 -0400, Behdad Esfahbod wrote:
> 
>         cmpl    $65536, %eax
>         sete    %dl
>         subl    %edx, %eax 

Ah. I'm not sure all cpu architectures can set a register (to 1 or 0
only) on a compare like this. Don't some just set a flag as a result of
the compare, and then you can branch based on the flag?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a gun-slinging Amish gangster on the hunt for the last specimen of a 
great and near-mythical creature. She's a vivacious wisecracking mechanic who 
believes she is the reincarnation of an ancient Egyptian queen. They fight 
crime! 



More information about the cairo mailing list