[llvm-bugs] [Bug 17229] x86 FMA could choose different instruction to avoid move

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 26 13:15:29 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=17229

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |llvm-dev at redking.me.uk
         Resolution|---                         |FIXED

--- Comment #8 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fixed by r252335 and r254140. Note -ffast-math has to be specified as well
fp-contract.

__Z4foo1ddd:                            ## @_Z4foo1ddd
    .cfi_startproc
## BB#0:                                ## %entry
    vfmadd231sd    %xmm1, %xmm2, %xmm0
    retq
    .cfi_endproc

    .globl    __Z4foo2dPdd
    .align    4, 0x90
__Z4foo2dPdd:                           ## @_Z4foo2dPdd
    .cfi_startproc
## BB#0:                                ## %entry
    vfmadd231sd    (%rdi), %xmm1, %xmm0
    retq
    .cfi_endproc

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151126/017359e7/attachment.html>


More information about the llvm-bugs mailing list