Home | History | Annotate | Download | only in X86

Lines Matching refs:domain

4315     // These instructions are all floating point domain, so xorps is the best
5257 static const uint16_t *lookup(unsigned opcode, unsigned domain) {
5259 if (ReplaceableInstrs[i][domain-1] == opcode)
5264 static const uint16_t *lookupAVX2(unsigned opcode, unsigned domain) {
5266 if (ReplaceableInstrsAVX2[i][domain-1] == opcode)
5273 uint16_t domain = (MI->getDesc().TSFlags >> X86II::SSEDomainShift) & 3;
5276 if (domain && lookup(MI->getOpcode(), domain))
5278 else if (domain && lookupAVX2(MI->getOpcode(), domain))
5280 return std::make_pair(domain, validDomains);
5283 void X86InstrInfo::setExecutionDomain(MachineInstr *MI, unsigned Domain) const {
5284 assert(Domain>0 && Domain<4 && "Invalid execution domain");
5289 assert((Subtarget.hasAVX2() || Domain < 3) &&
5293 assert(table && "Cannot change domain");
5294 MI->setDesc(get(table[Domain-1]));