
#8311: suboptimal code generated for even :: Int -> Bool by NCG (x86, x86_64)
------------------------------------+-------------------------------------
Reporter: rwbarton | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (NCG) | Version: 7.7
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
This appears to be the x86 assembly for a specialization for `even :: Int
-> Bool` that's produced by a SPECIALISE pragma for `(^) :: Int -> Int ->
Int` in GHC.Real. The relevant bit is offsets `0x2c` through `0x3b`.
{{{
0000000c