aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c4x
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-03 07:08:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-03 07:08:29 +0000
commita7a2225a2b951894a6f2b0d8648cd5595efb4a93 (patch)
tree41d34e9d6d9a2ca071567938881ac977bdf79453 /gcc/config/c4x
parenta556fd39abf14ab516df0663c8df99ea8e81f9c5 (diff)
downloadgcc-a7a2225a2b951894a6f2b0d8648cd5595efb4a93.zip
gcc-a7a2225a2b951894a6f2b0d8648cd5595efb4a93.tar.gz
gcc-a7a2225a2b951894a6f2b0d8648cd5595efb4a93.tar.bz2
c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead of gen_rtx.
* config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead of gen_rtx. (LIBCALL_VALUE): Likewise. * config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use gen_rtx_CC0 instead of gen_rtx. * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx. (m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of gen_rtx. (m68hc11_emit_logical): Likewise. From-SVN: r77162
Diffstat (limited to 'gcc/config/c4x')
-rw-r--r--gcc/config/c4x/c4x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index f283c73..1725b79 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -1151,10 +1151,10 @@ CUMULATIVE_ARGS;
/* How Scalar Function Values Are Returned. */
#define FUNCTION_VALUE(VALTYPE, FUNC) \
- gen_rtx(REG, TYPE_MODE(VALTYPE), R0_REGNO) /* Return in R0. */
+ gen_rtx_REG (TYPE_MODE(VALTYPE), R0_REGNO) /* Return in R0. */
#define LIBCALL_VALUE(MODE) \
- gen_rtx(REG, MODE, R0_REGNO) /* Return in R0. */
+ gen_rtx_REG (MODE, R0_REGNO) /* Return in R0. */
#define FUNCTION_VALUE_REGNO_P(REGNO) ((REGNO) == R0_REGNO)