summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20031031-1.c
blob: e641b78a358d99a8fe2e1f440afe3c7b29d95dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* PR/11640 */

int
internal_insn_latency (int insn_code, int insn2_code)
{
  switch (insn_code)
    {
    case 256:
      switch (insn2_code)
	{
	case 267:
	  return 8;
	case 266:
	  return 8;
	case 265:
	  return 8;
	case 264:
	  return 8;
	case 263:
	  return 8;
	}
      break;
    case 273:
      switch (insn2_code)
	{
	case 267:
	  return 5;
	case 266:
	  return 5;
	case 277:
	  return 3;
	}
      break;
    }
  return 0;
}