#1138: The -fexcess-precision flag is ignored if supplied on the command line.
----------------------------------------+-----------------------------------
Reporter: dons | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Driver | Version: 6.6
Severity: normal | Resolution:
Keywords: numerics, excess-precision | Difficulty: Easy (1 hr)
Testcase: | Architecture: x86
Os: Unknown |
----------------------------------------+-----------------------------------
Comment (by dons):
By the way, here's the Core loop for the above 'go' function that seems to
consistently beat gcc:
{{{
Main_zdwgo_info:
.text
movl 16(%ebp), %eax
cmpl $1000000000, %eax
jne .L7
movl $r1s7_closure, %esi
addl $20, %ebp
movl (%ebp), %eax
.L8:
jmp *%eax
.L7:
incl %eax
movsd .LC2, %xmm0
movsd (%ebp), %xmm1
mulsd %xmm0, %xmm1
movsd 8(%ebp), %xmm0
mulsd (%ebp), %xmm0
mulsd .LC1, %xmm0
movl %eax, 16(%ebp)
movsd %xmm1, 8(%ebp)
movsd %xmm0, (%ebp)
movl $Main_zdwgo_info, %eax
jmp .L8
}}}
Even with the indirect jump!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1138>
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