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
4de0633f
Commit
4de0633f
authored
Dec 06, 1999
by
Jakub Jelinek
Committed by
David S. Miller
Dec 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* longlong.h: Fix clobbers in SPARC asm statements.
From-SVN: r30802
parent
3a2ea093
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/ChangeLog
+2
-0
gcc/longlong.h
+3
-3
No files found.
gcc/ChangeLog
View file @
4de0633f
...
...
@@ -3,6 +3,8 @@
*
config
/
sparc
/
sparc
.
md
(
return_losum_di
)
:
Fix
typo
in
asm
output
string
.
*
longlong
.
h
:
Fix
clobbers
in
SPARC
asm
statements
.
Mon
Dec
6
12
:
24
:
52
1999
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
fold
-
const
.
c
(
optimize_bit_field_compare
)
:
Only
use
one
mode
...
...
gcc/longlong.h
View file @
4de0633f
...
...
@@ -975,7 +975,7 @@ UDItype __umulsidi3 (USItype, USItype);
: "
r
" ((USItype) (n1)), \
"
r
" ((USItype) (n0)), \
"
rI
" ((USItype) (d)) \
: "
%
g1
" __AND_CLOBBER_CC)
: "
g1
" __AND_CLOBBER_CC)
#define UDIV_TIME 37
#define count_leading_zeros(count, x) \
do { \
...
...
@@ -1031,7 +1031,7 @@ UDItype __umulsidi3 (USItype, USItype);
"
=
r
" ((USItype) (w0)) \
: "
%
rI
" ((USItype) (u)), \
"
r
" ((USItype) (v)) \
: "
%
g1
", "
%
g2
" __AND_CLOBBER_CC)
: "
g1
", "
g2
" __AND_CLOBBER_CC)
#define UMUL_TIME 39 /* 39 instructions */
/* It's quite necessary to add this much assembler for the sparc.
The default udiv_qrnnd (in C) is more than 10 times slower! */
...
...
@@ -1064,7 +1064,7 @@ UDItype __umulsidi3 (USItype, USItype);
"
=&
r
" ((USItype) (r)) \
: "
r
" ((USItype) (d)), \
"
1
" ((USItype) (n1)), \
"
0
" ((USItype) (n0)) : "
%
g1
" __AND_CLOBBER_CC)
"
0
" ((USItype) (n0)) : "
g1
" __AND_CLOBBER_CC)
#define UDIV_TIME (3+7*32) /* 7 instructions/iteration. 32 iterations. */
#endif /* __sparclite__ */
#endif /* __sparc_v8__ */
...
...
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