~mcf/cproc

ref: 34ae0d48e9669687003c26f94e07fa00d12dd41f cproc/test/compound-assignment.qbe -rw-r--r-- 221 bytes
34ae0d48Michael Forney Add tests for char/wchar_t signedness 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export
function $f() {
@start.1
	%.1 =l alloc4 4
	%.2 =l alloc8 8
@body.2
	storew 0, %.1
	storel %.1, %.2
	%.3 =l loadl %.2
	%.4 =l add %.3, 4
	storel %.4, %.2
	%.5 =w loadw %.3
	%.6 =w add %.5, 1
	storew %.6, %.3
	ret
}