Home
last modified time | relevance | path

Searched refs:ror32 (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/target/arm/tcg/
H A Dcrypto_helper.c201 CR_ST_WORD(d, 2) = ror32(CR_ST_WORD(d, 1), 2); in crypto_sha1_3reg()
247 CR_ST_WORD(m, 0) = ror32(CR_ST_WORD(m, 0), 2); in HELPER()
281 return ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22); in S0()
286 return ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25); in S1()
291 return ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3); in s0()
296 return ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10); in s1()
505 t = CR_ST_WORD(d, 0) ^ CR_ST_WORD(n, 0) ^ ror32(CR_ST_WORD(m, 1), 17); in HELPER()
506 CR_ST_WORD(d, 0) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER()
508 t = CR_ST_WORD(d, 1) ^ CR_ST_WORD(n, 1) ^ ror32(CR_ST_WORD(m, 2), 17); in HELPER()
509 CR_ST_WORD(d, 1) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER()
[all …]
H A Dtranslate.c2545 imm = ror32(a->imm, a->rot); in gen_goto_tb()
2566 imm = ror32(a->imm, a->rot); in gen_jmp_tb()
3298 uint32_t val = ror32(a->imm, a->rot * 2); in gen_store_exclusive()
H A Dsve_helper.c8480 d[i] = ror32(n[i] ^ m[i], shr); in HELPER()
/openbmc/qemu/target/riscv/
H A Dvcrypto_helper.c66 RVVCALL(OPIVV2, vror_vv_w, OP_UUU_W, H4, H4, H4, ror32) in RVVCALL()
75 RVVCALL(OPIVX2, vror_vx_w, OP_UUU_W, H4, H4, ror32) in RVVCALL()
329 tmp = ror32(rk[3], 8);
383 tmp = ror32(rk[7], 8); in HELPER()
411 return ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3); in sig0_sha256()
416 return ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10); in sig1_sha256()
492 return ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22); in sum0_32()
502 return ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25); in sum1_32()
H A Dcrypto_helper.c153 temp = ror32(temp, 8); /* Rotate right by 8 */ in HELPER()
/openbmc/qemu/target/ppc/
H A Dint_helper.c2964 r->VsrW(i) = ror32(a->VsrW(i), 7) ^ in helper_vshasigmaw()
2965 ror32(a->VsrW(i), 18) ^ in helper_vshasigmaw()
2968 r->VsrW(i) = ror32(a->VsrW(i), 17) ^ in helper_vshasigmaw()
2969 ror32(a->VsrW(i), 19) ^ in helper_vshasigmaw()
2974 r->VsrW(i) = ror32(a->VsrW(i), 2) ^ in helper_vshasigmaw()
2975 ror32(a->VsrW(i), 13) ^ in helper_vshasigmaw()
2976 ror32(a->VsrW(i), 22); in helper_vshasigmaw()
2978 r->VsrW(i) = ror32(a->VsrW(i), 6) ^ in helper_vshasigmaw()
2979 ror32(a->VsrW(i), 11) ^ in helper_vshasigmaw()
2980 ror32(a->VsrW(i), 25); in helper_vshasigmaw()
/openbmc/qemu/target/i386/
H A Dops_sse.h2605 #define SHA256_RNDS0(w) (ror32((w), 2) ^ ror32((w), 13) ^ ror32((w), 22))
2606 #define SHA256_RNDS1(w) (ror32((w), 6) ^ ror32((w), 11) ^ ror32((w), 25))
2607 #define SHA256_MSGS0(w) (ror32((w), 7) ^ ror32((w), 18) ^ ((w) >> 3))
2608 #define SHA256_MSGS1(w) (ror32((w), 17) ^ ror32((w), 19) ^ ((w) >> 10))
/openbmc/qemu/include/qemu/
H A Dbitops.h448 static inline uint32_t ror32(uint32_t word, unsigned int shift) in ror32() function
/openbmc/qemu/tcg/
H A Dtci.c674 regs[r0] = ror32(regs[r1], regs[r2] & 31); in tcg_qemu_tb_exec()
H A Doptimize.c474 return ror32(x, y & 31); in do_constant_folding_2()
/openbmc/qemu/accel/tcg/
H A Dtcg-runtime-gvec.c1000 *(uint32_t *)(d + i) = ror32(*(uint32_t *)(a + i), sh); in HELPER()
/openbmc/qemu/target/m68k/
H A Dtranslate.c4018 mask = tcg_constant_i32(ror32(maski, ofs)); in DISAS_INSN()
4166 tcg_gen_andi_i32(dst, dst, ror32(maski, roti)); in DISAS_INSN()