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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [octeon-exts-7.c] - Blame information for rev 704

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

Line No. Rev Author Line
1 691 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.