[LLVMdev] Documentation of fmuladd intrinsic

Lang Hames lhames at gmail.com
Wed Jan 16 16:02:55 PST 2013


Hi Andrew,

That seems like a useful clarification. I've updated the docs with your
suggested text (with some tweaks) in r172680.

Thanks for the suggestion.

Cheers,
Lang.



On Mon, Jan 14, 2013 at 5:25 AM, Andrew Booker <Andrew.Booker at arm.com>wrote:

> Thanks for all the replies - it pretty much confirmed what I think I'd
> worked out about how fmuladd is supposed to behave.
>
> But my initial query wasn't asking what fmuladd did - it was asking for
> the documentation about it to be clarified. Can I suggest that the
> Overview section for fmuladd is changed to say the following (the key
> point being the removal of the word "legal" in the description, to
> avoid confusion with whether the optimisation is legal from the point
> of view of the source language):
>
> The llvm.fmuladd.* intrinsic functions represent multiply-add
> expressions that can be fused if the code generator determines that the
> target instruction set has support for a fused expression, and that its
> use would be efficient.
>
> Andrew
>
> --
> Andrew Booker, Staff Software Engineer
> Media Processing Division
> ARM Ltd, 110 Fulbourn Road, Cambridge CB1 9NJ, UK
> Tel: +44 1223 400695       Fax: +44 1223 400410
>
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium.  Thank you.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130116/fc210063/attachment.html>


More information about the llvm-dev mailing list