Re: [PATCH] Two -mxop wrong-code fixes (PR target/56866)

2013-04-27 Thread Uros Bizjak
On Fri, Apr 26, 2013 at 5:50 PM, Jakub Jelinek wrote: > This patch fixes two wrong-code bugs with -mxop. > One is that vpmacsdqh instruction can be only used for > vec_widen_smult_odd_v4si > but not vec_widen_umult_odd_v4si. Consider we have > unsigned V4SImode h* with arguments > { 3, 3, 3, 3

[PATCH] Two -mxop wrong-code fixes (PR target/56866)

2013-04-26 Thread Jakub Jelinek
Hi! This patch fixes two wrong-code bugs with -mxop. One is that vpmacsdqh instruction can be only used for vec_widen_smult_odd_v4si but not vec_widen_umult_odd_v4si. Consider we have unsigned V4SImode h* with arguments { 3, 3, 3, 3 } h* { 0xaaab, 0xaaab, 0xaaab, 0xaaab } (but not