aarch64: Introduce new unspecs for smax/smin
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr60663.c
blobbb48d7fdae8a8adde50f9f6809ae6de7bab88661
1 /* PR rtl-optimization/60663 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_arch_v7a_ok } */
4 /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
5 /* { dg-options "-O2" } */
6 /* { dg-add-options arm_arch_v7a } */
8 int
9 foo (void)
11 unsigned i, j;
12 asm ("%0 %1" : "=r" (i), "=r" (j));
13 return i;