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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [arm/] [thumb2-mul-space.c] - Blame information for rev 816

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

Line No. Rev Author Line
1 313 jeremybenn
/* Use 16-bit multiply instruction in Thumb-2 mode when optimizing for
2
   size.  */
3
/* { dg-options "-mthumb -Os" }  */
4
/* { dg-require-effective-target arm_thumb2_ok } */
5
/* { dg-final { scan-assembler "muls" } } */
6
 
7
int f(int i, int j)
8
{
9
  return i * j;
10
}

powered by: WebSVN 2.1.0

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