In 4.4, the LEADZ and TRAILZ intrinsics were added.  LEADZ is one of the HPF
intrinsics.  However the other HPF bit intrinsics, POPCNT and POPPAR, were not
included.

POPCNT and POPPAR are present in many other compilers, and have usually been
implemented along with LEADZ.  This is because historically, POPCNT, POPPAR,
and LEADZ were present in the Cray compilers to allow access to hardware
instructions.  So it is a little strange to see LEADZ without the others.

Both POPCNT and POPPAR are also present in the F2008 draft.


-- 
           Summary: Add the remaining HPF bit intrinsics
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: w6ws at earthlink dot net


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

Reply via email to