diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-09 20:12:51 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-09 20:12:51 +0000 |
commit | 93f564d603705e3e717097547f34510ed7f19da3 (patch) | |
tree | 01bce16cd8187f0c885645cbd5419094990089a3 /gcc/optabs.h | |
parent | efd4cd99a429aac82f7bac08f0756dab535a2581 (diff) | |
download | gcc-93f564d603705e3e717097547f34510ed7f19da3.tar.gz |
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/optabs.h')
-rw-r--r-- | gcc/optabs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h index c1d57f67469..aed7a5488a3 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -553,6 +553,9 @@ extern enum insn_code vcondu_gen_code[NUM_MACHINE_MODES]; /* This array records the insn_code of insns to perform block moves. */ extern enum insn_code movmem_optab[NUM_MACHINE_MODES]; +/* This array records the insn_code of insns to implement the signbit function. */ +extern enum insn_code signbit_optab[NUM_MACHINE_MODES]; + /* This array records the insn_code of insns to perform block sets. */ extern enum insn_code setmem_optab[NUM_MACHINE_MODES]; |