http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54408

             Bug #: 54408
           Summary: sqrt for vector types
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: gli...@gcc.gnu.org


Hello,

it would be nice to add sqrt to the gcc vector extensions. There are already
target specific builtins, but a generic one would fit better (and get lowered
to elementwise sqrt when the target doesn't support vector sqrt). I don't know
if __builtin_sqrt should be extended, or maybe a different __builtin_vec_sqrt.

Component "other" because fixing this might involve front, middle and
back-ends.

Reply via email to