comparison gcc/testsuite/gcc.target/powerpc/dg-future-0.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 /* { dg-options "-mdejagnu-cpu=future" } */
2
3 /* This tests that powerpc_future_ok works. */
4
5 extern void abort (void);
6
7 int futurity (void) {
8 long int e = -1;
9 asm ("pli %0,%1": "+r" (e) : "n" (0x12345));
10 return (e == 0x12345);
11 }
12
13 /* { dg-final { scan-assembler {\mpli\M} } } */