#1246: <= operators get compiled worse than ==
----------------------+-----------------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by simonpj):
John Meacham says "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."
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1246>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs