Skip to content

Commit

Permalink
Reverted to using old-values for SVE VL and fixed AArch64 decode catc…
Browse files Browse the repository at this point in the history
…h case.
  • Loading branch information
FinnWilkinson committed Nov 4, 2024
1 parent 98dab74 commit ec02455
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/arch/aarch64/Instruction_decode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ void Instruction::decode() {
if (((Opcode::AArch64_FMOVD0 <= metadata_.opcode &&
metadata_.opcode <= Opcode::AArch64_FMOVS0) ||
(Opcode::AArch64_FMOVDXHighr <= metadata_.opcode &&
metadata_.opcode <= Opcode::AArch64_FMOVv8f16_ns)) &&
metadata_.opcode <= Opcode::AArch64_FMOVXHr)) &&
!(isInstruction(InsnType::isScalarData) ||
isInstruction(InsnType::isVectorData))) {
setInstructionType(InsnType::isScalarData);
Expand Down
3 changes: 2 additions & 1 deletion src/lib/config/ModelConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ void ModelConfig::setExpectations(bool isDefault) {
expectations_["Core"].addChild(ExpectationNode::createExpectation<uint16_t>(
128, "Vector-Length", true));
expectations_["Core"]["Vector-Length"].setValueSet(
std::vector<uint16_t>{128, 256, 512, 1024, 2048});
std::vector<uint16_t>{128, 256, 384, 512, 640, 768, 896, 1024, 1152,
1280, 1408, 1536, 1664, 1792, 1920, 2048});

expectations_["Core"].addChild(ExpectationNode::createExpectation<uint16_t>(
128, "Streaming-Vector-Length", true));
Expand Down
2 changes: 1 addition & 1 deletion test/regression/aarch64/AArch64RegressionTest.hh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ inline std::string paramToString(
inline std::vector<std::tuple<CoreType, std::string>> genCoreTypeVLPairs(
CoreType type) {
std::vector<std::tuple<CoreType, std::string>> coreVLPairs;
for (uint64_t i = 128; i <= 2048; i *= 2) {
for (uint64_t i = 128; i <= 2048; i += 128) {
coreVLPairs.push_back(std::make_tuple(
type,
"{Core: {Vector-Length: " + std::to_string(i) +
Expand Down

0 comments on commit ec02455

Please sign in to comment.