Make the SPARC branch instructions use ExtMachInsts in their constructors. This isn't necessary since they don't use the extended fields, but it's more consistent and more correct.
--HG-- extra : convert_revision : afd4f408122ad5e497012eb9744d6bce66a1de37
This commit is contained in:
parent
9ad3f1e479
commit
3ccaee976a
1 changed files with 5 additions and 5 deletions
|
@ -40,7 +40,7 @@ output header {{
|
|||
{
|
||||
protected:
|
||||
// Constructor
|
||||
Branch(const char *mnem, MachInst _machInst, OpClass __opClass) :
|
||||
Branch(const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
|
||||
SparcStaticInst(mnem, _machInst, __opClass)
|
||||
{
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ output header {{
|
|||
{
|
||||
protected:
|
||||
// Constructor
|
||||
BranchDisp(const char *mnem, MachInst _machInst,
|
||||
BranchDisp(const char *mnem, ExtMachInst _machInst,
|
||||
OpClass __opClass) :
|
||||
Branch(mnem, _machInst, __opClass)
|
||||
{
|
||||
|
@ -76,7 +76,7 @@ output header {{
|
|||
{
|
||||
protected:
|
||||
// Constructor
|
||||
BranchNBits(const char *mnem, MachInst _machInst,
|
||||
BranchNBits(const char *mnem, ExtMachInst _machInst,
|
||||
OpClass __opClass) :
|
||||
BranchDisp(mnem, _machInst, __opClass)
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ output header {{
|
|||
{
|
||||
protected:
|
||||
// Constructor
|
||||
BranchSplit(const char *mnem, MachInst _machInst,
|
||||
BranchSplit(const char *mnem, ExtMachInst _machInst,
|
||||
OpClass __opClass) :
|
||||
BranchDisp(mnem, _machInst, __opClass)
|
||||
{
|
||||
|
@ -107,7 +107,7 @@ output header {{
|
|||
{
|
||||
protected:
|
||||
// Constructor
|
||||
BranchImm13(const char *mnem, MachInst _machInst, OpClass __opClass) :
|
||||
BranchImm13(const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
|
||||
Branch(mnem, _machInst, __opClass), imm(sext<13>(SIMM13))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue