Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c0c5112b
Commit
c0c5112b
authored
Dec 05, 2018
by
Paul Koning
Committed by
Paul Koning
Dec 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* udivmodhi4.c (__udivmodhi4): Fix loop end check.
From-SVN: r266826
parent
f7507b7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libgcc/ChangeLog
+4
-0
libgcc/udivmodhi4.c
+1
-1
No files found.
libgcc/ChangeLog
View file @
c0c5112b
2018
-
12
-
05
Paul
Koning
<
ni1d
@
arrl
.
net
>
*
udivmodhi4
.
c
(
__udivmodhi4
):
Fix
loop
end
check
.
2018
-
11
-
27
Alan
Modra
<
amodra
@
gmail
.
com
>
*
config
/
rs6000
/
morestack
.
S
(
__stack_split_initialize
),
...
...
libgcc/udivmodhi4.c
View file @
c0c5112b
...
...
@@ -27,7 +27,7 @@ __udivmodhi4(unsigned short num, unsigned short den, int modwanted)
unsigned
short
bit
=
1
;
unsigned
short
res
=
0
;
while
(
den
<
num
&&
bit
&&
!
(
den
&
(
1
L
<<
31
)))
while
(
den
<
num
&&
bit
&&
!
(
den
&
(
1
U
<<
15
)))
{
den
<<=
1
;
bit
<<=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment