Home
last modified time | relevance | path

Searched refs:toUShort (Results 1 – 13 of 13) 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()
1678 = toUShort(((ftop & 7) << 11) | (c3210 & 0x4700)); in do_get_x87()
1680 = toUShort(x86g_create_fpucw( vex_state->guest_FPROUND )); in do_get_x87()
1698 x87->env[FP_ENV_TAG] = toUShort(tagw); in do_get_x87()
1750 addrS[12] = toUShort(mxcsr); /* MXCSR */ in x86g_dirtyhelper_FXSAVE()
1751 addrS[13] = toUShort(mxcsr >> 16); in x86g_dirtyhelper_FXSAVE()
2627 return toUShort(hi32 >> 16); in sel16x4_3()
[all …]
Dguest_amd64_helpers.c709 UShort, toUShort ); in amd64g_calculate_rflags_all_WRK()
710 case AMD64G_CC_OP_UMULW: ACTIONS_UMUL( 16, UShort, toUShort, in amd64g_calculate_rflags_all_WRK()
718 Short, toUShort ); in amd64g_calculate_rflags_all_WRK()
719 case AMD64G_CC_OP_SMULW: ACTIONS_SMUL( 16, Short, toUShort, in amd64g_calculate_rflags_all_WRK()
1922 = toUShort(((ftop & 7) << 11) | (c3210 & 0x4700)); in do_get_x87()
1924 = toUShort(amd64g_create_fpucw( vex_state->guest_FPROUND )); in do_get_x87()
1942 x87->env[FP_ENV_TAG] = toUShort(tagw); in do_get_x87()
2042 addrS[12] = toUShort(mxcsr); /* MXCSR */ in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS()
2043 addrS[13] = toUShort(mxcsr >> 16); in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS()
2370 = 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.c528 PPCRH_Imm(True,toUShort(n)) )); in add_to_sp()
536 PPCRH_Imm(True,toUShort(n)) )); in sub_from_sp()
552 PPCRH_Imm(True,toUShort(16)) )); in get_sp_aligned16()
669 PPCRH_Imm(True/*signed*/, toUShort(bias)))); in genGuestArrayOffset()
673 PPCRH_Imm(False/*unsigned*/, toUShort(nElems-1)))); in genGuestArrayOffset()
678 PPCRH_Imm(False/*unsigned*/, toUShort(shift)))); in genGuestArrayOffset()
682 PPCRH_Imm(True/*signed*/, toUShort(descr->base)))); in genGuestArrayOffset()
1503 toUShort(ty == Ity_I8 ? 24 : 16)); in iselWordExpr_R_wrk()
1890 UShort mask = toUShort(op_unop==Iop_16Uto64 ? 0xFFFF : in iselWordExpr_R_wrk()
1913 UShort amt = toUShort(op_unop==Iop_16Sto32 ? 16 : 24); in iselWordExpr_R_wrk()
[all …]
Dhost_mips_isel.c199 toUShort(n)))); in add_to_sp()
202 toUShort(n)))); in add_to_sp()
211 MIPSRH_Imm(True, toUShort(n)))); in sub_from_sp()
214 MIPSRH_Imm(True, toUShort(n)))); in sub_from_sp()
1549 mask = toUShort(0x1); in iselWordExpr_R_wrk()
1555 mask = toUShort(0xFF); in iselWordExpr_R_wrk()
1560 mask = toUShort(0xFFFF); in iselWordExpr_R_wrk()
1937 return MIPSRH_Imm(False /*unsigned */ , toUShort(u & 0xFFFF)); in iselWordExpr_RH_wrk()
1940 return MIPSRH_Imm(True /*signed */ , toUShort(u & 0xFFFF)); in iselWordExpr_RH_wrk()
Dhost_tilegx_isel.c1174 return TILEGXRH_Imm(False /*unsigned */ , toUShort(u & 0xFFFF)); in iselWordExpr_RH_wrk()
1177 return TILEGXRH_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.c1402 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1459 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1490 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1710 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1737 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
1764 e2 = IRExpr_Const(IRConst_U16(toUShort( in fold_Expr()
Dguest_generic_bb_to_IR.c428 = toUShort(toUInt( vge->len[vge->n_used-1] + dres.len )); in bb_to_IR()
Dguest_x86_toIR.c7390 mask = toUShort( sz==4 ? 0x000F : 0x00FF ); in dis_SSEcmp_E_to_G()
Dguest_amd64_toIR.c9279 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