Makefile.mrsp
7.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
###########################################################
#
# rules for extracting vectors from reality_rsp_regression
#
###########################################################
include ../rsprules
####################################################################################
# Targets for generation of Fault Grading Vector files
####################################################################################
################################################################################
mrsp01.vec: $(ATTESTDIR)/mrsp01.vec
$(ATTESTDIR)/mrsp01.vec: $(BINDIR)/reality_rsp_regression $(TESTDIR)/rsp_tests.list \
vabs_h.in \
vabs_q.in \
vabs_w.in \
vadd_h.in \
vadd_q.in \
vadd_w.in \
vaddc_h.in \
vaddc_q.in \
vaddc_w.in \
veq_h.in \
veq_q.in \
veq_w.in \
vge_h.in \
vge_q.in \
vge_w.in \
vlt_h.in \
vlt_q.in \
vlt_w.in \
vmacf_h.in \
vmacf_q.in \
vmacf_w.in \
vmacu_h.in \
vmacu_q.in \
vmacu_w.in \
vmadh_h.in \
vmadh_q.in \
vmadh_w.in \
vmadh1_h.in \
vmadh1_q.in \
vmadh1_w.in \
- cd $(TESTDIR); \
$(BINDIR)/reality_rsp_regression -nocompile +rcp_attest_tab +attest_name=mrsp01.vec \
+diag=vabs_h.in \
+diag=vabs_q.in \
+diag=vabs_w.in \
+diag=vadd_h.in \
+diag=vadd_q.in \
+diag=vadd_w.in \
+diag=vaddc_h.in \
+diag=vaddc_q.in \
+diag=vaddc_w.in \
+diag=veq_h.in \
+diag=veq_q.in \
+diag=veq_w.in \
+diag=vge_h.in \
+diag=vge_q.in \
+diag=vge_w.in \
+diag=vlt_h.in \
+diag=vlt_q.in \
+diag=vlt_w.in \
+diag=vmacf_h.in \
+diag=vmacf_q.in \
+diag=vmacf_w.in \
+diag=vmacu_h.in \
+diag=vmacu_q.in \
+diag=vmacu_w.in \
+diag=vmadh_h.in \
+diag=vmadh_q.in \
+diag=vmadh_w.in \
+diag=vmadh1_h.in \
+diag=vmadh1_q.in \
+diag=vmadh1_w.in
sleep 200
mv $(TESTDIR)/mrsp01.vec $(ATTESTDIR)/mrsp01.vec
mv $(TESTDIR)/,out $(TESTDIR)/mrsp01.out
mv $(TESTDIR)/regression.log $(TESTDIR)/mrsp01.regression.log
mrsp01.hp: $(HPDIR)/mrsp01.slf.Z
$(HPDIR)/mrsp01.slf.Z: $(TESTDPDS) vabs_h.in vabs_q.in vabs_w.in vadd_h.in vadd_q.in vadd_w.in vaddc_h.in vaddc_q.in vaddc_w.in veq_h.in veq_q.in veq_w.in vge_h.in vge_q.in vge_w.in vlt_h.in vlt_q.in vlt_w.in vmacf_h.in vmacf_q.in vmacf_w.in vmacu_h.in vmacu_q.in vmacu_w.in vmadh_h.in vmadh_q.in vmadh_w.in vmadh1_h.in vmadh1_q.in vmadh1_w.in
echo "+diag=vabs_h.in +diag=vabs_q.in +diag=vabs_w.in +diag=vadd_h.in +diag=vadd_q.in +diag=vadd_w.in +diag=vaddc_h.in +diag=vaddc_q.in +diag=vaddc_w.in +diag=veq_h.in +diag=veq_q.in +diag=veq_w.in +diag=vge_h.in +diag=vge_q.in +diag=vge_w.in +diag=vlt_h.in +diag=vlt_q.in +diag=vlt_w.in +diag=vmacf_h.in +diag=vmacf_q.in +diag=vmacf_w.in +diag=vmacu_h.in +diag=vmacu_q.in +diag=vmacu_w.in +diag=vmadh_h.in +diag=vmadh_q.in +diag=vmadh_w.in +diag=vmadh1_h.in +diag=vmadh1_q.in +diag=vmadh1_w.in " > mrsp01.input
- rm -f $(ROOT)/PR/hw2/chip/vector/rsp/mrsp01.input
ln -s `pwd`/mrsp01.input $(ROOT)/PR/hw2/chip/vector/rsp
$(NHPEXECS:LIST=mrsp01.input)
################################################################################
mrsp02.vec: $(ATTESTDIR)/mrsp02.vec
$(ATTESTDIR)/mrsp02.vec: $(BINDIR)/reality_rsp_regression $(TESTDIR)/rsp_tests.list \
vmadl_h.in \
vmadl_q.in \
vmadl_w.in \
vmadm_h.in \
vmadm_q.in \
vmadm_w.in \
vmadn_h.in \
vmadn_q.in \
vmadn_w.in \
vmrg_h.in \
vmrg_q.in \
vmrg_w.in \
vmudh_h.in \
vmudh_q.in \
vmudh_w.in \
vmudh1_h.in \
vmudh1_q.in \
vmudh1_w.in \
vmudl_h.in \
vmudl_q.in \
vmudl_w.in \
vmudm_h.in \
vmudm_q.in \
vmudm_w.in \
vmudn_h.in \
vmudn_q.in \
vmudn_w.in \
vmulf_h.in \
vmulf_q.in \
vmulf_w.in \
- cd $(TESTDIR); \
$(BINDIR)/reality_rsp_regression -nocompile +rcp_attest_tab +attest_name=mrsp02.vec \
+diag=vmadl_h.in \
+diag=vmadl_q.in \
+diag=vmadl_w.in \
+diag=vmadm_h.in \
+diag=vmadm_q.in \
+diag=vmadm_w.in \
+diag=vmadn_h.in \
+diag=vmadn_q.in \
+diag=vmadn_w.in \
+diag=vmrg_h.in \
+diag=vmrg_q.in \
+diag=vmrg_w.in \
+diag=vmudh_h.in \
+diag=vmudh_q.in \
+diag=vmudh_w.in \
+diag=vmudh1_h.in \
+diag=vmudh1_q.in \
+diag=vmudh1_w.in \
+diag=vmudl_h.in \
+diag=vmudl_q.in \
+diag=vmudl_w.in \
+diag=vmudm_h.in \
+diag=vmudm_q.in \
+diag=vmudm_w.in \
+diag=vmudn_h.in \
+diag=vmudn_q.in \
+diag=vmudn_w.in \
+diag=vmulf_h.in \
+diag=vmulf_q.in \
+diag=vmulf_w.in
sleep 200
mv $(TESTDIR)/mrsp02.vec $(ATTESTDIR)/mrsp02.vec
mv $(TESTDIR)/,out $(TESTDIR)/mrsp02.out
mv $(TESTDIR)/regression.log $(TESTDIR)/mrsp02.regression.log
mrsp02.hp: $(HPDIR)/mrsp02.slf.Z
$(HPDIR)/mrsp02.slf.Z: $(TESTDPDS) vmadl_h.in vmadl_q.in vmadl_w.in vmadm_h.in vmadm_q.in vmadm_w.in vmadn_h.in vmadn_q.in vmadn_w.in vmrg_h.in vmrg_q.in vmrg_w.in vmudh_h.in vmudh_q.in vmudh_w.in vmudh1_h.in vmudh1_q.in vmudh1_w.in vmudl_h.in vmudl_q.in vmudl_w.in vmudm_h.in vmudm_q.in vmudm_w.in vmudn_h.in vmudn_q.in vmudn_w.in vmulf_h.in vmulf_q.in vmulf_w.in
echo "+diag=vmadl_h.in +diag=vmadl_q.in +diag=vmadl_w.in +diag=vmadm_h.in +diag=vmadm_q.in +diag=vmadm_w.in +diag=vmadn_h.in +diag=vmadn_q.in +diag=vmadn_w.in +diag=vmrg_h.in +diag=vmrg_q.in +diag=vmrg_w.in +diag=vmudh_h.in +diag=vmudh_q.in +diag=vmudh_w.in +diag=vmudh1_h.in +diag=vmudh1_q.in +diag=vmudh1_w.in +diag=vmudl_h.in +diag=vmudl_q.in +diag=vmudl_w.in +diag=vmudm_h.in +diag=vmudm_q.in +diag=vmudm_w.in +diag=vmudn_h.in +diag=vmudn_q.in +diag=vmudn_w.in +diag=vmulf_h.in +diag=vmulf_q.in +diag=vmulf_w.in " > mrsp02.input
- rm -f $(ROOT)/PR/hw2/chip/vector/rsp/mrsp02.input
ln -s `pwd`/mrsp02.input $(ROOT)/PR/hw2/chip/vector/rsp
$(NHPEXECS:LIST=mrsp02.input)
################################################################################
mrsp03.vec: $(ATTESTDIR)/mrsp03.vec
$(ATTESTDIR)/mrsp03.vec: $(BINDIR)/reality_rsp_regression $(TESTDIR)/rsp_tests.list \
vmulu_h.in \
vmulu_q.in \
vmulu_w.in \
vne_h.in \
vne_q.in \
vne_w.in \
vrndn_h.in \
vrndn_q.in \
vrndn_w.in \
vrndp_h.in \
vrndp_q.in \
vrndp_w.in \
vsub_h.in \
vsub_q.in \
vsub_w.in \
- cd $(TESTDIR); \
$(BINDIR)/reality_rsp_regression -nocompile +rcp_attest_tab +attest_name=mrsp03.vec \
+diag=vmulu_h.in \
+diag=vmulu_q.in \
+diag=vmulu_w.in \
+diag=vne_h.in \
+diag=vne_q.in \
+diag=vne_w.in \
+diag=vrndn_h.in \
+diag=vrndn_q.in \
+diag=vrndn_w.in \
+diag=vrndp_h.in \
+diag=vrndp_q.in \
+diag=vrndp_w.in \
+diag=vsub_h.in \
+diag=vsub_q.in \
+diag=vsub_w.in
sleep 200
mv $(TESTDIR)/mrsp03.vec $(ATTESTDIR)/mrsp03.vec
mv $(TESTDIR)/,out $(TESTDIR)/mrsp03.out
mv $(TESTDIR)/regression.log $(TESTDIR)/mrsp03.regression.log
mrsp03.hp: $(HPDIR)/mrsp03.slf.Z
$(HPDIR)/mrsp03.slf.Z: $(TESTDPDS) vmulu_h.in vmulu_q.in vmulu_w.in vne_h.in vne_q.in vne_w.in vrndn_h.in vrndn_q.in vrndn_w.in vrndp_h.in vrndp_q.in vrndp_w.in vsub_h.in vsub_q.in vsub_w.in
echo "+diag=vmulu_h.in +diag=vmulu_q.in +diag=vmulu_w.in +diag=vne_h.in +diag=vne_q.in +diag=vne_w.in +diag=vrndn_h.in +diag=vrndn_q.in +diag=vrndn_w.in +diag=vrndp_h.in +diag=vrndp_q.in +diag=vrndp_w.in +diag=vsub_h.in +diag=vsub_q.in +diag=vsub_w.in " > mrsp03.input
- rm -f $(ROOT)/PR/hw2/chip/vector/rsp/mrsp03.input
ln -s `pwd`/mrsp03.input $(ROOT)/PR/hw2/chip/vector/rsp
$(NHPEXECS:LIST=mrsp03.input)
default: mrsp01.hp mrsp02.hp mrsp03.hp