blob: d9a135465a2f606ac76dcdcb9f3acf0f519d1c13 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
int r;
void test (int a, int b)
{
/* { dg-final { scan-assembler "mneg\tw\[0-9\]*, w\[0-9\]*, w\[0-9\]*\n" } } */
r = - (a * b);
}
|