Skip to content

Commit

Permalink
testsuite, Darwin, Arm64 : Add U_L_P to bf16 mangling test.
Browse files Browse the repository at this point in the history
gcc/testsuite/ChangeLog

	* g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C: Adjust scan-
	asms to allow for USER_LABEL_PREFIX and Darwin assembler
	syntax.

(cherry picked from commit aaece0d8fea80b13cc02c89d09f487d7fc035303)
Signed-off-by: Kirill A. Korinsky <[email protected]>
  • Loading branch information
iains authored and catap committed Nov 14, 2023
1 parent 852eac5 commit e337881
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gcc/testsuite/g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

/* Test mangling */

/* { dg-final { scan-assembler "\t.global\t_Z1fPu6__bf16" } } */
/* { dg-final { scan-assembler {\t.globa?l[ \t]_?_Z1fPu6__bf16} } } */
void f (__bf16 *x) { }

/* { dg-final { scan-assembler "\t.global\t_Z1gPu6__bf16S_" } } */
/* { dg-final { scan-assembler {\t.globa?l[ \t]_?_Z1gPu6__bf16S_} } } */
void g (__bf16 *x, __bf16 *y) { }

/* { dg-final { scan-assembler "\t.global\t_ZN1SIu6__bf16u6__bf16E1iE" } } */
/* { dg-final { scan-assembler {\t.globa?l[ \t]_?_ZN1SIu6__bf16u6__bf16E1iE} } } */
template <typename T, typename U> struct S { static int i; };
template <> int S<__bf16, __bf16>::i = 3;

0 comments on commit e337881

Please sign in to comment.