s390: Implement extzv for z10
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Dec 2012 18:05:11 +0000 (18:05 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Dec 2012 18:05:11 +0000 (18:05 +0000)
commit6bc2865555843fddf74e8618574ee3923deb91ee
tree13b6b3e56d5eb65f78862c1cf017f280fe0d0020
parent35842b4e24851ae0cbcfdd86a8bc34cfe98721e1
s390: Implement extzv for z10

        * config/s390/predicates.md (nonzero_shift_count_operand): New.
        * config/s390/s390-protos.h (s390_extzv_shift_ok): Declare.
        * config/s390/s390.c (s390_extzv_shift_ok): New function.
        * config/s390/s390.md (extzv): New expander.
        (*extzv<GPR>_zEC12, *extzv<GPR>_z10): New insns.
        (*pre_z10_extzv<GPR>): Rename from *extzv<GPR>; simplify with
        nonzero_shift_count_operand.
        (*extzv_<mode>_srl, *extzv_<mode>_sll): New insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194644 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/s390/predicates.md
gcc/config/s390/s390-protos.h
gcc/config/s390/s390.c
gcc/config/s390/s390.md