~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/m68hc11/9s12x-exg-sex-tfr.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test for correct generation of 9s12x specific insns.
 
2
 
 
3
        .sect .text
 
4
;;
 
5
;; Test all s12x extended forms of exg,tfr,sex where supported
 
6
;;
 
7
;; presently tmp register and h/l forms not supported in gas
 
8
;exg
 
9
;; none of shaded area is actually supported
 
10
    exg     a,a
 
11
    exg     b,a
 
12
;    exg     ccrh,a
 
13
;    exg     tmp3h,a
 
14
    exg     d,a
 
15
;    exg     xh,a
 
16
;    exg     yh,a
 
17
;    exg     sph,a
 
18
    exg     a,b
 
19
    exg     b,b
 
20
;    exg     ccrl,b
 
21
;    exg     tmp3l,b
 
22
    exg     d,b
 
23
;    exg     xl,b
 
24
;    exg     yl,b
 
25
;    exg     spl,b
 
26
;    exg     a,ccrh
 
27
;    exg     b,ccrl
 
28
    exg     ccr,ccr
 
29
;    exg     tmp3,ccr
 
30
    exg     d,ccr
 
31
    exg     x,ccr
 
32
    exg     y,ccr
 
33
    exg     sp,ccr
 
34
;    exg     a,tmp2h
 
35
;    exg     b,tmp2l
 
36
;    exg     ccr,tmp2
 
37
;    exg     tmp3,tmp2
 
38
;    exg     d,tmp1
 
39
;    exg     x,tmp2
 
40
;    exg     y,tmp2
 
41
;    exg     sp,tmp2
 
42
    exg     a,d
 
43
    exg     b,d
 
44
    exg     ccr,d
 
45
;    exg     tmp1,d
 
46
    exg     d,d
 
47
    exg     x,d
 
48
    exg     y,d
 
49
    exg     sp,d
 
50
;    exg     a,xh
 
51
;    exg     b,xl
 
52
    exg     ccr,x
 
53
;    exg     tmp3,x
 
54
    exg     d,x
 
55
    exg     x,x
 
56
    exg     y,x
 
57
    exg     sp,x
 
58
;    exg     a,yh
 
59
;    exg     b,yl
 
60
    exg     ccr,y
 
61
;    exg     tmp3,y
 
62
    exg     d,y
 
63
    exg     x,y
 
64
    exg     y,y
 
65
    exg     sp,y
 
66
;    exg     a,sph
 
67
;    exg     b,spl
 
68
    exg     ccr,sp
 
69
;    exg     tmp3,sp
 
70
    exg     d,sp
 
71
    exg     x,sp
 
72
    exg     y,sp
 
73
    exg     sp,sp
 
74
 
 
75
;sex
 
76
        sex             a,d
 
77
        sex             b,d
 
78
        sex             d,x ; new
 
79
        sex             d,y ; new
 
80
 
 
81
;tfr
 
82
        tfr             a,a
 
83
        tfr             b,a
 
84
;       tfr             tmp3h,a
 
85
        tfr             d,a
 
86
;       tfr             xh,a
 
87
;       tfr             yh,a
 
88
;       tfr             sph,a
 
89
        tfr             a,b
 
90
        tfr             b,b
 
91
;       tfr             ccrl,b
 
92
;       tfr             tmp3l,b
 
93
        tfr             d,b
 
94
;       tfr             xl,b
 
95
;       tfr             yl,b
 
96
;       tfr             spl,b
 
97
;       tfr             a,ccrh
 
98
;       tfr             b,ccrl
 
99
;       tfr             ccrw,ccrw
 
100
;       tfr             tmp3,ccrw
 
101
;       tfr             d,ccrw
 
102
;       tfr             x,ccrw
 
103
;       tfr             y,ccrw
 
104
;       tfr             sp,ccrw
 
105
;       tfr             a,tmp2h
 
106
;       tfr             b,tmp2l
 
107
;       tfr             ccrw,tmp
 
108
;       tfr             tmp3,tmp2
 
109
;       tfr             d,tmp1
 
110
;       tfr             x,tmp2
 
111
;       tfr             y,tmp2
 
112
;       tfr             sp,tmp2
 
113
;sex
 
114
;sex
 
115
;       tfr             ccrw,d
 
116
;       tfr             tmp1,d
 
117
        tfr             d,d
 
118
        tfr             x,d
 
119
        tfr             y,d
 
120
        tfr             sp,d
 
121
;       tfr             a,xh
 
122
;       tfr             b,xl
 
123
;       tfr             ccrw,x
 
124
;       tfr             tmp3,x
 
125
;sex
 
126
        tfr             x,x
 
127
        tfr             y,x
 
128
        tfr             sp,x
 
129
;       tfr             a,yh
 
130
;       tfr             b,yl
 
131
;       tfr             ccrw,y
 
132
;       tfr             tmp3,y
 
133
;sex
 
134
        tfr             x,y
 
135
        tfr             y,y
 
136
        tfr             sp,y
 
137
;       tfr             a,sph
 
138
;       tfr             b,spl
 
139
;       tfr             ccrw,xp
 
140
;       tfr             tmp3,sp
 
141
        tfr             d,sp
 
142
        tfr             x,sp
 
143
        tfr             y,sp
 
144
        tfr             sp,sp
 
145