Add support to GDB for the Renesas rl78 architecture.
[external/binutils.git] / gas / testsuite / gas / all / cond.s
index 3958321..164e055 100644 (file)
        .long   4
        .endc
        .endc
+
+       .if     0
+       .long   5
+       .elseif 1
+       .if     0
+       .long   6
+       .elseif 1
+       .long   7
+       .endif
+       .elseif 1
+       .long   8
+       .else
+       .long   9
+       .endif
+
+       .comm   c, 1
+       .ifndef c
+       .err
+       .endif
+
+       .if     x <> x
+       .err
+       .endif
+       .equiv  y, x
+       .ifndef y
+       .err
+       .endif
+       .if     x <> y
+       .err
+       .endif
+       .equiv  z, x
+       .if     y <> z
+       .err
+       .endif
+
+       .equiv  a, y + 1
+       .equiv  b, z - 1
+       .if     a == x
+       .err
+       .endif
+       .if     a - 1 <> x
+       .err
+       .endif
+       .if     a <> b + 2
+       .err
+       .endif
+       .if     a - b <> 2
+       .err
+       .endif
+
+       .equiv  x, 0
+       .if     y
+       .err
+       .elseif y
+       .err
+       .endif
+
+       .macro  m x, y
+       .ifb \x
+       .long   -1
+       .else
+       .long   \x
+       .endif
+       .ifnb \y
+       .long   \y
+       .else
+       .long   -1
+       .endif
+       .endm
+       m       ,
+       m       , 10
+       m       11,
+       m       12, 13
+
        .p2align 5,0