Searched refs:uimm (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 308 uimm &= 0b1111; 309 if (uimm > 10 || uimm == 0) { 310 uimm ^= 0b1000; 330 ^ rcon[uimm - 1]; 354 uimm &= 0b1111; in HELPER() 355 if (uimm > 14 || uimm < 2) { in HELPER() 356 uimm ^= 0b1000; in HELPER() 375 if (uimm % 2 == 0) { in HELPER() 726 j = 2 * uimm; in sm3c() 739 j = 2 * uimm + 1; in sm3c() [all …]
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit.h | 297 static inline u16 rv_css_insn(u8 funct3, u32 uimm, u8 rs2, u8 op) in rv_css_insn() argument 299 return (funct3 << 13) | (uimm << 7) | (rs2 << 2) | op; in rv_css_insn() 302 static inline u16 rv_ciw_insn(u8 funct3, u32 uimm, u8 rd, u8 op) in rv_ciw_insn() argument 304 return (funct3 << 13) | (uimm << 5) | ((rd & 0x7) << 2) | op; in rv_ciw_insn()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | translate.c | 2364 tcg_gen_addi_tl(t0, t1, uimm); in gen_arith_imm() 2367 tcg_gen_xori_tl(t1, t1, ~uimm); in gen_arith_imm() 2368 tcg_gen_xori_tl(t2, t0, uimm); in gen_arith_imm() 2395 tcg_gen_addi_tl(t0, t1, uimm); in gen_arith_imm() 2398 tcg_gen_xori_tl(t2, t0, uimm); in gen_arith_imm() 2422 target_ulong uimm; in gen_logic_imm() local 2428 uimm = (uint16_t)imm; in gen_logic_imm() 2505 tcg_gen_shli_tl(t0, t0, uimm); in gen_shift_imm() 2512 if (uimm != 0) { in gen_shift_imm() 2520 if (uimm != 0) { in gen_shift_imm() [all …]
|
/openbmc/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);
|
/openbmc/qemu/target/ppc/ |
H A D | translate.c | 2434 target_ulong uimm = UIMM(ctx->opcode); in gen_ori() local 2436 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_ori() 2439 tcg_gen_ori_tl(cpu_gpr[rA(ctx->opcode)], cpu_gpr[rS(ctx->opcode)], uimm); in gen_ori() 2445 target_ulong uimm = UIMM(ctx->opcode); in gen_oris() local 2447 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_oris() 2452 uimm << 16); in gen_oris() 2458 target_ulong uimm = UIMM(ctx->opcode); in gen_xori() local 2460 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_xori() 2470 target_ulong uimm = UIMM(ctx->opcode); in gen_xoris() local 2472 if (rS(ctx->opcode) == rA(ctx->opcode) && uimm == 0) { in gen_xoris() [all …]
|