FreeBSD: add file descriptor tracking for _umtx_op
[valgrind.git] / none / tests / s390x / lam_stam.c
blob0e7bdae1fdd87d5953ddecad646ac8db6bcd3f40
1 /* LAM, STAM, load,store access multiple */
2 #include <stdio.h>
3 #include <unistd.h>
5 char output[44];
6 char input[44] = "0123456789\n"
7 "0123456789\n"
8 "0123456789\n"
9 "0123456789\n";
11 int main()
13 asm volatile( "larl 1,input\n\t"
14 "larl 2,output\n\t"
15 "lam 3,13,0(1)\n\t"
16 "stam 3,13,0(2)\n\t":::"1", "2");
18 write(1, output, sizeof output);
19 return 0;