aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arc/mmac-24.c
blob: 30cb6981a03fea55d865eac0567275772c536fde (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-mmac-24" } */
/* { dg-do assemble } */

int f (int i)
{
  __asm__("mult %1, %1, %1" : "=r"(i) : "r"(i));
  return i;
}