ISA parser: Make the isa parser generate MaxInstSrcRegs and MaxInstDestRegs.
--HG-- extra : convert_revision : 8c35891945c6b4ebc320f0c88a7a0449f3c4b4d5
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
namespace LittleEndianGuest {}
|
||||
|
||||
#include "arch/alpha/ipr.hh"
|
||||
#include "arch/alpha/max_inst_regs.hh"
|
||||
#include "arch/alpha/types.hh"
|
||||
#include "config/full_system.hh"
|
||||
#include "sim/host.hh"
|
||||
@@ -44,6 +45,8 @@ class StaticInstPtr;
|
||||
namespace AlphaISA
|
||||
{
|
||||
using namespace LittleEndianGuest;
|
||||
using AlphaISAInst::MaxInstSrcRegs;
|
||||
using AlphaISAInst::MaxInstDestRegs;
|
||||
|
||||
// These enumerate all the registers for dependence tracking.
|
||||
enum DependenceTags {
|
||||
@@ -144,10 +147,6 @@ namespace AlphaISA
|
||||
|
||||
const int TotalDataRegs = NumIntRegs + NumFloatRegs;
|
||||
|
||||
// Static instruction parameters
|
||||
const int MaxInstSrcRegs = 3;
|
||||
const int MaxInstDestRegs = 2;
|
||||
|
||||
// semantically meaningful register indices
|
||||
const int ZeroReg = 31; // architecturally meaningful
|
||||
// the rest of these depend on the ABI
|
||||
|
||||
Reference in New Issue
Block a user