Added RISC-V IsaDescriptor class, and adjusted RISC-V GPR count depending on ISA base.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user