diff options
Diffstat (limited to 'gas/testsuite/gas/mri/if.s')
-rw-r--r-- | gas/testsuite/gas/mri/if.s | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mri/if.s b/gas/testsuite/gas/mri/if.s new file mode 100644 index 00000000000..2646be8ab12 --- /dev/null +++ b/gas/testsuite/gas/mri/if.s @@ -0,0 +1,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 |