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][rs6000] Add missing built-in support for 750CL ps_sel instruction


Hello,

This patch adds missing built-in support for 750CL ps_sel instruction.
Tested on ppc64 (only C due to recent failure with mainline on ppc).

OK for mainline?

:ADDPATCH rs6000:

Thanks,
Revital

2007-09-17  Revital Eres  <eres@il.ibm.com>

        * config/rs6000/paired.h (paired_sel): New.
        * config/rs6000/rs6000.c (bdesc_3arg): Add selv2sf4.
        (rs6000_expand_ternop_builtin): Pass zero const_double operand
        when expanding selv2sf.
        * config/rs6000/rs6000.h (rs6000_builtins): Add
        PAIRED_BUILTIN_SELV2SF4.

       * testsuite/gcc.target/powerpc/ppc-paired.c (paired_sel): Add.

(See attached file: patch_sel.txt)

Attachment: patch_sel.txt
Description: Text document


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