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/] [mips/] [octeon-exts-7.c] - Blame information for rev 321

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* Remove the redundant sign-extension after the sign-extraction.  */
2
/* { dg-do compile } */
3
/* { dg-options "-O -march=octeon -mgp64" } */
4
/* { dg-final { scan-assembler-times "\texts\t" 1 } } */
5
/* { dg-final { scan-assembler-not "sll|sra" } } */
6
 
7
struct bar
8
{
9
  long long a:18;
10
  long long b:14;
11
};
12
 
13
NOMIPS16 int
14
f1 (struct bar *s)
15
{
16
  return s->b;
17
}

powered by: WebSVN 2.1.0

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