V16QI mode

Geoff Keating geoffk@geoffk.org
Wed Nov 1 16:35:00 GMT 2000


This adds the 'other' 128-bit-long vector mode, the one that has QI
units.  It was marked as local code in the Red Hat tree for some
reason.

Tested on sparc-solaris2.6.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

===File ~/patches/cygnus/gcc-v16qimode.patch================
2000-11-01  Geoff Keating  <geoffk@cygnus.com>

	* machmode.def: Add V16QImode.

Index: gcc/machmode.def
===================================================================
RCS file: /cvs/gcc/egcs/gcc/machmode.def,v
retrieving revision 1.9
diff -p -u -u -p -r1.9 machmode.def
--- machmode.def	2000/10/16 16:38:49	1.9
+++ machmode.def	2000/11/02 00:31:50
@@ -1,6 +1,6 @@
 /* This file contains the definitions and documentation for the
    machine modes used in the GNU compiler.
-   Copyright (C) 1987, 1992, 1994, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1992, 1994, 1997, 1998, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -122,6 +122,8 @@ DEF_MACHMODE (V8QImode, "V8QI", MODE_VEC
 DEF_MACHMODE (V8HImode, "V8HI", MODE_VECTOR_INT, 128, 16, 2, VOIDmode)
 DEF_MACHMODE (V8SImode, "V8SI", MODE_VECTOR_INT, 256, 32, 4, VOIDmode)
 DEF_MACHMODE (V8DImode, "V8DI", MODE_VECTOR_INT, 512, 64, 8, VOIDmode)
+
+DEF_MACHMODE (V16QImode, "V16QI", MODE_VECTOR_INT, 128, 16, 1, VOIDmode)
 
 DEF_MACHMODE (V2SFmode, "V2SF", MODE_VECTOR_FLOAT, 64, 8, 4, VOIDmode)
 DEF_MACHMODE (V2DFmode, "V2DF", MODE_VECTOR_FLOAT, 128, 16, 8, VOIDmode)
============================================================


More information about the Gcc-patches mailing list