This is the mail archive of the gcc-patches@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] |
Please find attached a patch implementing the Fortran 2008 intrinsics POPCNT and POPPAR. They're implemented by using the existing popcount(), popcountl() and popcountll() builtins. For types larger than 'long long int' (i.e. 128 bit integer on x86_64), we call the long long variant twice on two 64-bit parts, and add the results. Regtested on x86_64-linux, OK to commit? FX
Attachment:
popcnt_poppar.ChangeLog
Description: Binary data
Attachment:
popcnt_poppar.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |