Home | History | Annotate | Download | only in priv

Lines Matching refs:Alu64R

618    i->Ain.Alu64R.op  = op;
619 i->Ain.Alu64R.src = src;
620 i->Ain.Alu64R.dst = dst;
1022 vex_printf("%sq ", showAMD64AluOp(i->Ain.Alu64R.op));
1023 ppAMD64RMI(i->Ain.Alu64R.src);
1025 ppHRegAMD64(i->Ain.Alu64R.dst);
1340 addRegUsage_AMD64RMI(u, i->Ain.Alu64R.src);
1341 if (i->Ain.Alu64R.op == Aalu_MOV) {
1342 addHRegUse(u, HRmWrite, i->Ain.Alu64R.dst);
1345 if (i->Ain.Alu64R.op == Aalu_CMP) {
1346 addHRegUse(u, HRmRead, i->Ain.Alu64R.dst);
1349 addHRegUse(u, HRmModify, i->Ain.Alu64R.dst);
1648 mapRegs_AMD64RMI(m, i->Ain.Alu64R.src);
1649 mapReg(m, &i->Ain.Alu64R.dst);
1826 if (i->Ain.Alu64R.op != Aalu_MOV)
1828 if (i->Ain.Alu64R.src->tag != Armi_Reg)
1830 *src = i->Ain.Alu64R.src->Armi.Reg.reg;
1831 *dst = i->Ain.Alu64R.dst;
2312 if (i->Ain.Alu64R.op == Aalu_MOV) {
2313 switch (i->Ain.Alu64R.src->tag) {
2315 if (0 == (i->Ain.Alu64R.src->Armi.Imm.imm32 & ~0xFFFFF)) {
2325 if (1 & iregBit3(i->Ain.Alu64R.dst))
2327 *p++ = 0xB8 + iregBits210(i->Ain.Alu64R.dst);
2328 p = emit32(p, i->Ain.Alu64R.src->Armi.Imm.imm32);
2330 *p++ = toUChar(0x48 + (1 & iregBit3(i->Ain.Alu64R.dst)));
2332 *p++ = toUChar(0xC0 + iregBits210(i->Ain.Alu64R.dst));
2333 p = emit32(p, i->Ain.Alu64R.src->Armi.Imm.imm32);
2337 *p++ = rexAMode_R( i->Ain.Alu64R.src->Armi.Reg.reg,
2338 i->Ain.Alu64R.dst );
2340 p = doAMode_R(p, i->Ain.Alu64R.src->Armi.Reg.reg,
2341 i->Ain.Alu64R.dst);
2344 *p++ = rexAMode_M(i->Ain.Alu64R.dst,
2345 i->Ain.Alu64R.src->Armi.Mem.am);
2347 p = doAMode_M(p, i->Ain.Alu64R.dst,
2348 i->Ain.Alu64R.src->Armi.Mem.am);
2355 if (i->Ain.Alu64R.op == Aalu_MUL) {
2356 switch (i->Ain.Alu64R.src->tag) {
2358 *p++ = rexAMode_R( i->Ain.Alu64R.dst,
2359 i->Ain.Alu64R.src->Armi.Reg.reg);
2362 p = doAMode_R(p, i->Ain.Alu64R.dst,
2363 i->Ain.Alu64R.src->Armi.Reg.reg);
2366 *p++ = rexAMode_M(i->Ain.Alu64R.dst,
2367 i->Ain.Alu64R.src->Armi.Mem.am);
2370 p = doAMode_M(p, i->Ain.Alu64R.dst,
2371 i->Ain.Alu64R.src->Armi.Mem.am);
2374 if (fits8bits(i->Ain.Alu64R.src->Armi.Imm.imm32)) {
2375 *p++ = rexAMode_R(i->Ain.Alu64R.dst, i->Ain.Alu64R.dst);
2377 p = doAMode_R(p, i->Ain.Alu64R.dst, i->Ain.Alu64R.dst);
2378 *p++ = toUChar(0xFF & i->Ain.Alu64R.src->Armi.Imm.imm32);
2380 *p++ = rexAMode_R(i->Ain.Alu64R.dst, i->Ain.Alu64R.dst);
2382 p = doAMode_R(p, i->Ain.Alu64R.dst, i->Ain.Alu64R.dst);
2383 p = emit32(p, i->Ain.Alu64R.src->Armi.Imm.imm32);
2392 switch (i->Ain.Alu64R.op) {
2411 switch (i->Ain.Alu64R.src->tag) {
2413 if (sameHReg(i->Ain.Alu64R.dst, hregAMD64_RAX())
2414 && !fits8bits(i->Ain.Alu64R.src->Armi.Imm.imm32)) {
2417 p = emit32(p, i->Ain.Alu64R.src->Armi.Imm.imm32);
2419 if (fits8bits(i->Ain.Alu64R.src->Armi.Imm.imm32)) {
2420 *p++ = rexAMode_R( fake(0), i->Ain.Alu64R.dst );
2422 p = doAMode_R(p, fake(subopc_imm), i->Ain.Alu64R.dst);
2423 *p++ = toUChar(0xFF & i->Ain.Alu64R.src->Armi.Imm.imm32);
2425 *p++ = rexAMode_R( fake(0), i->Ain.Alu64R.dst);
2427 p = doAMode_R(p, fake(subopc_imm), i->Ain.Alu64R.dst);
2428 p = emit32(p, i->Ain.Alu64R.src->Armi.Imm.imm32);
2432 *p++ = rexAMode_R( i->Ain.Alu64R.src->Armi.Reg.reg,
2433 i->Ain.Alu64R.dst);
2435 p = doAMode_R(p, i->Ain.Alu64R.src->Armi.Reg.reg,
2436 i->Ain.Alu64R.dst);
2439 *p++ = rexAMode_M( i->Ain.Alu64R.dst,
2440 i->Ain.Alu64R.src->Armi.Mem.am);
2442 p = doAMode_M(p, i->Ain.Alu64R.dst,
2443 i->Ain.Alu64R.src->Armi.Mem.am);