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]

Re: [RS6000 PATCH] Improved popcount/parity intrinsics for Power6


2007-02-06  Roger Sayle  <roger@eyesopen.com>

        * config/rs6000/rs6000.md (popcount<mode>2): Rewrite.
        (parity<mode>2): New define_expand using rs6000_emit_parity.
        * config/rs6000/rs6000.c (rs6000_emit_popcount,
        rs6000_emit_parity): New functions.
        * config/rs6000/rs6000-protos.h (rs6000_emit_popcount,
        rs6000_emit_parity): Prototype here.

        * gcc.target/powerpc/popcount-1.c: New test case.
        * gcc.target/powerpc/parity-1.c: Likewise.

Okay.  Thanks!

David


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