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
3d2adde6
Commit
3d2adde6
authored
Oct 19, 2000
by
Chandrakala Chavva
Committed by
Chandra Chavva
Oct 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the missing #endif.
From-SVN: r36950
parent
1aa9fd24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
18 deletions
+21
-18
gcc/ChangeLog
+4
-0
gcc/libgcc2.c
+17
-18
No files found.
gcc/ChangeLog
View file @
3d2adde6
2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
* libgcc2.c: Added the missing #endif.
Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
* i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
...
...
gcc/libgcc2.c
View file @
3d2adde6
...
...
@@ -50,6 +50,20 @@ Boston, MA 02111-1307, USA. */
#if defined (L_divdi3) || defined (L_moddi3)
static
inline
#endif
DWtype
__negdi2
(
DWtype
u
)
{
DWunion
w
;
DWunion
uu
;
uu
.
ll
=
u
;
w
.
s
.
low
=
-
uu
.
s
.
low
;
w
.
s
.
high
=
-
uu
.
s
.
high
-
((
UWtype
)
w
.
s
.
low
>
0
);
return
w
.
ll
;
}
#endif
#ifdef L_addvsi3
SItype
...
...
@@ -64,6 +78,7 @@ __addvsi3 (SItype a, SItype b)
return
w
;
}
#endif
#ifdef L_addvdi3
DItype
...
...
@@ -126,8 +141,7 @@ __mulvsi3 (SItype a, SItype b)
w
=
a
*
b
;
if
((
a
>=
0
&&
b
>=
0
)
?
w
<
0
:
(
a
>=
0
||
b
>=
0
)
?
w
>
0
:
w
<
0
)
if
(((
u
>=
0
)
==
(
v
>=
0
))
?
w
<
0
:
w
>
0
)
abort
();
return
w
;
...
...
@@ -212,29 +226,14 @@ __mulvdi3 (DItype u, DItype v)
w
=
u
*
v
;
if
((
u
>=
0
&&
v
>=
0
)
?
w
<
0
:
(
u
>=
0
||
v
>=
0
)
?
w
>
0
:
w
<
0
)
if
(((
u
>=
0
)
==
(
v
>=
0
))
?
w
<
0
:
w
>
0
)
abort
();
return
w
;
}
#endif
DWtype
__negdi2
(
DWtype
u
)
{
DWunion
w
;
DWunion
uu
;
uu
.
ll
=
u
;
w
.
s
.
low
=
-
uu
.
s
.
low
;
w
.
s
.
high
=
-
uu
.
s
.
high
-
((
UWtype
)
w
.
s
.
low
>
0
);
return
w
.
ll
;
}
#endif
/* Unless shift functions are defined whith full ANSI prototypes,
parameter b will be promoted to int if word_type is smaller than an int. */
#ifdef L_lshrdi3
...
...
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