1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mmmx" } */
3 
4 typedef short mmxw  __attribute__ ((vector_size (8)));
5 typedef int   mmxdw __attribute__ ((vector_size (8)));
6 
7 mmxdw dw;
8 mmxw w;
9 
test()10 void test()
11 {
12   w+=w;
13   dw= (mmxdw)w;
14 }
15 
16 /* { dg-final { scan-assembler-not "%mm" } } */
17