Makefile.mrsp 7.26 KB
########################################################### 
# 
#  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