summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/octeon-exts-1.c
blob: b0f4be143fc2fd21f9ab471493891751c11d3361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-march=octeon" } */
/* { dg-final { scan-assembler "\texts\t" } } */

struct foo
{
  long long a:3;
  long long b:23;
  long long c:38;
};

NOMIPS16 int
f (struct foo s)
{
  return s.b;
}