summaryrefslogtreecommitdiff
path: root/gcc/machmode.def
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-04 19:43:38 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-04 19:43:38 +0000
commita4531b5555c787a06129f799c7db25a9295114ef (patch)
tree05de67a3dd1e73aa9f5d914f29c533f54954bddb /gcc/machmode.def
parenta58cb44bc1b1a0ff860307d4069a6555a2966f3f (diff)
downloadgcc-a4531b5555c787a06129f799c7db25a9295114ef.tar.gz
Add complex integer modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3643 138bc75d-0d04-0410-961f-82ee72b054a4
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 eb1e477c046..0cbe9f8163a 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)