1 /* PR optimization/6842
2 This testcase caused ICE when trying to optimize V8QI subreg of VOIDmode
4 /* { dg-do compile { target i?86-*-* } } */
5 /* { dg-options "-O2 -mmmx" } */
7 typedef int __v8qi
__attribute__ ((__mode__ (__V8QI__
)));
8 extern void abort (void);
9 extern void exit (int);
13 unsigned long long a
= 0x0102030405060708LL
;
14 unsigned long long b
= 0x1020304050607080LL
;
17 c
= (unsigned long long) __builtin_ia32_paddusb ((__v8qi
) a
, (__v8qi
) b
);
18 __builtin_ia32_emms ();
19 if (c
!= 0x1122334455667788LL
)