Lines Matching refs:operand

235 static void DecodeRegExtendOrShift(int operand, char *buf, size_t buf_size) {
236 if ((operand & (1 << 6)) == 0) {
237 const char *shift_name = shift_names[(operand >> 7) & 0x3];
238 int amount = operand & 0x3f;
241 const char *extend_name = extend_names[(operand >> 3) & 0x7];
242 int amount = operand & 0x7;
342 int operand;
352 operand = lir->operands[nc-'0'];
359 if (LIKELY(operand == omittable)) {
362 DecodeRegExtendOrShift(operand, tbuf, arraysize(tbuf));
368 if (LIKELY(operand == EncodeShift(kA64Lsl, 0))) {
371 DecodeRegExtendOrShift(operand, tbuf, arraysize(tbuf));
375 switch (operand) {
401 snprintf(tbuf, arraysize(tbuf), "s%d", operand & RegStorage::kRegNumMask);
404 snprintf(tbuf, arraysize(tbuf), "d%d", operand & RegStorage::kRegNumMask);
408 operand & RegStorage::kRegNumMask);
412 uint64_t imm = DecodeLogicalImmediate(is_wide, operand);
417 snprintf(tbuf, arraysize(tbuf), "%f", DecodeImmSingle(operand));
420 if (LIKELY(operand == 0))
423 snprintf(tbuf, arraysize(tbuf), ", lsl #%d", 16*operand);
426 snprintf(tbuf, arraysize(tbuf), "%d", operand);
429 if (LIKELY(operand != rwzr))
430 snprintf(tbuf, arraysize(tbuf), "w%d", operand & RegStorage::kRegNumMask);
435 if (LIKELY(operand != rwsp))
436 snprintf(tbuf, arraysize(tbuf), "w%d", operand & RegStorage::kRegNumMask);
441 if (LIKELY(operand != rxzr))
442 snprintf(tbuf, arraysize(tbuf), "x%d", operand & RegStorage::kRegNumMask);
447 if (LIKELY(operand != rsp))
448 snprintf(tbuf, arraysize(tbuf), "x%d", operand & RegStorage::kRegNumMask);
453 snprintf(tbuf, arraysize(tbuf), "%d", operand*((IS_WIDE(lir->opcode)) ? 8 : 4));
456 snprintf(tbuf, arraysize(tbuf), "%d", operand*4);
459 snprintf(tbuf, arraysize(tbuf), "%d", operand*2);
462 if (LIKELY(operand == 0))
468 strcpy(tbuf, cc_names[operand]);
472 reinterpret_cast<uintptr_t>(base_addr) + lir->offset + (operand << 2),
477 if (LIKELY(operand != rwzr && operand != rxzr)) {
479 operand & RegStorage::kRegNumMask);
487 if (LIKELY(operand != rwsp && operand != rsp)) {
489 operand & RegStorage::kRegNumMask);
496 snprintf(tbuf, arraysize(tbuf), ".+%d (addr %#" PRIxPTR ")", 4*operand,
497 reinterpret_cast<uintptr_t>(base_addr) + lir->offset + 4*operand);
500 if (LIKELY(operand == 0))
502 else if (operand == 1)