uint8_t numStructElems, uint8_t numRegs, bool wb) :
PredMacroOp(mnem, machInst, __opClass)
{
- RegIndex vx = NumFloatV8ArchRegs / 4;
+ RegIndex vx = NumVecV8ArchRegs;
RegIndex rnsp = (RegIndex) makeSP((IntRegIndex) rn);
bool baseIsSP = isSP((IntRegIndex) rnsp);
uint8_t numStructElems, uint8_t numRegs, bool wb) :
PredMacroOp(mnem, machInst, __opClass)
{
- RegIndex vx = NumFloatV8ArchRegs / 4;
+ RegIndex vx = NumVecV8ArchRegs;
RegIndex rnsp = (RegIndex) makeSP((IntRegIndex) rn);
bool baseIsSP = isSP((IntRegIndex) rnsp);
wb(false), replicate(false)
{
- RegIndex vx = NumFloatV8ArchRegs / 4;
+ RegIndex vx = NumVecV8ArchRegs;
RegIndex rnsp = (RegIndex) makeSP((IntRegIndex) rn);
bool baseIsSP = isSP((IntRegIndex) rnsp);
eSize(0), dataSize(0), numStructElems(0), index(0),
wb(false), replicate(false)
{
- RegIndex vx = NumFloatV8ArchRegs / 4;
+ RegIndex vx = NumVecV8ArchRegs;
RegIndex rnsp = (RegIndex) makeSP((IntRegIndex) rn);
bool baseIsSP = isSP((IntRegIndex) rnsp);
// The KVM interface accesses vector registers of 4 single precision
// floats instead of individual registers.
-constexpr static unsigned NUM_QREGS = NumFloatV8ArchRegs / 4;
+constexpr static unsigned NUM_QREGS = NumVecV8ArchRegs;
static_assert(NUM_QREGS == 32, "Unexpected number of aarch64 vector regs.");
#define EXTRACT_FIELD(v, name) \
const int NumIntArchRegs = NUM_ARCH_INTREGS;
// The number of single precision floating point registers
const int NumFloatV7ArchRegs = 64;
-const int NumFloatV8ArchRegs = 128;
const int NumVecV7ArchRegs = 64;
const int NumVecV8ArchRegs = 32;
const int NumVecSpecialRegs = 8;