File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff 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
119124proc check_target_arc600 { } {
120125 return [check_target_arc "__ARC600__"]
You can’t perform that action at this time.
0 commit comments