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
c764f757
Commit
c764f757
authored
Mar 18, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(common_mode_defined): New variable.
(output_prolog): Define external common-mode calls. From-SVN: r6817
parent
8ffd9c51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
gcc/config/rs6000/rs6000.c
+14
-0
No files found.
gcc/config/rs6000/rs6000.c
View file @
c764f757
...
...
@@ -55,6 +55,8 @@ int rs6000_trunc_used;
static
int
trunc_defined
;
/* Set to non-zero once AIX common-mode calls have been defined. */
static
int
common_mode_defined
;
/* Save information from a "cmpxx" operation until the branch or scc is
emitted. */
...
...
@@ -1422,6 +1424,18 @@ output_prolog (file, size)
RS6000_ITRUNC
,
RS6000_UITRUNC
);
trunc_defined
=
1
;
}
/* Write .extern for AIX common mode routines, if needed. */
if
(
!
TARGET_POWER
&&
!
TARGET_POWERPC
&&
!
common_mode_defined
)
{
fputs
(
"
\t
.extern __mulh
\n
"
"
\t
.extern __mull
\n
"
"
\t
.extern __divss
\n
"
"
\t
.extern __divus
\n
"
"
\t
.extern __quoss
\n
"
"
\t
.extern __quous
\n
"
,
file
);
common_mode_defined
=
1
;
}
/* If we have to call a function to save fpr's, or if we are doing profiling,
then we will be using LR. */
...
...
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