OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [all/] [cond.s] - Blame information for rev 818

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
        .if     0
2
        .if     1
3
        .endc
4
        .long   0
5
        .if     0
6
        .long   1
7
        .endc
8
        .else
9
        .if     1
10
        .endc
11
        .long   2
12
        .if     0
13
        .long   3
14
        .else
15
        .long   4
16
        .endc
17
        .endc
18
 
19
        .if     0
20
        .long   5
21
        .elseif 1
22
        .if     0
23
        .long   6
24
        .elseif 1
25
        .long   7
26
        .endif
27
        .elseif 1
28
        .long   8
29
        .else
30
        .long   9
31
        .endif
32
 
33
        .comm   c, 1
34
        .ifndef c
35
        .err
36
        .endif
37
 
38
        .if     x <> x
39
        .err
40
        .endif
41
        .equiv  y, x
42
        .ifndef y
43
        .err
44
        .endif
45
        .if     x <> y
46
        .err
47
        .endif
48
        .equiv  z, x
49
        .if     y <> z
50
        .err
51
        .endif
52
 
53
        .equiv  a, y + 1
54
        .equiv  b, z - 1
55
        .if     a == x
56
        .err
57
        .endif
58
        .if     a - 1 <> x
59
        .err
60
        .endif
61
        .if     a <> b + 2
62
        .err
63
        .endif
64
        .if     a - b <> 2
65
        .err
66
        .endif
67
 
68
        .equiv  x, 0
69
        .if     y
70
        .err
71
        .elseif y
72
        .err
73
        .endif
74
 
75
        .macro  m x, y
76
        .ifb \x
77
        .long   -1
78
        .else
79
        .long   \x
80
        .endif
81
        .ifnb \y
82
        .long   \y
83
        .else
84
        .long   -1
85
        .endif
86
        .endm
87
        m       ,
88
        m       , 10
89
        m       11,
90
        m       12, 13
91
 
92
        .p2align 5,0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.