Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 9 of 9) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/pico_float/
Dfloat_v1_rom_shim_rp2040.S91 bne 1f @ next shift will overflow?
117 @ unpack arguments and shift one down to have common exponent
132 subs r4,r2,r3 @ calculate shift
134 negs r4,r4 @ make shift positive
266 subs r2,#52 @ required shift
267 bmi 1f @ shift down?
268 @ here a shift up by r2 places
275 adds r2,#32 @ complementary shift
284 @ here a shift down by -r2 places
286 bmi 1f @ long shift?
[all …]
Dfloat_conv_m33.S259 adds r1,r3 @ offset exponent by fix precision; r1 is now required left shift
260 bmi 4f @ actually a right shift?
328 adds r1,r2 @ offset exponent by fix precision; r1 is now required left shift
329 bmi 4f @ actually a right shift?
355 usat r1,#5,r1 @ if shift is long return 0
Dfloat_sci_m33.S327 rsbs r4,r2,#0 @ -e-6 = shift down of mantissa required to get to Q29 >0
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_fma_dcp.S127 …rsbs r7,r7,#74 @ shift up ≤74 (can be negative) that will be required for a (Q52) to …
129 and r8,r7,#0x1f @ k=shift mod 32
132 umull r5,r6,r5,r12 @ shift up high word: r4:r5:r6 is now a_lo + 2^k a_hi
134 …umlal r4,r5,r4,r12 @ shift up low word, adding in: r4:r5:r6 is now (a_lo + 2^k a_hi) + (2…
136 cmp r7,#64 @ shift up by two more words?
138 cmp r7,#32 @ shift up by one more word?
166 …adcs r3,r3,r5 @ r0:r1:r2:r3: mn + (a<<64); note this cannot overflow as total shift
175 …ere a (Q52) is shifted down relative to mn (Q124); the mod 32 part of the shift of a has already b…
178 @ r7: alignment shift required (negative)
179 cmn r7,#32 @ shift down one word?
[all …]
Ddouble_conv_m33.S270 adds r2,r2,r3,lsr#21 @ offset exponent by fix precision; r1 is now required left shift
271 bmi 4f @ actually a right shift?
345 adds r2,r3 @ offset exponent by fix precision; r2 is now required left shift
346 bmi 2f @ actually a right shift?
Ddouble_v1_rom_shim_rp2040.S181 @ here xe>=ye: need to shift y down r6 places
199 @ Note that if a large normalisation shift is required then the arguments were close in magnitude a…
214 bne da_0 @ shift down required?
273 @ here a shift down by one place is required for normalisation
284 da_xrgty: @ xe>ye and shift>=32 places
304 @ here ye>xe: need to shift x down r7 places
1109 @ r6 32-i (complementary shift)
1110 @ r7 i (shift)
Ddouble_sci_m33.S683 @ here e<-12, have to shift r0:r1 down by -r3 places
1190 rsbs r12,r2,#0 @ shift down of mantissa required to get to Q63 >0
/hal_rpi_pico-latest/src/rp2_common/hardware_interp/include/hardware/
Dinterp.h126 static inline void interp_config_set_shift(interp_config *c, uint shift) { in interp_config_set_shift() argument
127 valid_params_if(HARDWARE_INTERP, shift < 32); in interp_config_set_shift()
129 ((shift << SIO_INTERP0_CTRL_LANE0_SHIFT_LSB) & SIO_INTERP0_CTRL_LANE0_SHIFT_BITS); in interp_config_set_shift()
/hal_rpi_pico-latest/src/rp2_common/pico_divider/
Ddivider_hardware.S523 lsrs r2,#9 @ x0>>9: this shift loses no bits