aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc')
-rw-r--r--backend/include/rcc/CodeGen/InstructionDescriptor.h1
-rw-r--r--backend/include/rcc/TableGen/Record.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/InstructionDescriptor.h b/backend/include/rcc/CodeGen/InstructionDescriptor.h
index ad71213..15d2162 100644
--- a/backend/include/rcc/CodeGen/InstructionDescriptor.h
+++ b/backend/include/rcc/CodeGen/InstructionDescriptor.h
@@ -256,6 +256,7 @@ struct InstructionDescriptor final {
InstructionFlags Flags;
SchedulingClassID SchedulingClass;
EncodingCategoryID EncodingCategory;
+ std::uint32_t SizeInBytes = 0;
AssemblyFormatID AssemblyFormat;
bool RequiresMemoryOperands = false;
PseudoOwner Owner = PseudoOwner::None;
diff --git a/backend/include/rcc/TableGen/Record.h b/backend/include/rcc/TableGen/Record.h
index a3f8a5c..b085098 100644
--- a/backend/include/rcc/TableGen/Record.h
+++ b/backend/include/rcc/TableGen/Record.h
@@ -196,6 +196,7 @@ struct SourceInstruction final {
std::vector<std::string> Flags;
std::string SchedulingClassSymbol;
std::string EncodingCategorySymbol;
+ std::uint32_t SizeInBytes = 0;
std::string AssemblyFormatSymbol;
bool RequiresMemoryOperands = false;
std::string Owner = "none";