diff options
author | Richard Henderson <rth@redhat.com> | 2012-12-20 10:04:49 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2012-12-20 10:04:49 -0800 |
commit | d378b98328cd8a2204ac59ec22a33f0b04f72011 (patch) | |
tree | 642e3e85bd2ede79e5a2a160728871ae166dfc1a | |
parent | 75ca1b39e545c4d48669f540282b2e004a91e395 (diff) | |
download | gcc-d378b98328cd8a2204ac59ec22a33f0b04f72011.zip gcc-d378b98328cd8a2204ac59ec22a33f0b04f72011.tar.gz gcc-d378b98328cd8a2204ac59ec22a33f0b04f72011.tar.bz2 |
s390: Only use lhs zero_extract in word_mode
* config/s390/s390.md (*insv_l_di_reg_extimm): Un-macroize from :P.
Co-Authored-By: Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
From-SVN: r194641
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/s390/s390.md | 17 |
2 files changed, 10 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4aeb89..e0fa728 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -10,6 +10,8 @@ (*insv<GPR>_z10_noshift): Likewise. (*insv<GPR>_or_z10_noshift): Likewise. + * config/s390/s390.md (*insv_l_di_reg_extimm): Un-macroize from :P. + 2012-12-20 Thomas Schwinge <thomas@codesourcery.com> PR bootstrap/55202 diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index ee030ba..48133ea 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -3524,15 +3524,14 @@ [(set_attr "op_type" "RIL") (set_attr "z10prop" "z10_fwd_E1")]) -; Update the right-most 32 bit of a DI, or the whole of a SI. -(define_insn "*insv_l<mode>_reg_extimm" - [(set (zero_extract:P (match_operand:P 0 "register_operand" "+d") - (const_int 32) - (match_operand 1 "const_int_operand" "n")) - (match_operand:P 2 "const_int_operand" "n"))] - "TARGET_EXTIMM - && BITS_PER_WORD - INTVAL (operands[1]) == 32" - "iilf\t%0,%o2" +; Update the right-most 32 bit of a DI. +(define_insn "*insv_l_di_reg_extimm" + [(set (zero_extract:DI (match_operand:DI 0 "register_operand" "+d") + (const_int 32) + (const_int 32)) + (match_operand:DI 1 "const_int_operand" "n"))] + "TARGET_EXTIMM" + "iilf\t%0,%o1" [(set_attr "op_type" "RIL") (set_attr "z10prop" "z10_fwd_A1")]) |