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