From: Richard Henderson Date: Sat, 9 May 1998 02:01:55 +0000 (-0700) Subject: * machmode.h (COMPLEX_MODE_P): New macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=760801691294e8684d7aeae69b5bc317393c0d63;p=gcc.git * machmode.h (COMPLEX_MODE_P): New macro. From-SVN: r19644 --- diff --git a/gcc/machmode.h b/gcc/machmode.h index f1f146f2ecf..451f4d1304c 100644 --- 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[];