blob: 6c8c76b78b0d75fcd0dda88c1bea060a31015ce5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* Check that the SH specific sh_treg_combine RTL optimization pass works as
expected. */
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-O2" } */
/* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m2a*" } } */
/* { dg-final { scan-assembler-times "tst" 5 } } */
/* { dg-final { scan-assembler-times "movt" 0 } } */
/* { dg-final { scan-assembler-times "nott" 1 } } */
/* { dg-final { scan-assembler-times "cmp/eq" 2 } } */
/* { dg-final { scan-assembler-times "cmp/hi" 4 } } */
/* { dg-final { scan-assembler-times "cmp/gt" 3 } } */
/* { dg-final { scan-assembler-times "not\t" 1 } } */
#include "pr51244-20.c"
|