On Mon, Mar 26, 2007 at 09:15:35PM -0700, John Meacham wrote:
> actually, this is not true for the specific case of testing against zero
> on x86 at least. there is a 'zero flag' that is set whenever the result
> of an operation is zero. whereas for compares, you actually need to load
> zero into a register and cmp against it.

Uh, you mean normal operations don't set the sign flag?  (I'm just an
assembly programmer and am perfectly willing to defer to a compiler
writer on such issues, but it seems like a strange assertion...)

Stefan
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to