~mcf/cproc

ref: 34ae0d48e9669687003c26f94e07fa00d12dd41f cproc/test/char-sign+riscv64.qbe -rw-r--r-- 146 bytes
34ae0d48Michael Forney Add tests for char/wchar_t signedness 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
export data $x = align 4 { w 0, }
export
function w $main() {
@start.1
@body.2
	%.1 =w sub 0, 1
	%.2 =w extub %.1
	%.3 =w csltw %.2, 0
	ret %.3
}