@@ -7,12 +7,14 @@ int bar (int, int, int, int, int);
MICROMIPS int
foo (int n, int a, int b, int c, int d)
{
- int i, j;
+ int i, j, k, l;
i = bar (n, a, b, c, d);
j = bar (n, a, b, c, d);
- return i + j;
+ k = bar (n, a, b, c, d);
+ l = bar (n, a, b, c, d);
+ return i + j + k + l;
}
-/* { dg-final { scan-assembler "\tswm\t\\\$16-\\\$2(0|1),\\\$31" } } */
-/* { dg-final { scan-assembler "\tlwm\t\\\$16-\\\$2(0|1),\\\$31" } } */
+/* { dg-final { scan-assembler "\tswm\t\\\$16-\\\$2(2|3),\\\$31" } } */
+/* { dg-final { scan-assembler "\tlwm\t\\\$16-\\\$2(2|3),\\\$31" } } */