1 /* Copyright (C) 2001 Free Software Foundation.
3 Making sure that Ultrasparc return instructions do not read
6 /* { dg-do compile { target sparc-*-* } } */
7 /* { dg-options "-mcpu=ultrasparc -O" } */
10 int bar (int a
, int b
, int c
, int d
, int e
, int f
, int g
, int h
)
17 /* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags] { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*ld\[ \t\]*\\\[%sp\\+96\\\]" } } } */
26 /* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags] { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*nop" } } } */