projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c0919
)
* machmode.h (COMPLEX_MODE_P): New macro.
author
Richard Henderson
<rth@gcc.gnu.org>
Sat, 9 May 1998 02:01:55 +0000
(19:01 -0700)
committer
Richard Henderson
<rth@gcc.gnu.org>
Sat, 9 May 1998 02:01:55 +0000
(19:01 -0700)
From-SVN: r19644
gcc/machmode.h
patch
|
blob
|
history
diff --git
a/gcc/machmode.h
b/gcc/machmode.h
index
f1f146f
..
451f4d1
100644
(file)
--- a/
gcc/machmode.h
+++ b/
gcc/machmode.h
@@
-164,6
+164,11
@@
extern enum mode_class mode_class[];
(GET_MODE_CLASS (MODE) == MODE_FLOAT \
|| GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)
+/* Nonzero if MODE is a complex mode. */
+#define COMPLEX_MODE_P(MODE) \
+ (GET_MODE_CLASS (MODE) == MODE_COMPLEX_INT \
+ || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)
+
/* Get the size in bytes of an object of mode MODE. */
extern int mode_size[];