This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/56829] New: Feature request: "generic" builtin for "movemask"


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

             Bug #: 56829
           Summary: Feature request: "generic" builtin for "movemask"
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vincenzo.innocente@cern.ch


I would like to ask if is possible to add a builtin for "movemask" instructions
supporting vectors of any size (on the same line of  __builtin_shuffle)
One could call it __builtin_ballot following CUDA syntax
implementing any,all,popcnt is then rather trivial using the existing builtins

The rational is described in PR55645


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]