Skip to content
Snippets Groups Projects
Unverified Commit c08136b6 authored by dp111's avatar dp111 Committed by GitHub
Browse files

Move ret_dzero to the same section as it get used (#513)

parent 672d18a6
No related branches found
No related tags found
No related merge requests found
......@@ -1218,11 +1218,6 @@ double_section dcordic_rot_step
mov r9,r3
bx r14
ret_dzero:
movs r0,#0
movs r1,#0
bx r14
@ convert packed double in r0:r1 to signed/unsigned 32/64-bit integer/fixed-point value in r0:r1 [with r2 places after point], with rounding towards -Inf
@ fixed-point versions only work with reasonable values in r2 because of the way dunpacks works
......@@ -1289,6 +1284,11 @@ d2fix:
ldr r4, =d2fix_a
bx r4
ret_dzero:
movs r0,#0
movs r1,#0
bx r14
.weak d2fix_a // weak because it exists in float code too
regular_func d2fix_a
@ here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment