Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pico-sdk
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microcontroller
pico-sdk
Commits
c08136b6
Unverified
Commit
c08136b6
authored
3 years ago
by
dp111
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rp2_common/pico_double/double_v1_rom_shim.S
+8
-8
8 additions, 8 deletions
src/rp2_common/pico_double/double_v1_rom_shim.S
with
8 additions
and
8 deletions
src/rp2_common/pico_double/double_v1_rom_shim.S
+
8
−
8
View file @
c08136b6
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment