Added RISC-V IsaDescriptor class, and adjusted RISC-V GPR count depending on ISA base.

This commit is contained in:
Nav
2024-11-29 01:06:44 +00:00
parent cde5d83599
commit 49cf2e5e9a
7 changed files with 398 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
#include "src/Targets/TargetDescription/TargetDescriptionFile.hpp"
#include "IsaDescriptor.hpp"
namespace Targets::RiscV
{
/**
@@ -15,7 +17,7 @@ namespace Targets::RiscV
explicit TargetDescriptionFile(const std::string& xmlFilePath);
[[nodiscard]] const TargetDescription::AddressSpace& getSystemAddressSpace() const;
[[nodiscard]] TargetAddressSpaceDescriptor getSystemAddressSpaceDescriptor() const;
[[nodiscard]] IsaDescriptor getIsaDescriptor() const;
};
}