diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2014-03-24 17:38:09 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2014-03-24 17:38:09 +0000 |
commit | 72a4ddf2b5f8167dd49a483888f14d34c3da582f (patch) | |
tree | aeae7ffed74971f9fea144af390f17c819a9157c /gcc/optabs.def | |
parent | 2b2384e8c11ac54f8add062584ada9480079a25b (diff) | |
download | gcc-72a4ddf2b5f8167dd49a483888f14d34c3da582f.zip gcc-72a4ddf2b5f8167dd49a483888f14d34c3da582f.tar.gz gcc-72a4ddf2b5f8167dd49a483888f14d34c3da582f.tar.bz2 |
re PR rtl-optimization/60501 (LRA emits add patterns which might clobber cc)
2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR rtl-optimization/60501
* optabs.def (addptr3_optab): New optab.
* optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
* doc/md.texi ("addptrm3"): Document new RTL standard expander.
* expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
* lra.c (emit_add3_insn): Use the addptr pattern if available.
* config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
From-SVN: r208796
Diffstat (limited to 'gcc/optabs.def')
-rw-r--r-- | gcc/optabs.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optabs.def b/gcc/optabs.def index decdaf3..9b89740 100644 --- a/gcc/optabs.def +++ b/gcc/optabs.def @@ -191,6 +191,7 @@ OPTAB_D (addv4_optab, "addv$I$a4") OPTAB_D (subv4_optab, "subv$I$a4") OPTAB_D (mulv4_optab, "mulv$I$a4") OPTAB_D (negv3_optab, "negv$I$a3") +OPTAB_D (addptr3_optab, "addptr$a3") OPTAB_D (smul_highpart_optab, "smul$a3_highpart") OPTAB_D (umul_highpart_optab, "umul$a3_highpart") |