20031031-1.c: New test.

PR/11640
	* gcc.c-torture/compile/20031031-1.c: New test.

From-SVN: r73143
This commit is contained in:
Josef Zlomek 2003-10-31 15:09:51 +01:00 committed by Josef Zlomek
parent 5d693491f0
commit 739e6d58e7
2 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-10-31 Josef Zlomek <zlomekj@suse.cz>
PR/11640
* gcc.c-torture/compile/20031031-1.c: New test.
2003-10-31 Richard Earnshaw <rearnsha@arm.com>
* g77.dg/bprob/bprob.exp: Disable test on arm-elf configs.

View File

@ -0,0 +1,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;
}