summaryrefslogtreecommitdiffstats
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-09 20:12:51 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-09 20:12:51 +0000
commit93f564d603705e3e717097547f34510ed7f19da3 (patch)
tree01bce16cd8187f0c885645cbd5419094990089a3 /gcc/genopinit.c
parentefd4cd99a429aac82f7bac08f0756dab535a2581 (diff)
downloadppe42-gcc-93f564d603705e3e717097547f34510ed7f19da3.tar.gz
ppe42-gcc-93f564d603705e3e717097547f34510ed7f19da3.zip
2007-07-09 Wolfgang Gellerich <gellerich@de.ibm.com>
* optabs.h: Added declaration for signbit_optab. * optabs.c: (init_optabs): Added initialization for signbit_optab. * genoptinit.c (optabs): Added entry for signbit insns. * builtins.c (expand_builtin_signbit): Added code to use a signbit insn, if available. * config/s390/s390.h (S390_TDC_SIGNBIT_SET): New constant. * config/s390/s390.md (signbit<mode>2): New expander. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index 0838058fdcb..3ed772e0db7 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -177,6 +177,7 @@ static const char * const optabs[] =
"push_optab->handlers[$A].insn_code = CODE_FOR_$(push$a1$)",
"reload_in_optab[$A] = CODE_FOR_$(reload_in$a$)",
"reload_out_optab[$A] = CODE_FOR_$(reload_out$a$)",
+ "signbit_optab[$A] = CODE_FOR_$(signbit$F$a2$)",
"movmem_optab[$A] = CODE_FOR_$(movmem$a$)",
"cmpstr_optab[$A] = CODE_FOR_$(cmpstr$a$)",
"cmpstrn_optab[$A] = CODE_FOR_$(cmpstrn$a$)",
OpenPOWER on IntegriCloud