Skip to content

Commit 559a29a

Browse files
Merge branch 'arc-dev' into arc-staging
2 parents 5ce0707 + 9926257 commit 559a29a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

dejagnu/baseboards/arc-sim-nsimdrv.exp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,16 @@ if { [check_target_arc700] } {
138138
-prop=nsim_ext=$tmpdir/quarkse_em_fssqrt.so \
139139
-p nsim_isa_spfp=compact \
140140
-p nsim_isa_dpfp=compact
141+
} elseif { [check_target_quarkse2_em] } {
142+
compile_quarkse_em_nsim_apex
143+
lappend nsim_flags \
144+
-p nsim_isa_family=av2em \
145+
-p nsim_isa_core=1 \
146+
-p nsim_isa_mpy_option=2 \
147+
-p nsim_isa_div_rem_option=2 \
148+
-p nsim_isa_code_density_option=2 \
149+
-prop=nsim_ext=$tmpdir/quarkse_em_fsdiv.so \
150+
-prop=nsim_ext=$tmpdir/quarkse_em_fssqrt.so
141151
} elseif { [check_target_arc600] } {
142152
lappend nsim_flags \
143153
-p nsim_isa_family=a600 \

dejagnu/tool-extra.exp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ proc check_target_quarkse_em { } {
115115
return [check_target_arc "__ARC_FPX_QUARK__"]
116116
}
117117

118+
# Return 1 if we compile for QuarkSE2 ARC EM
119+
proc check_target_quarkse2_em { } {
120+
return [check_target_arc "__ARC_FPU_QUARK2__"]
121+
}
122+
118123
# Return 1 if we compile for ARC600
119124
proc check_target_arc600 { } {
120125
return [check_target_arc "__ARC600__"]

0 commit comments

Comments
 (0)