| 1 |
/* This test code is included into pr92398.p9-.c and pr92398.p9+.c. |
| 2 |
The two files have the tests for the number of instructions generated for |
| 3 |
P9- versus P9+. |
| 4 |
|
| 5 |
store generates difference instructions as below: |
| 6 |
P9+: mtvsrdd;xxlnot;stxv. |
| 7 |
P8/P7/P6 LE: not;not;std;std. |
| 8 |
P8 BE: mtvsrd;mtvsrd;xxpermdi;xxlnor;stxvd2x. |
| 9 |
P7/P6 BE: std;std;addi;lxvd2x;xxlnor;stxvd2x. |
| 10 |
P9+ and P9- LE are expected, P6/P7/P8 BE are unexpected. */ |
| 11 |
|
| 12 |
void |
| 13 |
bar (__int128_t *dst, __int128_t src) |
| 14 |
{ |
| 15 |
*dst = ~src; |
| 16 |
} |
| 17 |
|