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]

[patch] altivec.md bitwise operations support


Similarly to the patch that was committed to the lno branch (
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00769.html), this patch adds
modelling of one's complement to altivec.md, as well as modelling of
bitwise-and & bitwise-or for additional
data types (previously modelled only for V4SI).

Bootstrapped and passed regression tests on powerpc-apple-darwin7.0.0.

ok for mainline?


thanks,
Dorit, Olga

      * config/rs6000/altivec.md: (andvv16qi3, andv8hi3, one_cmplv16qi2,
        one_cmplv8hi2, one_cmplv4si2, iorv16qi3, iorv8hi3,): New modelling.

      (See attached file: altivec_bitwise_patch)

Attachment: altivec_bitwise_patch
Description: Binary data


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