summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mri/if.s
blob: 2646be8ab123dc3de166ca48ab77a1cca1bdd5bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; Test MRI structured if pseudo-op.

	xdef	foo
foo
	if d1 <gt> d0 and d2 <gt> d0 then
	  if d1 <gt> d2 then
	    move d1,d3
	  else
	    move d2,d3
	  endi
	else
	  if d0 <gt> d1 or d0 <gt> d2 then
	    move d0,d3
	  endi
	endi

	nop