blob: abfda82a684006e9299a13885e42613e4bf1ecfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-options "-mdejagnu-cpu=future" } */
/* This tests that powerpc_future_ok works. */
extern void abort (void);
int futurity (void) {
long int e = -1;
asm ("pli %0,%1": "+r" (e) : "n" (0x12345));
return (e == 0x12345);
}
/* { dg-final { scan-assembler {\mpli\M} } } */
|