Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/vlsu' into vlsu
Browse files Browse the repository at this point in the history
Merging origin branch into local
  • Loading branch information
aarongchan committed Jul 23, 2024
2 parents ce646f5 + 1ac476c commit 47f1f86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ include_directories(${SPARTA_INCLUDE_DIRS})
# Set up STF library
set (STF_LIB_BASE ${PROJECT_SOURCE_DIR}/stf_lib)
set (DISABLE_STF_DOXYGEN ON)
set (DISABLE_STF_TESTS ON)

if (CMAKE_BUILD_TYPE MATCHES "^[Rr]elease")
set (FULL_LTO true)
Expand Down
5 changes: 2 additions & 3 deletions core/VectorUopGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ namespace olympia
// Does the instruction have tail elements?
const uint32_t num_elems = current_VCSRs->vl / current_VCSRs->sew;
inst->setTail(num_elems < current_VCSRs->vlmax);

if(num_uops_to_generate_ > 1)
{
// Original instruction will act as the first UOp
inst->setUOpID(0); // set UOpID()
inst->setUOpID(0); // set UOpID()
current_inst_ = inst;
current_inst_->setUOpCount(num_uops_to_generate_);
ILOG("Inst: " << current_inst_ << " is being split into " << num_uops_to_generate_ << " UOPs");
Expand Down Expand Up @@ -106,4 +105,4 @@ namespace olympia
reset_();
}
}
} // namespace olympia
} // namespace olympia

0 comments on commit 47f1f86

Please sign in to comment.