This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: more generic simd fixes
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: gcc-patches at gcc dot gnu dot org, tege at swox dot com, rth at redhat dot com
- Date: 26 Jun 2002 17:33:54 -0700
- Subject: Re: RFA: more generic simd fixes
- References: <3D16E422.ECBACCB9@superh.com> <3D1A4A4D.70828E1B@superh.com>
>>>>> "Joern" == Joern Rennecke <joern.rennecke@superh.com> writes:
> typedef int __attribute__((mode(V8HI))) vecint;
> ! vecint i = { 150, 100, 150, 200 };
> ! vecint j = { 10, 13, 20, 30 };
> vecint k;
> union {
> --- 5,12 ----
> typedef int __attribute__((mode(V8HI))) vecint;
> ! vecint i = { 150, 100, 150, 200, 0, 0, 0, 0 };
> ! vecint j = { 10, 13, 20, 30, 1, 1, 1, 1 };
> vecint k;
this part is obviously ok.
Hmm, the front end should issue a warning for missing initializers.
Aldy