* sim/m32r/uread16.ms: New testcase.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / m32r / .Sanitize
1 # .Sanitize for devo/sim/testsuite/sim/m32r
2
3 # Each directory to survive it's way into a release will need a file
4 # like this one called "./.Sanitize". All keyword lines must exist,
5 # and must exist in the order specified by this file. Each directory
6 # in the tree will be processed, top down, in the following order.
7
8 # Hash started lines like this one are comments and will be deleted
9 # before anything else is done. Blank lines will also be squashed
10 # out.
11
12 # The lines between the "Do-first:" line and the "Things-to-keep:"
13 # line are executed as a /bin/sh shell script before anything else is
14 # done in this
15
16 Do-first:
17
18 m32rx_files="
19 bcl24.cgs
20 bcl8.cgs
21 bncl24.cgs
22 bncl8.cgs
23 bra8-2.cgs
24 cmpeq.cgs
25 cmpz.cgs
26 divh.cgs
27 jc.cgs
28 jnc.cgs
29 maclh1.cgs
30 maclh1-2.cgs
31 machi-a.cgs
32 maclo-a.cgs
33 macwhi-a.cgs
34 macwlo-a.cgs
35 macwu1.cgs
36 msblo.cgs
37 mulhi-a.cgs
38 mullo-a.cgs
39 mulwhi-a.cgs
40 mulwlo-a.cgs
41 mulwu1.cgs
42 mvfachi-a.cgs
43 mvfaclo-a.cgs
44 mvfacmi-a.cgs
45 mvtachi-a.cgs
46 mvtaclo-a.cgs
47 pcmpbz.cgs
48 rac-dsi.cgs
49 rach-dsi.cgs
50 sadd.cgs
51 sat.cgs
52 satb.cgs
53 sath.cgs
54 sc.cgs
55 snc.cgs"
56
57 if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
58 keep_these_too="${m32rx_files} ${keep_these_too}"
59 else
60 lose_these_too="${m32rx_files} ${lose_these_too}"
61 fi
62
63 Things-to-keep:
64
65 allinsn.exp
66 misc.exp
67 testutils.inc
68
69 add.cgs
70 add3.cgs
71 addi.cgs
72 addv.cgs
73 addv3.cgs
74 addx.cgs
75 and.cgs
76 and3.cgs
77 bc24.cgs
78 bc8.cgs
79 beq.cgs
80 beqz.cgs
81 bgez.cgs
82 bgtz.cgs
83 bl24.cgs
84 bl8.cgs
85 blez.cgs
86 bltz.cgs
87 bnc24.cgs
88 bnc8.cgs
89 bne.cgs
90 bnez.cgs
91 bra24.cgs
92 bra8.cgs
93 cmp.cgs
94 cmpi.cgs
95 cmpu.cgs
96 cmpui.cgs
97 div.cgs
98 divu.cgs
99 jl.cgs
100 jmp.cgs
101 ld-d.cgs
102 ld-plus.cgs
103 ld.cgs
104 ld24.cgs
105 ldb-d.cgs
106 ldb.cgs
107 ldh-d.cgs
108 ldh.cgs
109 ldi16.cgs
110 ldi8.cgs
111 ldub-d.cgs
112 ldub.cgs
113 lduh-d.cgs
114 lduh.cgs
115 lock.cgs
116 machi.cgs
117 maclo.cgs
118 macwhi.cgs
119 macwlo.cgs
120 mul.cgs
121 mulhi.cgs
122 mullo.cgs
123 mulwhi.cgs
124 mulwlo.cgs
125 mv.cgs
126 mvfachi.cgs
127 mvfaclo.cgs
128 mvfacmi.cgs
129 mvfc.cgs
130 mvtachi.cgs
131 mvtaclo.cgs
132 mvtc.cgs
133 neg.cgs
134 nop.cgs
135 not.cgs
136 or.cgs
137 or3.cgs
138 rac.cgs
139 rach.cgs
140 rem.cgs
141 remu.cgs
142 rte.cgs
143 seth.cgs
144 sll.cgs
145 sll3.cgs
146 slli.cgs
147 sra.cgs
148 sra3.cgs
149 srai.cgs
150 srl.cgs
151 srl3.cgs
152 srli.cgs
153 st-d.cgs
154 st-minus.cgs
155 st-plus.cgs
156 st.cgs
157 stb-d.cgs
158 stb.cgs
159 sth-d.cgs
160 sth.cgs
161 sub.cgs
162 subv.cgs
163 subx.cgs
164 trap.cgs
165 unlock.cgs
166 xor.cgs
167 xor3.cgs
168
169 hello.ms
170 hw-trap.ms
171 uread16.ms
172 uread32.ms
173 uwrite16.ms
174 uwrite32.ms
175
176 Things-to-lose:
177
178 Do-last:
179
180 m32rx_files="allinsn.exp misc.exp testutils.inc"
181 if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
182 for i in $m32rx_files ; do
183 if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
184 if [ -n "${verbose}" ] ; then
185 echo Keeping m32rx stuff in $i
186 fi
187 fi
188 done
189 else
190 for i in $m32rx_files ; do
191 if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
192 if [ -n "${verbose}" ] ; then
193 echo Removing traces of \"m32rx\" from $i...
194 fi
195 cp $i new
196 sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
197 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
198 if [ -n "${verbose}" ] ; then
199 echo Caching $i in .Recover...
200 fi
201 mv $i .Recover
202 fi
203 mv new $i
204 fi
205 done
206 # Remove m32rx from `mach'.
207 for i in *.cgs ; do
208 if [ -n "${verbose}" ] ; then
209 echo Removing traces of \"m32rx\" from $i...
210 fi
211 cp $i new
212 sed -e 's/m32rx//' < $i > new
213 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
214 if [ -n "${verbose}" ] ; then
215 echo Caching $i in .Recover...
216 fi
217 mv $i .Recover
218 fi
219 mv new $i
220 done
221 fi
222
223 # End of file.
This page took 0.037482 seconds and 4 git commands to generate.