aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.def
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-03-04 19:43:38 +0000
committerRichard Stallman <rms@gnu.org>1993-03-04 19:43:38 +0000
commitc100b4ef762cd11cc2fef61fe9221839b5cb7aee (patch)
tree05de67a3dd1e73aa9f5d914f29c533f54954bddb /gcc/machmode.def
parent5ab10c42b36e0705d544502e750b65ba7ce5ab8c (diff)
downloadgcc-c100b4ef762cd11cc2fef61fe9221839b5cb7aee.zip
gcc-c100b4ef762cd11cc2fef61fe9221839b5cb7aee.tar.gz
gcc-c100b4ef762cd11cc2fef61fe9221839b5cb7aee.tar.bz2
Add complex integer modes.
From-SVN: r3643
Diffstat (limited to 'gcc/machmode.def')
-rw-r--r--gcc/machmode.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/machmode.def b/gcc/machmode.def
index eb1e477..0cbe9f8 100644
--- a/gcc/machmode.def
+++ b/gcc/machmode.def
@@ -81,11 +81,19 @@ DEF_MACHMODE (DFmode, "DF", MODE_FLOAT, 8, 8, XFmode)
DEF_MACHMODE (XFmode, "XF", MODE_FLOAT, 12, 12, TFmode) /* IEEE extended */
DEF_MACHMODE (TFmode, "TF", MODE_FLOAT, 16, 16, VOIDmode)
+/* Complex modes. */
DEF_MACHMODE (SCmode, "SC", MODE_COMPLEX_FLOAT, 8, 4, DCmode)
DEF_MACHMODE (DCmode, "DC", MODE_COMPLEX_FLOAT, 16, 8, XCmode)
DEF_MACHMODE (XCmode, "XC", MODE_COMPLEX_FLOAT, 24, 12, TCmode)
DEF_MACHMODE (TCmode, "TC", MODE_COMPLEX_FLOAT, 32, 16, VOIDmode)
+DEF_MACHMODE (CQImode, "CQI", MODE_COMPLEX_INT, 2, 1, CHImode)
+DEF_MACHMODE (CHImode, "CHI", MODE_COMPLEX_INT, 4, 2, CSImode)
+DEF_MACHMODE (CSImode, "CSI", MODE_COMPLEX_INT, 8, 4, CDImode)
+DEF_MACHMODE (CDImode, "CDI", MODE_COMPLEX_INT, 16, 8, CTImode)
+DEF_MACHMODE (CTImode, "CTI", MODE_COMPLEX_INT, 32, 16, COImode)
+DEF_MACHMODE (COImode, "COI", MODE_COMPLEX_INT, 64, 32, VOIDmode)
+
/* BLKmode is used for structures, arrays, etc.
that fit no more specific mode. */
DEF_MACHMODE (BLKmode, "BLK", MODE_RANDOM, 0, 0, VOIDmode)