Re: [PATCH 2/7] s390: Only use lhs zero_extract in word_mode

2012-11-06 Thread Andreas Krebbel
Hi, I had to remove the insv pattern changes from that patch. I understand that you simplified the patterns since the generic RTL expander only generates word mode zero extracts. However, we still need the SImode variant for atomic operations so we cannot remove it. The insv_z10 definition can s

[PATCH 2/7] s390: Only use lhs zero_extract in word_mode

2012-08-09 Thread Richard Henderson
This means that anything targeting extimm or z10 must therefore imply zarch, which implies word_mode == DImode. Then, now that *insv_z10 is no longer dependent on mode, let gas do some arithmetic, rather than doing it in C and generating new rtl. --- gcc/config/s390/s390.md | 45 +++