~mcf/cproc

ref: 16c718729adfaf40cf22aa4efeafb0d92ef5ee3c cproc/test/local-init.qbe -rw-r--r-- 287 bytes
16c71872Michael Forney Prepare for supporting architecture-specific va_list type 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export
function $f() {
@start.1
	%.1 =l alloc8 32
@body.2
	storeb 97, %.1
	%.2 =l add %.1, 1
	storeb 0, %.2
	%.3 =l add %.1, 2
	storeh 0, %.3
	%.4 =l add %.1, 4
	storew 0, %.4
	%.5 =l add %.1, 8
	storel 0, %.5
	%.6 =l add %.1, 16
	storel 0, %.6
	%.7 =l add %.1, 24
	storel 0, %.7
	ret
}