OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [m68k/] [pr36133.c] - Blame information for rev 328

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 320 jeremybenn
/* pr36133.c
2
 
3
   This test ensures that conditional branches can use the condition codes
4
   written by shift instructions, without the need for an extra TST.  */
5
 
6
/* { dg-do compile }  */
7
/* { dg-options "-O2" }  */
8
/* { dg-final { scan-assembler-not "tst" } } */
9
 
10
void
11
f (unsigned int a)
12
{
13
  if (a >> 4)
14
    asm volatile ("nop");
15
  asm volatile ("nop");
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.