FreeBSD: add file descriptor tracking for _umtx_op
[valgrind.git] / none / tests / s390x / fold_And16.c
blob58a94b0dd96977bee8ab14a69b75cb6b76d401da
1 #include <stdio.h>
3 int main()
5 unsigned long p = 0;
6 register unsigned long *msg = &p;
8 /* Load "hi\n\0" into P; then convert the 'i' into an 'h' */
9 __asm__ volatile ( "iihl %[p],0x0a00\n\t"
10 "iihh %[p],0x6869\n\t"
11 "nihh %[p],0x6868\n\t" : [p] "+d" (p) : : "cc");
13 /* Write P to stdout; should read "hh\n" */
14 printf("%s", (char *)msg);
16 return 0;