Home
last modified time | relevance | path

Searched refs:UInt (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/external/valgrind/memcheck/tests/
Dwrap6.c12 typedef unsigned int UInt; typedef
14 #define ROL(_x,n) (((_x) << n) | ((UInt)(_x)) >> ((8*sizeof(UInt)-n)))
18 register UInt* vec = (_vec); \
21 register UInt i, sum = 0; \
22 register UInt v1 = vec[1-1]; \
23 register UInt v2 = vec[2-1]; \
24 register UInt v3 = vec[3-1]; \
25 register UInt v4 = vec[4-1]; \
26 register UInt v5 = vec[5-1]; \
27 register UInt v6 = vec[6-1]; \
[all …]
/external/valgrind/VEX/priv/
Dtilegx_disasm.h79 static __inline UInt
82 const UInt n = (UInt)num; in get_BFEnd_X0()
86 static __inline UInt
89 const UInt n = (UInt)num; in get_BFOpcodeExtension_X0()
93 static __inline UInt
96 const UInt n = (UInt)num; in get_BFStart_X0()
100 static __inline UInt
103 return (((UInt)(n >> 31)) & 0x0000003f) | in get_BrOff_X1()
104 (((UInt)(n >> 37)) & 0x0001ffc0); in get_BrOff_X1()
107 static __inline UInt
[all …]
Dhost_generic_simd64.h107 extern ULong h_generic_calc_ShlN8x8 ( ULong, UInt );
108 extern ULong h_generic_calc_ShlN16x4 ( ULong, UInt );
109 extern ULong h_generic_calc_ShlN32x2 ( ULong, UInt );
111 extern ULong h_generic_calc_ShrN16x4 ( ULong, UInt );
112 extern ULong h_generic_calc_ShrN32x2 ( ULong, UInt );
114 extern ULong h_generic_calc_SarN8x8 ( ULong, UInt );
115 extern ULong h_generic_calc_SarN16x4 ( ULong, UInt );
116 extern ULong h_generic_calc_SarN32x2 ( ULong, UInt );
126 extern UInt h_generic_calc_GetMSBs8x8 ( ULong );
130 extern UInt h_generic_calc_Add16x2 ( UInt, UInt );
[all …]
Dguest_x86_defs.h90 extern UInt x86g_calculate_eflags_all (
91 UInt cc_op, UInt cc_dep1, UInt cc_dep2, UInt cc_ndep
95 extern UInt x86g_calculate_eflags_c (
96 UInt cc_op, UInt cc_dep1, UInt cc_dep2, UInt cc_ndep
99 extern UInt x86g_calculate_condition (
100 UInt/*X86Condcode*/ cond,
101 UInt cc_op,
102 UInt cc_dep1, UInt cc_dep2, UInt cc_ndep
105 extern UInt x86g_calculate_FXAM ( UInt tag, ULong dbl );
108 UInt arg, UInt rot_amt, UInt eflags_in, UInt sz
[all …]
Dguest_arm_helpers.c61 static UInt tab_n_eval[ARMG_CC_OP_NUMBER];
62 static UInt tab_z_eval[ARMG_CC_OP_NUMBER];
63 static UInt tab_c_eval[ARMG_CC_OP_NUMBER];
64 static UInt tab_v_eval[ARMG_CC_OP_NUMBER];
65 static UInt initted = 0;
66 static UInt tot_evals = 0;
70 UInt i; in initCounts()
79 UInt i; in showCounts()
98 vassert( ((UInt)(_cc_op)) < ARMG_CC_OP_NUMBER); \
99 _tab[(UInt)(_cc_op)]++; \
[all …]
Dguest_arm_defs.h86 UInt armg_calculate_flags_nzcv ( UInt cc_op, UInt cc_dep1,
87 UInt cc_dep2, UInt cc_dep3 );
92 UInt armg_calculate_flag_c ( UInt cc_op, UInt cc_dep1,
93 UInt cc_dep2, UInt cc_dep3 );
98 UInt armg_calculate_flag_v ( UInt cc_op, UInt cc_dep1,
99 UInt cc_dep2, UInt cc_dep3 );
104 UInt armg_calculate_condition ( UInt cond_n_op /* ARMCondcode << 4 | cc_op */,
105 UInt cc_dep1,
106 UInt cc_dep2, UInt cc_dep3 );
111 UInt armg_calculate_flag_qc ( UInt resL1, UInt resL2,
[all …]
Dguest_generic_x87.c81 static inline UInt read_bit_array ( UChar* arr, UInt n ) in read_bit_array()
88 static inline void write_bit_array ( UChar* arr, UInt n, UInt b ) in write_bit_array()
253 bexp = (((UInt)f80[9]) << 8) | (UInt)f80[8]; in convert_f80le_to_f64le()
439 UInt sign, expExp; in x86amd64g_calculate_FXTRACT()
469 sign = ((UInt)(arg >> 63)) & 1; in x86amd64g_calculate_FXTRACT()
566 static UInt clz32 ( UInt x ) in clz32()
590 static UInt ctz32 ( UInt x ) in ctz32()
598 static UInt bits4_to_bytes4 ( UInt bits4 ) in bits4_to_bytes4()
600 UInt r = 0; in bits4_to_bytes4()
612 static UInt bits2_to_bytes4 ( UInt bits2 ) in bits2_to_bytes4()
[all …]
Ds390_disasm.c57 gpr_operand(UInt archreg) in gpr_operand()
74 fpr_operand(UInt archreg) in fpr_operand()
91 ar_operand(UInt archreg) in ar_operand()
110 cab_operand(const HChar *base, UInt mask) in cab_operand()
141 construct_mnemonic(const HChar *prefix, const HChar *suffix, UInt mask) in construct_mnemonic()
179 bcr_operand(UInt m1) in bcr_operand()
190 bc_operand(UInt m1) in bc_operand()
201 brc_operand(UInt m1) in brc_operand()
212 brcl_operand(UInt m1) in brcl_operand()
223 cls_operand(Int kind, UInt mask) in cls_operand()
[all …]
Dhost_generic_simd64.c49 static inline ULong mk32x2 ( UInt w1, UInt w0 ) { in mk32x2()
53 static inline UInt sel32x2_1 ( ULong w64 ) { in sel32x2_1()
56 static inline UInt sel32x2_0 ( ULong w64 ) { in sel32x2_0()
66 UInt hi32 = (((UInt)w3) << 16) | ((UInt)w2); in mk16x4()
67 UInt lo32 = (((UInt)w1) << 16) | ((UInt)w0); in mk16x4()
72 UInt hi32 = toUInt(w64 >> 32); in sel16x4_3()
76 UInt hi32 = toUInt(w64 >> 32); in sel16x4_2()
80 UInt lo32 = (UInt)w64; in sel16x4_1()
84 UInt lo32 = (UInt)w64; in sel16x4_0()
95 UInt hi32 = (((UInt)w7) << 24) | (((UInt)w6) << 16) in mk8x8()
[all …]
Dguest_arm64_helpers.c61 static UInt tab_eval[ARM64G_CC_OP_NUMBER][16];
62 static UInt initted = 0;
63 static UInt tot_evals = 0;
67 UInt i, j; in initCounts()
81 UInt i, j; in showCounts()
101 vassert( ((UInt)(_cc_op)) < ARM64G_CC_OP_NUMBER); \
102 vassert( ((UInt)(_cond)) < 16); \
103 tab_eval[(UInt)(_cc_op)][(UInt)(cond)]++; \
126 UInt argL = (UInt)cc_dep1; in arm64g_calculate_flag_n()
127 UInt argR = (UInt)cc_dep2; in arm64g_calculate_flag_n()
[all …]
Dguest_x86_helpers.c116 return (UInt)x << n; in lshift()
129 /* const */ UInt DATA_MASK \
133 /* const */ UInt SIGN_MASK = 1u << (__data_bits - 1); \
134 /* const */ UInt CC_DEP1 = cc_dep1_formal; \
135 /* const */ UInt CC_DEP2 = cc_dep2_formal; \
136 /* const */ UInt CC_NDEP = cc_ndep_formal; \
151 { UInt cf, pf, af, zf, sf, of; \
152 UInt argL, argR, res; \
172 { UInt cf, pf, af, zf, sf, of; \
173 UInt argL, argR, res; \
[all …]
Dguest_s390_defs.h84 ULong s390_do_cu12_cu14_helper1(UInt byte1, UInt etf3_and_m3_is_1);
85 ULong s390_do_cu12_helper2(UInt byte1, UInt byte2, UInt byte3, UInt byte4,
87 ULong s390_do_cu14_helper2(UInt byte1, UInt byte2, UInt byte3, UInt byte4,
89 ULong s390_do_cu21(UInt srcvalue, UInt low_surrogate);
90 ULong s390_do_cu24(UInt srcvalue, UInt low_surrogate);
91 ULong s390_do_cu41(UInt srcvalue);
92 ULong s390_do_cu42(UInt srcvalue);
93 UInt s390_do_cvb(ULong decimal);
96 UInt s390_do_pfpo(UInt gpr0);
243 UInt s390_calculate_cc(ULong cc_op, ULong cc_dep1, ULong cc_dep2,
[all …]
/external/valgrind/VEX/pub/
Dlibvex_guest_mips32.h44 /* 0 */ UInt guest_r0; /* Hardwired to 0 */
45 /* 4 */ UInt guest_r1; /* Assembler temporary */
46 /* 8 */ UInt guest_r2; /* Values for function returns ...*/
47 /* 12 */ UInt guest_r3; /* ...and expression evaluation */
48 /* 16 */ UInt guest_r4; /* Function arguments */
49 /* 20 */ UInt guest_r5;
50 /* 24 */ UInt guest_r6;
51 /* 28 */ UInt guest_r7;
52 /* 32 */ UInt guest_r8; /* Temporaries */
53 /* 36 */ UInt guest_r9;
[all …]
Dlibvex_guest_x86.h145 UInt host_EvC_FAILADDR; /* 0 */
146 UInt host_EvC_COUNTER; /* 4 */
147 UInt guest_EAX; /* 8 */
148 UInt guest_ECX;
149 UInt guest_EDX;
150 UInt guest_EBX;
151 UInt guest_ESP;
152 UInt guest_EBP;
153 UInt guest_ESI;
154 UInt guest_EDI; /* 36 */
[all …]
Dlibvex_guest_ppc32.h51 /* 0 */ UInt host_EvC_FAILADDR;
52 /* 4 */ UInt host_EvC_COUNTER;
53 /* 8 */ UInt pad3;
54 /* 12 */ UInt pad4;
57 /* 0 */ UInt guest_GPR0;
58 /* 4 */ UInt guest_GPR1;
59 /* 8 */ UInt guest_GPR2;
60 /* 12 */ UInt guest_GPR3;
61 /* 16 */ UInt guest_GPR4;
62 /* 20 */ UInt guest_GPR5;
[all …]
Dlibvex_guest_arm.h45 UInt host_EvC_FAILADDR; /* 0 */
46 UInt host_EvC_COUNTER; /* 4 */
47 UInt guest_R0;
48 UInt guest_R1;
49 UInt guest_R2;
50 UInt guest_R3;
51 UInt guest_R4;
52 UInt guest_R5;
53 UInt guest_R6;
54 UInt guest_R7;
[all …]
Dlibvex_guest_s390x.h46 /* 0 */ UInt guest_a0;
47 /* 4 */ UInt guest_a1;
48 /* 8 */ UInt guest_a2;
49 /* 12 */ UInt guest_a3;
50 /* 16 */ UInt guest_a4;
51 /* 20 */ UInt guest_a5;
52 /* 24 */ UInt guest_a6;
53 /* 28 */ UInt guest_a7;
54 /* 32 */ UInt guest_a8;
55 /* 36 */ UInt guest_a9;
[all …]
/external/valgrind/none/tests/amd64/
Dcrc32.c5 typedef unsigned int UInt; typedef
13 UInt do_s_crc32b ( UInt crcIn, UChar b ) in do_s_crc32b()
15 UInt i, crc = (b & 0xFF) ^ crcIn; in do_s_crc32b()
21 UInt do_s_crc32w ( UInt crcIn, UShort w ) in do_s_crc32w()
23 UInt i, crc = (w & 0xFFFF) ^ crcIn; in do_s_crc32w()
29 UInt do_s_crc32l ( UInt crcIn, UInt l ) in do_s_crc32l()
31 UInt i, crc = l ^ crcIn; in do_s_crc32l()
37 UInt do_s_crc32q ( UInt crcIn, ULong q ) in do_s_crc32q()
39 UInt crc = do_s_crc32l(crcIn, (UInt)q); in do_s_crc32q()
40 return do_s_crc32l(crc, (UInt)(q >> 32)); in do_s_crc32q()
[all …]
Dpcmpstr64w.c10 typedef unsigned int UInt; typedef
24 UInt uInt[4];
25 UInt w32[4];
44 UInt clz32 ( UInt x ) in clz32()
68 UInt ctz32 ( UInt x ) in ctz32()
93 UInt(*h_fn)(V128*,V128*), in try_istri()
94 UInt(*s_fn)(V128*,V128*), in try_istri()
101 UInt h_res = h_fn(&argL, &argR); in try_istri()
102 UInt s_res = s_fn(&argL, &argR); in try_istri()
107 UInt zmask_from_V128 ( V128* arg ) in zmask_from_V128()
[all …]
/external/valgrind/none/tests/arm/
Dldrt_arm.c6 typedef unsigned int UInt; typedef
8 __attribute__((noinline)) UInt do_ldrt_A1_imm_132 ( unsigned char* p ) in do_ldrt_A1_imm_132()
10 UInt res; in do_ldrt_A1_imm_132()
19 __attribute__((noinline)) UInt do_ldrt_A2_imm_132 ( unsigned char* p ) in do_ldrt_A2_imm_132()
21 UInt res; in do_ldrt_A2_imm_132()
30 __attribute__((noinline)) UInt do_ldrbt_A1_imm_2 (unsigned char* val) in do_ldrbt_A1_imm_2()
32 UInt res; in do_ldrbt_A1_imm_2()
41 __attribute__((noinline)) UInt do_ldrbt_A2_imm_2 (unsigned char* val) in do_ldrbt_A2_imm_2()
43 UInt res; in do_ldrbt_A2_imm_2()
52 __attribute__((noinline)) UInt do_ldrht_A1_imm_m2 (unsigned char* val) in do_ldrht_A1_imm_m2()
[all …]
Dldrt.c9 typedef unsigned int UInt; typedef
11 __attribute__((noinline)) UInt do_ldrt_imm_132 ( unsigned char* p ) in do_ldrt_imm_132()
13 UInt res; in do_ldrt_imm_132()
21 __attribute__((noinline)) void do_strt_imm_132 ( unsigned char* p, UInt val ) in do_strt_imm_132()
29 __attribute__((noinline)) void do_strbt_imm_132 ( unsigned char* p, UInt* val ) in do_strbt_imm_132()
37 __attribute__((noinline)) UInt do_ldrht_imm_1 (unsigned char* val) in do_ldrht_imm_1()
39 UInt res; in do_ldrht_imm_1()
47 __attribute__((noinline)) void do_ldrsht_imm_1 (UInt* res) in do_ldrsht_imm_1()
55 __attribute__((noinline)) void do_strht_imm_132 ( unsigned char* p, UInt* val ) in do_strht_imm_132()
63 __attribute__((noinline)) UInt do_ldrbt_imm_2 (unsigned char* val) in do_ldrbt_imm_2()
[all …]
/external/valgrind/VEX/useful/
Dsmchash.c7 typedef unsigned int UInt; typedef
12 static inline UInt ROL32 ( UInt x, UInt n ) { in ROL32()
33 UInt i; in read_one()
34 UInt esum, csum; in read_one()
58 UInt b; in read_one()
90 UInt hash_const_zero ( GuestBytes* gb ) { in hash_const_zero()
94 UInt hash_sum ( GuestBytes* gb ) { in hash_sum()
95 UInt i, sum = 0; in hash_sum()
97 sum += (UInt)gb->actual[i]; in hash_sum()
101 UInt hash_rol ( GuestBytes* gb ) { in hash_rol()
[all …]
/external/valgrind/none/tests/x86/
Dlzcnt32.c5 typedef unsigned int UInt; typedef
8 void do_lzcnt32 ( /*OUT*/UInt* flags, /*OUT*/UInt* res, UInt arg ) in do_lzcnt32()
10 UInt block[3] = { arg, 0, 0 }; in do_lzcnt32()
25 void do_lzcnt16 ( /*OUT*/UInt* flags, /*OUT*/UInt* res, UInt arg ) in do_lzcnt16()
27 UInt block[3] = { arg, 0, 0 }; in do_lzcnt16()
43 UInt w; in main()
47 UInt res; in main()
48 UInt flags; in main()
57 UInt res; in main()
58 UInt flags; in main()
/external/valgrind/coregrind/
Dm_debuglog.c78 static UInt local_sys_write_stderr ( const HChar* buf, Int n ) in local_sys_write_stderr()
96 static UInt local_sys_getpid ( void ) in local_sys_getpid()
98 UInt __res; in local_sys_getpid()
112 static UInt local_sys_write_stderr ( const HChar* buf, Int n ) in local_sys_write_stderr()
137 return (UInt)block[0]; in local_sys_write_stderr()
140 static UInt local_sys_getpid ( void ) in local_sys_getpid()
142 UInt __res; in local_sys_getpid()
155 static UInt local_sys_write_stderr ( const HChar* buf, Int n ) in local_sys_write_stderr()
179 return (UInt)block[0]; in local_sys_write_stderr()
182 static UInt local_sys_getpid ( void ) in local_sys_getpid()
[all …]
/external/valgrind/none/tests/ppc32/
Dldstrev.c4 typedef unsigned int UInt; typedef
7 UInt read16le ( void* a ) in read16le()
9 UInt res; in read16le()
19 UInt read16be ( void* a ) in read16be()
21 UInt res; in read16be()
31 UInt read32le ( void* a ) in read32le()
33 UInt res; in read32le()
43 UInt read32be ( void* a ) in read32be()
45 UInt res; in read32be()
55 void write16be ( void* a, UInt data ) in write16be()
[all …]

12345678910>>...18