[llvm] r210720 - [FastISel][X86] Add support for the sqrt intrinsic.

Eric Christopher echristo at gmail.com
Wed Jun 11 19:28:44 PDT 2014


Ah cool. Thanks. :)
On Jun 11, 2014 7:18 PM, "Juergen Ributzka" <juergen at apple.com> wrote:

> Currently the FastISel tablegen generator doesn't handle simple patterns
> where the number of arguments do not match. For fsqrt it is the additional
> implicit_def operand:
> def : Pat<(f64 (fsqrt FR64:$src)),
>             (VSQRTSDr (f64 (IMPLICIT_DEF)), FR64:$src)>,
> Requires<[HasAVX]>;
>
> Fixing this is on my todo list.
>
> -Juergen
>
> On Jun 11, 2014, at 5:49 PM, Eric Christopher <echristo at gmail.com> wrote:
>
> +    // Unfortunatelly we can't use FastEmit_r, because the AVX version of
> FSQRT
> +    // is not generated by FastISel yet.
> +    // FIXME: Update this code once tablegen can handle it.
>
>
> Assuming you've looked, curious about this?
>
> -eric
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140611/0c042df5/attachment.html>


More information about the llvm-commits mailing list