Home
last modified time | relevance | path

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

/external/valgrind/VEX/priv/
Dhost_generic_simd64.c73 return toUShort(0xFFFF & (hi32 >> 16)); in sel16x4_3()
77 return toUShort(0xFFFF & hi32); in sel16x4_2()
81 return toUShort(0xFFFF & (lo32 >> 16)); in sel16x4_1()
85 return toUShort(0xFFFF & lo32); in sel16x4_0()
258 return toUShort(xx==yy ? 0xFFFF : 0); in cmpeq16()
273 return toUShort(xx>yy ? 0xFFFF : 0); in cmpgt16S()
288 return toUShort(xx==0 ? 0 : 0xFFFF); in cmpnez16()
345 return toUShort(v << n); in shl16()
350 return toUShort((((UShort)v) >> n)); in shr16()
355 return toUShort(((Short)v) >> n); in sar16()
[all …]
Dguest_x86_helpers.c550 UShort, toUShort ); in x86g_calculate_eflags_all_WRK()
551 case X86G_CC_OP_UMULW: ACTIONS_UMUL( 16, UShort, toUShort, in x86g_calculate_eflags_all_WRK()
557 Short, toUShort ); in x86g_calculate_eflags_all_WRK()
558 case X86G_CC_OP_SMULW: ACTIONS_SMUL( 16, Short, toUShort, in x86g_calculate_eflags_all_WRK()
1677 = toUShort(((ftop & 7) << 11) | (c3210 & 0x4700)); in do_get_x87()
1679 = toUShort(x86g_create_fpucw( vex_state->guest_FPROUND )); in do_get_x87()
1697 x87_state->env[FP_ENV_TAG] = toUShort(tagw); in do_get_x87()
1749 addrS[12] = toUShort(mxcsr); /* MXCSR */ in x86g_dirtyhelper_FXSAVE()
1750 addrS[13] = toUShort(mxcsr >> 16); in x86g_dirtyhelper_FXSAVE()
2626 return toUShort(hi32 >> 16); in sel16x4_3()
[all …]
Dguest_amd64_helpers.c729 UShort, toUShort ); in amd64g_calculate_rflags_all_WRK()
730 case AMD64G_CC_OP_UMULW: ACTIONS_UMUL( 16, UShort, toUShort, in amd64g_calculate_rflags_all_WRK()
738 Short, toUShort ); in amd64g_calculate_rflags_all_WRK()
739 case AMD64G_CC_OP_SMULW: ACTIONS_SMUL( 16, Short, toUShort, in amd64g_calculate_rflags_all_WRK()
2017 = toUShort(((ftop & 7) << 11) | (c3210 & 0x4700)); in do_get_x87()
2019 = toUShort(amd64g_create_fpucw( vex_state->guest_FPROUND )); in do_get_x87()
2037 x87_state->env[FP_ENV_TAG] = toUShort(tagw); in do_get_x87()
2137 addrS[12] = toUShort(mxcsr); /* MXCSR */ in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS()
2138 addrS[13] = toUShort(mxcsr >> 16); in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS()
2465 = toUShort(toUInt( ((ftop & 7) << 11) | (c3210 & 0x4700) )); in amd64g_dirtyhelper_FSTENV()
[all …]
Dhost_generic_simd128.c73 return toUShort((xx > yy) ? xx : yy); in max16U()
78 return toUShort((xx < yy) ? xx : yy); in min16U()
Dhost_ppc_isel.c532 PPCRH_Imm(True,toUShort(n)) )); in add_to_sp()
540 PPCRH_Imm(True,toUShort(n)) )); in sub_from_sp()
556 PPCRH_Imm(True,toUShort(16)) )); in get_sp_aligned16()
673 PPCRH_Imm(True/*signed*/, toUShort(bias)))); in genGuestArrayOffset()
677 PPCRH_Imm(False/*unsigned*/, toUShort(nElems-1)))); in genGuestArrayOffset()
682 PPCRH_Imm(False/*unsigned*/, toUShort(shift)))); in genGuestArrayOffset()
686 PPCRH_Imm(True/*signed*/, toUShort(descr->base)))); in genGuestArrayOffset()
1522 toUShort(ty == Ity_I8 ? 24 : 16)); in iselWordExpr_R_wrk()
1909 UShort mask = toUShort(op_unop==Iop_16Uto64 ? 0xFFFF : in iselWordExpr_R_wrk()
1932 UShort amt = toUShort(op_unop==Iop_16Sto32 ? 16 : 24); in iselWordExpr_R_wrk()
[all …]
Dhost_mips_isel.c193 toUShort(n)))); in add_to_sp()
196 toUShort(n)))); in add_to_sp()
205 MIPSRH_Imm(True, toUShort(n)))); in sub_from_sp()
208 MIPSRH_Imm(True, toUShort(n)))); in sub_from_sp()
1543 mask = toUShort(0x1); in iselWordExpr_R_wrk()
1549 mask = toUShort(0xFF); in iselWordExpr_R_wrk()
1554 mask = toUShort(0xFFFF); in iselWordExpr_R_wrk()
1931 return MIPSRH_Imm(False /*unsigned */ , toUShort(u & 0xFFFF)); in iselWordExpr_RH_wrk()
1934 return MIPSRH_Imm(True /*signed */ , toUShort(u & 0xFFFF)); in iselWordExpr_RH_wrk()
Dhost_x86_defs.c3043 p = push_word_from_tags(p, toUShort((con >> 12) & 0xF)); in emit_X86Instr()
3044 p = push_word_from_tags(p, toUShort((con >> 8) & 0xF)); in emit_X86Instr()
3045 p = push_word_from_tags(p, toUShort((con >> 4) & 0xF)); in emit_X86Instr()
3046 p = push_word_from_tags(p, toUShort(con & 0xF)); in emit_X86Instr()
Dir_opt.c1403 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1460 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1491 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1711 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1738 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1765 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
Dguest_generic_bb_to_IR.c452 = toUShort(toUInt( vge->len[vge->n_used-1] + dres.len )); in bb_to_IR()
Dguest_x86_toIR.c7392 mask = toUShort( sz==4 ? 0x000F : 0x00FF ); in dis_SSEcmp_E_to_G()
Dguest_amd64_toIR.c9403 mask = toUShort(sz==4 ? 0x000F : 0x00FF); in dis_SSE_cmp_E_to_G()
/external/valgrind/VEX/pub/
Dlibvex_basictypes.h118 static inline UShort toUShort ( Int x ) { in toUShort() function