Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/u-boot/drivers/bios_emulator/x86emu/
H A Dops2.c169 int mod, rl, rh; in x86emuOp2_set_byte() local
245 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_set_byte()
293 int mod, rl, rh; in x86emuOp2_bt_R() local
299 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_bt_R()
307 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
318 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
331 shiftreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp2_bt_R()
340 shiftreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp2_bt_R()
356 int mod, rl, rh; in x86emuOp2_shld_IMM() local
362 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp2_shld_IMM()
[all …]
H A Dops.c206 int mod, rl, rh; in x86emuOp_genop_byte_RM_R() local
216 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_genop_byte_RM_R()
221 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_genop_byte_RM_R()
231 srcreg = DECODE_RM_BYTE_REGISTER(rh); in x86emuOp_genop_byte_RM_R()
246 int mod, rl, rh; in x86emuOp_genop_word_RM_R() local
254 FETCH_DECODE_MODRM(mod, rh, rl); in x86emuOp_genop_word_RM_R()
264 srcreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp_genop_word_RM_R()
275 srcreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp_genop_word_RM_R()
287 srcreg = DECODE_RM_LONG_REGISTER(rh); in x86emuOp_genop_word_RM_R()
296 srcreg = DECODE_RM_WORD_REGISTER(rh); in x86emuOp_genop_word_RM_R()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-mul64.c15 uint64_t rh, rl; member
43 uint64_t rl, rh; in test_u() local
44 mulu64(&rl, &rh, test_u_data[i].a, test_u_data[i].b); in test_u()
46 g_assert_cmpuint(rh, ==, test_u_data[i].rh); in test_u()
55 uint64_t rl, rh; in test_s() local
56 muls64(&rl, &rh, test_s_data[i].a, test_s_data[i].b); in test_s()
58 g_assert_cmpint(rh, ==, test_s_data[i].rh); in test_s()
/openbmc/qemu/target/riscv/
H A Dm128_helper.c48 target_ulong rl, rh; in HELPER() local
53 rh = uh; in HELPER()
57 rh = int128_gethi(r); in HELPER()
60 env->retxh = rh; in HELPER()
93 target_ulong rh, rl; in HELPER() local
98 rh = uh; in HELPER()
102 rh = int128_gethi(r); in HELPER()
105 env->retxh = rh; in HELPER()
/openbmc/u-boot/include/linux/
H A Dmath64.h194 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local
203 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
211 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr()
212 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr()
221 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
222 return rh.ll >> (shift & 63); in mul_u64_u64_shr()
240 } u, rl, rh; in mul_u64_u32_div() local
244 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div()
247 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div()
252 rl.l.high = rh.l.low; in mul_u64_u32_div()
/openbmc/qemu/util/
H A Dhost-utils.c44 LL rl, rm, rn, rh, a0, b0; in mul64() local
53 rh.ll = (uint64_t)a0.l.high * b0.l.high; in mul64()
58 c = c + rm.l.high + rn.l.high + rh.l.low; in mul64()
59 rh.l.low = c; in mul64()
60 rh.l.high += (uint32_t)(c >> 32); in mul64()
63 *phigh = rh.ll; in mul64()
75 uint64_t rh; in muls64() local
77 mul64(plow, &rh, a, b); in muls64()
81 rh -= a; in muls64()
84 rh -= b; in muls64()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dopenhpi.init81 nolsb | rh)
107 gentoo | rh)
139 nolsb | rh)
180 gentoo | nolsb | rh)
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvm.c.inc50 static void gen_mul_i128(TCGv rl, TCGv rh,
58 tcg_gen_mulu2_tl(rl, rh, rs1l, rs2l);
60 tcg_gen_add2_tl(rh, tmpx, rh, zero, tmpl, tmph);
62 tcg_gen_add2_tl(rh, tmph, rh, tmpx, tmpl, tmph);
71 static void gen_mulh_i128(TCGv rl, TCGv rh,
79 gen_mulhu_i128(rl, rh, rs1l, rs1h, rs2l, rs2h);
86 tcg_gen_sub2_tl(t0l, t0h, rl, rh, t0l, t0h);
87 tcg_gen_sub2_tl(rl, rh, t0l, t0h, t1l, t1h);
110 static void gen_mulhsu_i128(TCGv rl, TCGv rh,
117 gen_mulhu_i128(rl, rh, rs1l, rs1h, rs2l, rs2h);
[all …]
H A Dtrans_rvi.c.inc201 TCGv rh = tcg_temp_new();
211 tcg_gen_xor_tl(rh, ah, bh);
212 tcg_gen_or_tl(rl, rl, rh);
223 tcg_gen_sub2_tl(rl, rh, al, ah, bl, bh);
224 tcg_gen_xor_tl(rl, rh, ah);
227 tcg_gen_xor_tl(rl, rh, rl);
244 tcg_gen_sub2_tl(tmp, rh, ah, one, tmp, zero);
245 tcg_gen_sub2_tl(tmp, rl, tmp, rh, bh, zero);
259 static void gen_setcond_i128(TCGv rl, TCGv rh,
266 tcg_gen_movi_tl(rh, 0);
/openbmc/qemu/crypto/
H A Dclmul.c98 uint64_t rl = 0, rh = 0; in clmul_64_gen() local
108 rh ^= (m >> (64 - i)) & mask; in clmul_64_gen()
110 return int128_make128(rl, rh); in clmul_64_gen()
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/
H A Ddecode.h46 #define FETCH_DECODE_MODRM(mod,rh,rl) fetch_decode_modrm(&mod,&rh,&rl) argument
/openbmc/qemu/tcg/
H A Dtcg-op.c1084 void tcg_gen_add2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 al, in tcg_gen_add2_i32() argument
1090 tcg_gen_op3_i32(INDEX_op_addci, rh, ah, bh); in tcg_gen_add2_i32()
1098 tcg_gen_add_i32(rh, ah, bh); in tcg_gen_add2_i32()
1099 tcg_gen_add_i32(rh, rh, t1); in tcg_gen_add2_i32()
1133 void tcg_gen_sub2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 al, in tcg_gen_sub2_i32() argument
1139 tcg_gen_op3_i32(INDEX_op_subbi, rh, ah, bh); in tcg_gen_sub2_i32()
1147 tcg_gen_sub_i32(rh, ah, bh); in tcg_gen_sub2_i32()
1148 tcg_gen_sub_i32(rh, rh, t1); in tcg_gen_sub2_i32()
1155 void tcg_gen_mulu2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 arg1, TCGv_i32 arg2) in tcg_gen_mulu2_i32() argument
1158 tcg_gen_op4_i32(INDEX_op_mulu2, rl, rh, arg1, arg2); in tcg_gen_mulu2_i32()
[all …]
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/
H A DUpdate-x86emu-from-X.org.patch2182 int mod, rl, rh;
2187 DECODE_PRINTINSTR32(x86emu_fpu_op_d9_tab, mod, rh, rl);
2191 DECODE_PRINTF(x86emu_fpu_op_d9_tab1[(rh << 3) + rl]);
2212 - if (rh < 4) {
2219 + if (rh < 4) {
2232 switch (rh) {
2383 switch (rh) {
2458 int mod, rl, rh;
2461 FETCH_DECODE_MODRM(mod, rh, rl);
2462 DECODE_PRINTINSTR32(x86emu_fpu_op_da_tab, mod, rh, rl);
[all …]
/openbmc/qemu/include/qemu/
H A Dhost-utils.h104 uint64_t rl, rh; in muldiv64_rounding() local
111 rh = (uint64_t)u.l.high * (uint64_t)b; in muldiv64_rounding()
112 rh += (rl >> 32); in muldiv64_rounding()
113 res.l.high = rh / c; in muldiv64_rounding()
114 res.l.low = (((rh % c) << 32) + (rl & 0xffffffff)) / c; in muldiv64_rounding()
/openbmc/qemu/include/tcg/
H A Dtcg-op-common.h135 void tcg_gen_add2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 al,
137 void tcg_gen_sub2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 al,
141 void tcg_gen_mulu2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 arg1, TCGv_i32 arg2);
142 void tcg_gen_muls2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 arg1, TCGv_i32 arg2);
143 void tcg_gen_mulsu2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 arg1, TCGv_i32 arg2);
240 void tcg_gen_add2_i64(TCGv_i64 rl, TCGv_i64 rh, TCGv_i64 al,
242 void tcg_gen_sub2_i64(TCGv_i64 rl, TCGv_i64 rh, TCGv_i64 al,
246 void tcg_gen_mulu2_i64(TCGv_i64 rl, TCGv_i64 rh, TCGv_i64 arg1, TCGv_i64 arg2);
247 void tcg_gen_muls2_i64(TCGv_i64 rl, TCGv_i64 rh, TCGv_i64 arg1, TCGv_i64 arg2);
248 void tcg_gen_mulsu2_i64(TCGv_i64 rl, TCGv_i64 rh, TCGv_i64 arg1, TCGv_i64 arg2);
/openbmc/pldm/libpldmresponder/
H A Dfru.hpp240 return ++rh; in nextRecordHandle()
243 uint32_t rh = 0; member in pldm::responder::FruImpl
/openbmc/pldm/host-bmc/
H A Dhost_pdr_handler.cpp494 uint32_t rh = 0; in processHostPDRs() local
548 rh = nextRecordHandle; in processHostPDRs()
552 rh = nextRecordHandle - 1; in processHostPDRs()
556 if (!rh) in processHostPDRs()
558 rh = pdrHdr->record_handle; in processHostPDRs()
563 this->mergeEntityAssociations(pdr, respCount, rh); in processHostPDRs()
651 pdrTerminusHandle, &rh); in processHostPDRs()
/openbmc/u-boot/drivers/usb/host/
H A Dusb-uclass.c164 struct udevice *rh; in usb_stop() local
182 device_find_first_child(bus, &rh); in usb_stop()
183 if (rh) { in usb_stop()
188 ret = device_unbind(rh); in usb_stop()
H A Dohci.h404 struct virt_root_hub rh; member
/openbmc/qemu/target/tricore/
H A Dtranslate.c181 #define GEN_HELPER_RRR(name, rl, rh, al1, ah1, arg2) do { \ argument
187 tcg_gen_extr_i64_i32(rl, rh, ret); \
190 #define GEN_HELPER_RR(name, rl, rh, arg1, arg2) do { \ argument
194 tcg_gen_extr_i64_i32(rl, rh, ret); \
228 static void gen_st_2regs_64(TCGv rh, TCGv rl, TCGv address, DisasContext *ctx) in gen_st_2regs_64() argument
232 tcg_gen_concat_i32_i64(temp, rl, rh); in gen_st_2regs_64()
236 static void gen_offset_st_2regs(TCGv rh, TCGv rl, TCGv base, int16_t con, in gen_offset_st_2regs() argument
241 gen_st_2regs_64(rh, rl, temp, ctx); in gen_offset_st_2regs()
244 static void gen_ld_2regs_64(TCGv rh, TCGv rl, TCGv address, DisasContext *ctx) in gen_ld_2regs_64() argument
250 tcg_gen_extr_i64_i32(rl, rh, temp); in gen_ld_2regs_64()
[all …]
/openbmc/qemu/hw/xen/
H A Dxen_pt_msi.c53 int rh, dm, dest_id, deliv_mode, trig_mode; in msi_gflags() local
55 rh = (addr >> MSI_ADDR_REDIRECTION_SHIFT) & 0x1; in msi_gflags()
61 result = dest_id | (rh << XEN_PT_GFLAGS_SHIFT_RH) in msi_gflags()
/openbmc/qemu/target/hexagon/imported/
H A Dencode_pp.def92 STD_PLD_IOENC(rh, "010")
106 STD_PST_IOENC(rh, "010","ttttt")
130 STD_LD_GP(rh, "010")
139 STD_ST_GP(rh, "010","ttttt")
182 STD_PLD_RRENC(rh, "010")
194 STD_PST_RRENC(rh, "010","ttttt")
215 V4_PSTI(rh, "01")
229 STD_LD_RRENC(rh, "010")
238 STD_ST_RRENC(rh, "010","ttttt")
258 V4_STI(rh, "01")
[all …]
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386.c2135 unsigned long a, d, r, rh; \
2139 rh = d;\
2140 asm volatile(#op : "=a" (r), "=d" (rh) : "0" (r), "1" (rh)); \
2141 printf("%-10s A=" FMTLX " R=" FMTLX ":" FMTLX "\n", #op, a, r, rh); \
/openbmc/qemu/fpu/
H A Dsoftfloat-parts.c.inc862 uint64_t dh, dl, rh, rl, sh, sl, uh, ul; /* 128-bit computation */
1008 mul64To128(u64, r64, &rh, &rl);
1009 add128(rh, rl, rh, rl, &rh, &rl);
1012 mul128To256(a->frac_hi, a->frac_lo, rh, rl, &sh, &sl, &discard, &discard);
1013 mul128To256(sh, sl, rh, rl, &dh, &dl, &discard, &discard);
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_vec.c.inc357 TCGv_i64 rh, rl, ah, al, bh, bl;
363 rh = tcg_temp_new_i64();
376 func(rl, rh, al, ah, bl, bh);
378 set_vreg64(rh, a->vd, 1 + i * 2);
2127 static void tcg_gen_mulus2_i64(TCGv_i64 rl, TCGv_i64 rh,
2130 tcg_gen_mulsu2_i64(rl, rh, arg2, arg1);
2138 TCGv_i64 rh, rl, arg1, arg2;
2145 rh = tcg_temp_new_i64();
2154 func(rl, rh, arg1, arg2);
2156 set_vreg64(rh, a->vd, 2 * i + 1);
[all …]

12