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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [smlatt-1.c] - Blame information for rev 714

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_dsp } */
3
/* { dg-options "-O2" } */
4
 
5
int
6
foo (int x, int in1, int in2)
7
{
8
  short a = (in1 & 0xffff0000) >> 16;
9
  short b = (in2 & 0xffff0000) >> 16;
10
 
11
  return x + b * a;
12
}
13
 
14
/* { dg-final { scan-assembler "smlatt\\t" } } */

powered by: WebSVN 2.1.0

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