Searched refs:uimm (Results 1 – 5 of 5) sorted by relevance
/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 314 uimm &= 0b1111; 315 if (uimm > 10 || uimm == 0) { 316 uimm ^= 0b1000; 336 ^ rcon[uimm - 1]; 362 uimm &= 0b1111; in HELPER() 363 if (uimm > 14 || uimm < 2) { in HELPER() 364 uimm ^= 0b1000; in HELPER() 383 if (uimm % 2 == 0) { in HELPER() 746 j = 2 * uimm; in sm3c() 759 j = 2 * uimm + 1; in sm3c() [all …]
|
/qemu/target/mips/tcg/ |
H A D | translate.c | 2363 tcg_gen_addi_tl(t0, t1, uimm); in gen_arith_imm() 2366 tcg_gen_xori_tl(t1, t1, ~uimm); in gen_arith_imm() 2367 tcg_gen_xori_tl(t2, t0, uimm); in gen_arith_imm() 2394 tcg_gen_addi_tl(t0, t1, uimm); in gen_arith_imm() 2397 tcg_gen_xori_tl(t2, t0, uimm); in gen_arith_imm() 2421 target_ulong uimm; in gen_logic_imm() local 2427 uimm = (uint16_t)imm; in gen_logic_imm() 2504 tcg_gen_shli_tl(t0, t0, uimm); in gen_shift_imm() 2511 if (uimm != 0) { in gen_shift_imm() 2519 if (uimm != 0) { in gen_shift_imm() [all …]
|
/qemu/target/ppc/translate/ |
H A D | vmx-impl.c.inc | 1591 int uimm, dofs, bofs; 1598 uimm = UIMM5(ctx->opcode); 1603 bofs += (uimm << vece) & 15; 1619 TCGv_i32 uimm; \ 1625 uimm = tcg_constant_i32(UIMM5(ctx->opcode)); \ 1628 gen_helper_##name(tcg_env, rd, rb, uimm); \ 1635 uint8_t uimm = UIMM4(ctx->opcode); \ 1641 if (uimm > splat_max) { \ 1642 uimm = 0; \ 1645 tcg_gen_movi_i32(t0, uimm); \
|
H A D | spe-impl.c.inc | 599 target_ulong uimm = rB(ctx->opcode); 602 tcg_gen_movi_tl(EA, uimm << sh); 604 tcg_gen_addi_tl(EA, cpu_gpr[rA(ctx->opcode)], uimm << sh);
|
/qemu/target/ppc/ |
H A D | translate.c | 2377 target_ulong uimm = UIMM(ctx->opcode); in gen_ori() local 2379 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_ori() 2382 tcg_gen_ori_tl(cpu_gpr[rA(ctx->opcode)], cpu_gpr[rS(ctx->opcode)], uimm); in gen_ori() 2388 target_ulong uimm = UIMM(ctx->opcode); in gen_oris() local 2390 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_oris() 2395 uimm << 16); in gen_oris() 2401 target_ulong uimm = UIMM(ctx->opcode); in gen_xori() local 2403 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_xori() 2413 target_ulong uimm = UIMM(ctx->opcode); in gen_xoris() local 2415 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_xoris() [all …]
|