[Bug other/54408] New: sqrt for vector types

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 29 14:06:00 GMT 2012


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: unassigned@gcc.gnu.org
        ReportedBy: glisse@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.



More information about the Gcc-bugs mailing list