1# Source file used to test the compare instructions
2foo:
3	cmpeq r11,r2,r3
4	cmpge r11,r2,r3
5	cmpgeu r11,r2,r3
6	cmplt r11,r2,r3
7	cmpltu r11,r2,r3
8	cmpne r11,r2,r3
9# test that cmp generates relocations correctly
10	cmpgei r11,r2,value
11	cmpgeui r11,r2,value+0x200
12	cmplti	r11,r2,value
13	cmpltui r11,r2,value+0x200
14
15	cmpgei r11,r2,0x7fff
16	cmpgeui r11,r2,0x8000
17	cmplti	r11,r2,-0x8000
18	cmpltui r11,r2,0xFFFF
19.global value
20
21
22
23