ARM: Add templates for VFP load/store multiple instructions.
This commit is contained in:
parent
739f23c64c
commit
2f3102f1ef
1 changed files with 27 additions and 0 deletions
|
@ -131,3 +131,30 @@ def template MacroMemConstructor {{
|
|||
}
|
||||
|
||||
}};
|
||||
|
||||
def template MacroVFPMemDeclare {{
|
||||
/**
|
||||
* Static instructions class for a store multiple instruction
|
||||
*/
|
||||
class %(class_name)s : public %(base_class)s
|
||||
{
|
||||
public:
|
||||
// Constructor
|
||||
%(class_name)s(ExtMachInst machInst, IntRegIndex rn,
|
||||
RegIndex vd, bool single, bool up, bool writeback,
|
||||
bool load, uint32_t offset);
|
||||
%(BasicExecPanic)s
|
||||
};
|
||||
}};
|
||||
|
||||
def template MacroVFPMemConstructor {{
|
||||
%(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex rn,
|
||||
RegIndex vd, bool single, bool up, bool writeback, bool load,
|
||||
uint32_t offset)
|
||||
: %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, rn,
|
||||
vd, single, up, writeback, load, offset)
|
||||
{
|
||||
%(constructor)s;
|
||||
}
|
||||
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue