aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/xtensa/xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2004-01-23 22:12:34 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2004-01-23 22:12:34 +0000
commit3712281f9d5275e4b0e388ad78f62df874298726 (patch)
tree8453d3009e4c41314b56ad71dbad9c7dd5e9c957 /gcc/config/xtensa/xtensa.h
parent99e5c00bc49cd444ed102642f44b2d00afdb668f (diff)
downloadgcc-3712281f9d5275e4b0e388ad78f62df874298726.zip
gcc-3712281f9d5275e4b0e388ad78f62df874298726.tar.gz
gcc-3712281f9d5275e4b0e388ad78f62df874298726.tar.bz2
xtensa.c (xtensa_va_arg): Handle complex values as separate real and imaginary parts.
* config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as separate real and imaginary parts. * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define. From-SVN: r76459
Diffstat (limited to 'gcc/config/xtensa/xtensa.h')
-rw-r--r--gcc/config/xtensa/xtensa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index a7f470e..88d1ba8 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -806,7 +806,6 @@ typedef struct xtensa_args {
? PARM_BOUNDARY \
: GET_MODE_ALIGNMENT (MODE)))
-
/* Nonzero if we do not know how to pass TYPE solely in registers.
We cannot do so in the following cases:
@@ -823,6 +822,9 @@ typedef struct xtensa_args {
&& (TREE_CODE (TYPE_SIZE (TYPE)) != INTEGER_CST \
|| TREE_ADDRESSABLE (TYPE)))
+/* Pass complex arguments independently. */
+#define SPLIT_COMPLEX_ARGS 1
+
/* Profiling Xtensa code is typically done with the built-in profiling
feature of Tensilica's instruction set simulator, which does not
require any compiler support. Profiling code on a real (i.e.,