• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

foo(int * p)1 static int foo(int *p)
2 {
3 	asm("op %0" : "=m" (p[0]));
4 
5 	return p[0];
6 }
7 
8 /*
9  * check-name: linear-asm-memop
10  * check-command: test-linearize $file
11  *
12  * check-output-start
13 foo:
14 .L0:
15 	<entry-point>
16 	asm         "op %0"
17 		out: "=m" (%arg1)
18 	load.32     %r4 <- 0[%arg1]
19 	ret.32      %r4
20 
21 
22  * check-output-end
23  */
24