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

This commit is contained in:
dp111 2021-08-11 15:24:23 +01:00 committed by GitHub
parent 672d18a6f0
commit c08136b696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1218,11 +1218,6 @@ double_section dcordic_rot_step
mov r9,r3 mov r9,r3
bx r14 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 @ 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 @ 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 ldr r4, =d2fix_a
bx r4 bx r4
ret_dzero:
movs r0,#0
movs r1,#0
bx r14
.weak d2fix_a // weak because it exists in float code too .weak d2fix_a // weak because it exists in float code too
regular_func d2fix_a regular_func d2fix_a
@ here @ here