1# Source file used to test the and macro.
2
3foo:
4	and	$4,$4,0
5	and	$4,$4,1
6	and	$4,$4,0x8000
7	and	$4,$4,-0x8000
8	and	$4,$4,0x10000
9	and	$4,$4,0x1a5a5
10
11# nor, or, and xor are handled by the same code.  There is a special
12# case for nor, so we test all variants.
13
14	nor	$4,$5,0
15	nor	$4,$5,1
16	nor	$4,$5,0x8000
17	nor	$4,$5,-0x8000
18	nor	$4,$5,0x10000
19	nor	$4,$5,0x1a5a5
20
21	or	$4,$5,0
22
23	xor	$4,$5,0
24
25	# Round to a 16 byte boundary, for ease in testing multiple targets.
26	nop
27	nop
28	nop
29