gnu /
gcc /
6961091b385c5c27c4a555aad0250d3390be05bf s390: Allow more vcond_mask patterns.
Change vcond_mask iterator as to allow the corresponding int mode for
the condition/mask so e.g. boolean conditions become possible:
vtarget = bool_cond ? vsource1 : vsource2.
gcc/ChangeLog:
* config/s390/vector.md (vcond_mask_<mode><mode>): Change to
(vcond_mask_<mode><tointvec>): this.
gcc/testsuite/ChangeLog:
* gcc.target/s390/vector/vcond-mixed-double.c: New test.
* gcc.target/s390/vector/vcond-mixed-float.c: New test.
3 files changed