Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 58) sorted by relevance

123

/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_remStepMBy32.c55 unsigned int index, lastIndex; in softfloat_remStepMBy32() local
61 index = indexWordLo( size_words ); in softfloat_remStepMBy32()
63 dwordProd = (uint64_t) bPtr[index] * q; in softfloat_remStepMBy32()
64 wordRem = remPtr[index]; in softfloat_remStepMBy32()
67 zPtr[index] = wordShiftedRem - wordProd; in softfloat_remStepMBy32()
68 if ( index != lastIndex ) { in softfloat_remStepMBy32()
72 index += wordIncr; in softfloat_remStepMBy32()
73 dwordProd = (uint64_t) bPtr[index] * q + (dwordProd>>32); in softfloat_remStepMBy32()
74 wordRem = remPtr[index]; in softfloat_remStepMBy32()
77 zPtr[index] = wordShiftedRem - wordProd - borrow; in softfloat_remStepMBy32()
[all …]
A Df128M_roundToInt.c78 unsigned int index, lastIndex; in f128M_roundToInt() local
148 index = indexWordLo( 4 ); in f128M_roundToInt()
152 wordA = aWPtr[index]; in f128M_roundToInt()
155 zWPtr[index] = 0; in f128M_roundToInt()
156 index += wordIncr; in f128M_roundToInt()
170 zWPtr[index] = wordZ; in f128M_roundToInt()
171 index += wordIncr; in f128M_roundToInt()
194 zWPtr[index] = wordZ; in f128M_roundToInt()
196 while ( index != lastIndex ) { in f128M_roundToInt()
197 index += wordIncr; in f128M_roundToInt()
[all …]
A Ds_shortShiftLeftM.c53 unsigned int index, lastIndex; in softfloat_shortShiftLeftM() local
57 index = indexWordHi( size_words ); in softfloat_shortShiftLeftM()
59 partWordZ = aPtr[index]<<count; in softfloat_shortShiftLeftM()
60 while ( index != lastIndex ) { in softfloat_shortShiftLeftM()
61 wordA = aPtr[index - wordIncr]; in softfloat_shortShiftLeftM()
62 zPtr[index] = partWordZ | wordA>>(negCount & 31); in softfloat_shortShiftLeftM()
63 index -= wordIncr; in softfloat_shortShiftLeftM()
66 zPtr[index] = partWordZ; in softfloat_shortShiftLeftM()
A Ds_shortShiftRightM.c53 unsigned int index, lastIndex; in softfloat_shortShiftRightM() local
57 index = indexWordLo( size_words ); in softfloat_shortShiftRightM()
59 partWordZ = aPtr[index]>>count; in softfloat_shortShiftRightM()
60 while ( index != lastIndex ) { in softfloat_shortShiftRightM()
61 wordA = aPtr[index + wordIncr]; in softfloat_shortShiftRightM()
62 zPtr[index] = wordA<<(negCount & 31) | partWordZ; in softfloat_shortShiftRightM()
63 index += wordIncr; in softfloat_shortShiftRightM()
66 zPtr[index] = partWordZ; in softfloat_shortShiftRightM()
A Ds_shortShiftRightJamM.c53 unsigned int index, lastIndex; in softfloat_shortShiftRightJamM() local
57 index = indexWordLo( size_words ); in softfloat_shortShiftRightJamM()
59 wordA = aPtr[index]; in softfloat_shortShiftRightJamM()
62 while ( index != lastIndex ) { in softfloat_shortShiftRightJamM()
63 wordA = aPtr[index + wordIncr]; in softfloat_shortShiftRightJamM()
64 zPtr[index] = wordA<<(negCount & 31) | partWordZ; in softfloat_shortShiftRightJamM()
65 index += wordIncr; in softfloat_shortShiftRightJamM()
68 zPtr[index] = partWordZ; in softfloat_shortShiftRightJamM()
A Ds_add256M.c48 unsigned int index; in softfloat_add256M() local
52 index = indexWordLo( 4 ); in softfloat_add256M()
55 wordA = aPtr[index]; in softfloat_add256M()
56 wordZ = wordA + bPtr[index] + carry; in softfloat_add256M()
57 zPtr[index] = wordZ; in softfloat_add256M()
58 if ( index == indexWordHi( 4 ) ) break; in softfloat_add256M()
60 index += wordIncr; in softfloat_add256M()
A Ds_sub256M.c48 unsigned int index; in softfloat_sub256M() local
52 index = indexWordLo( 4 ); in softfloat_sub256M()
55 wordA = aPtr[index]; in softfloat_sub256M()
56 wordB = bPtr[index]; in softfloat_sub256M()
57 zPtr[index] = wordA - wordB - borrow; in softfloat_sub256M()
58 if ( index == indexWordHi( 4 ) ) break; in softfloat_sub256M()
60 index += wordIncr; in softfloat_sub256M()
A Ds_addM.c52 unsigned int index, lastIndex; in softfloat_addM() local
56 index = indexWordLo( size_words ); in softfloat_addM()
60 wordA = aPtr[index]; in softfloat_addM()
61 wordZ = wordA + bPtr[index] + carry; in softfloat_addM()
62 zPtr[index] = wordZ; in softfloat_addM()
63 if ( index == lastIndex ) break; in softfloat_addM()
65 index += wordIncr; in softfloat_addM()
A Ds_subM.c52 unsigned int index, lastIndex; in softfloat_subM() local
56 index = indexWordLo( size_words ); in softfloat_subM()
60 wordA = aPtr[index]; in softfloat_subM()
61 wordB = bPtr[index]; in softfloat_subM()
62 zPtr[index] = wordA - wordB - borrow; in softfloat_subM()
63 if ( index == lastIndex ) break; in softfloat_subM()
65 index += wordIncr; in softfloat_subM()
A Ds_addCarryM.c53 unsigned int index, lastIndex; in softfloat_addCarryM() local
56 index = indexWordLo( size_words ); in softfloat_addCarryM()
59 wordA = aPtr[index]; in softfloat_addCarryM()
60 wordZ = wordA + bPtr[index] + carry; in softfloat_addCarryM()
61 zPtr[index] = wordZ; in softfloat_addCarryM()
63 if ( index == lastIndex ) break; in softfloat_addCarryM()
64 index += wordIncr; in softfloat_addCarryM()
A Ds_addComplCarryM.c53 unsigned int index, lastIndex; in softfloat_addComplCarryM() local
56 index = indexWordLo( size_words ); in softfloat_addComplCarryM()
59 wordA = aPtr[index]; in softfloat_addComplCarryM()
60 wordZ = wordA + ~bPtr[index] + carry; in softfloat_addComplCarryM()
61 zPtr[index] = wordZ; in softfloat_addComplCarryM()
63 if ( index == lastIndex ) break; in softfloat_addComplCarryM()
64 index += wordIncr; in softfloat_addComplCarryM()
A Ds_sub1XM.c46 unsigned int index, lastIndex; in softfloat_sub1XM() local
49 index = indexWordLo( size_words ); in softfloat_sub1XM()
52 wordA = zPtr[index]; in softfloat_sub1XM()
53 zPtr[index] = wordA - 1; in softfloat_sub1XM()
54 if ( wordA || (index == lastIndex) ) break; in softfloat_sub1XM()
55 index += wordIncr; in softfloat_sub1XM()
A Ds_compare128M.c46 unsigned int index, lastIndex; in softfloat_compare128M() local
49 index = indexWordHi( 4 ); in softfloat_compare128M()
52 wordA = aPtr[index]; in softfloat_compare128M()
53 wordB = bPtr[index]; in softfloat_compare128M()
55 if ( index == lastIndex ) break; in softfloat_compare128M()
56 index -= wordIncr; in softfloat_compare128M()
A Ds_compare96M.c46 unsigned int index, lastIndex; in softfloat_compare96M() local
49 index = indexWordHi( 3 ); in softfloat_compare96M()
52 wordA = aPtr[index]; in softfloat_compare96M()
53 wordB = bPtr[index]; in softfloat_compare96M()
55 if ( index == lastIndex ) break; in softfloat_compare96M()
56 index -= wordIncr; in softfloat_compare96M()
A Ds_negXM.c46 unsigned int index, lastIndex; in softfloat_negXM() local
50 index = indexWordLo( size_words ); in softfloat_negXM()
54 word = ~zPtr[index] + carry; in softfloat_negXM()
55 zPtr[index] = word; in softfloat_negXM()
56 if ( index == lastIndex ) break; in softfloat_negXM()
57 index += wordIncr; in softfloat_negXM()
A Ds_shiftRightJam256M.c54 unsigned int index, lastIndex; in softfloat_shortShiftRightJamM() local
58 index = indexWordLo( size_words ); in softfloat_shortShiftRightJamM()
60 wordA = aPtr[index]; in softfloat_shortShiftRightJamM()
63 while ( index != lastIndex ) { in softfloat_shortShiftRightJamM()
64 wordA = aPtr[index + wordIncr]; in softfloat_shortShiftRightJamM()
65 zPtr[index] = wordA<<(negCount & 63) | partWordZ; in softfloat_shortShiftRightJamM()
66 index += wordIncr; in softfloat_shortShiftRightJamM()
69 zPtr[index] = partWordZ; in softfloat_shortShiftRightJamM()
A Ds_approxRecip32_1.c45 int index; in softfloat_approxRecip32_1() local
60 index = a>>27 & 0xF; in softfloat_approxRecip32_1()
62 r0 = k0s[index] - ((k1s[index] * (uint_fast32_t) eps)>>20); in softfloat_approxRecip32_1()
A Ds_approxRecipSqrt32_1.c45 int index; in softfloat_approxRecipSqrt32_1() local
61 index = (a>>27 & 0xE) + oddExpA; in softfloat_approxRecipSqrt32_1()
63 r0 = k0s[index] - ((k1s[index] * (uint_fast32_t) eps)>>20); in softfloat_approxRecipSqrt32_1()
/optee_os/core/arch/arm/plat-rcar/
A Dromapi.c19 static int index __nex_data = -1; in get_api_table_index()
21 if (index != -1) in get_api_table_index()
22 return index; in get_api_table_index()
29 index = 0; in get_api_table_index()
32 index = 1; in get_api_table_index()
35 index = 3; in get_api_table_index()
42 index = 2; in get_api_table_index()
45 index = 3; in get_api_table_index()
50 index = 3; in get_api_table_index()
54 return index; in get_api_table_index()
/optee_os/lib/libutils/ext/include/
A Dconfine_array_index.h70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() argument
81 : "r"(index), "r"(size) in confine_array_index()
87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() argument
89 size_t ret_val = index; in confine_array_index()
128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() argument
140 : "r"(index), "r"(size) in confine_array_index()
/optee_os/out/arm/export-ta_arm32/include/
A Dconfine_array_index.h70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() argument
81 : "r"(index), "r"(size) in confine_array_index()
87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() argument
89 size_t ret_val = index; in confine_array_index()
128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() argument
140 : "r"(index), "r"(size) in confine_array_index()
/optee_os/out/arm/export-ta_arm64/include/
A Dconfine_array_index.h70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() argument
81 : "r"(index), "r"(size) in confine_array_index()
87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() argument
89 size_t ret_val = index; in confine_array_index()
128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() argument
140 : "r"(index), "r"(size) in confine_array_index()
/optee_os/core/drivers/
A Dimx_mu.c43 TEE_Result mu_send_msg(vaddr_t base, unsigned int index, uint32_t msg) in mu_send_msg() argument
46 if (mu_wait_for(base + MU_ASR_OFFSET, MU_SR_TE(index))) in mu_send_msg()
50 io_write32(base + MU_ATR(index), msg); in mu_send_msg()
55 TEE_Result mu_receive_msg(vaddr_t base, unsigned int index, uint32_t *msg) in mu_receive_msg() argument
58 if (mu_wait_for(base + MU_ASR_OFFSET, MU_SR_RF(index))) in mu_receive_msg()
61 *msg = io_read32(base + MU_ARR(index)); in mu_receive_msg()
/optee_os/core/drivers/rstctrl/
A Drstctrl.c45 int index = 0; in rstctrl_dt_get_by_name() local
47 index = fdt_stringlist_search(fdt, nodeoffset, "reset-names", name); in rstctrl_dt_get_by_name()
48 if (index < 0) in rstctrl_dt_get_by_name()
51 return rstctrl_dt_get_by_index(fdt, nodeoffset, index, rstctrl); in rstctrl_dt_get_by_name()
/optee_os/lib/libunw/
A Dunwind_arm32.c369 struct unwind_idx *index; in unwind_stack_arm32() local
384 index = find_index(state->start_pc - 2); in unwind_stack_arm32()
385 if (!index) in unwind_stack_arm32()
389 if (index->insn != EXIDX_CANTUNWIND) { in unwind_stack_arm32()
390 if (index->insn & (1U << 31)) { in unwind_stack_arm32()
392 state->insn = (vaddr_t)&index->insn; in unwind_stack_arm32()
395 state->insn = (vaddr_t)&index->insn + in unwind_stack_arm32()
396 expand_prel31(index->insn); in unwind_stack_arm32()
404 if (index->insn == EXIDX_CANTUNWIND) in unwind_stack_arm32()

Completed in 32 milliseconds

123