aboutsummaryrefslogtreecommitdiff
path: root/gcc/expmed.h
diff options
context:
space:
mode:
authorZhenqiang Chen <zhenqiang.chen@linaro.org>2014-11-17 05:52:26 +0000
committerZhenqiang Chen <zqchen@gcc.gnu.org>2014-11-17 05:52:26 +0000
commit2d52a3a19d16f75e57f5278d722e227d29ba4d03 (patch)
treef005f7c543c6200411ad017985122790e2488d1b /gcc/expmed.h
parent2e0f134153b4ac30da86de0a918fadcd4675a153 (diff)
downloadgcc-2d52a3a19d16f75e57f5278d722e227d29ba4d03.zip
gcc-2d52a3a19d16f75e57f5278d722e227d29ba4d03.tar.gz
gcc-2d52a3a19d16f75e57f5278d722e227d29ba4d03.tar.bz2
cfgexpand.c (expand_gimple_cond): Check ccmp.
2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org> * cfgexpand.c (expand_gimple_cond): Check ccmp. * expmed.c (emit_cstore): Make it global. * expmed.h: #include "insn-codes.h" (emit_cstore): New prototype. * expr.c (expand_operands): Make it global. * expr.h (expand_operands): New prototype. * optabs.c (get_rtx_code): Make it global. * optabs.h (get_rtx_code): New prototype. From-SVN: r217640
Diffstat (limited to 'gcc/expmed.h')
-rw-r--r--gcc/expmed.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/expmed.h b/gcc/expmed.h
index 446341e..41d5d5f 100644
--- a/gcc/expmed.h
+++ b/gcc/expmed.h
@@ -20,6 +20,8 @@ along with GCC; see the file COPYING3. If not see
#ifndef EXPMED_H
#define EXPMED_H 1
+#include "insn-codes.h"
+
enum alg_code {
alg_unknown,
alg_zero,
@@ -665,4 +667,8 @@ convert_cost (machine_mode to_mode, machine_mode from_mode,
}
extern int mult_by_coeff_cost (HOST_WIDE_INT, machine_mode, bool);
+extern rtx emit_cstore (rtx target, enum insn_code icode, enum rtx_code code,
+ enum machine_mode mode, enum machine_mode compare_mode,
+ int unsignedp, rtx x, rtx y, int normalizep,
+ enum machine_mode target_mode);
#endif