1 /* Check that the SH specific sh_optimize_sett_clrt RTL optimization pass
3 /* { dg-do compile } */
4 /* { dg-options "-O2" } */
5 /* { dg-final { scan-assembler-times "clrt" 2 } } */
6 /* { dg-final { scan-assembler-times "sett" 1 } } */
9 test_00 (long long a
, long long b
, long long c
, int d
)
11 /* One of the blocks should have a clrt and the other one should not. */
19 test_01 (long long a
, long long b
)
21 /* Must see a clrt because T bit is undefined at function entry. */
26 test_02 (int a
, int b
, int c
, int d
)
28 /* One of the blocks should have a sett and the other one should not. */