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
8a61d227
Commit
8a61d227
authored
Mar 24, 1995
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let user choice of -mmultiple always override processor default.
From-SVN: r9228
parent
70e1449a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
gcc/config/rs6000/rs6000.c
+7
-0
gcc/config/rs6000/rs6000.h
+4
-1
No files found.
gcc/config/rs6000/rs6000.c
View file @
8a61d227
...
...
@@ -154,6 +154,8 @@ rs6000_override_options ()
int
ptt_size
=
sizeof
(
processor_target_table
)
/
sizeof
(
struct
ptt
);
int
multiple
=
TARGET_MULTIPLE
;
/* save current -mmultiple/-mno-multiple status */
profile_block_flag
=
0
;
/* Identify the processor type */
...
...
@@ -177,6 +179,11 @@ rs6000_override_options ()
rs6000_cpu
=
PROCESSOR_DEFAULT
;
}
}
/* If -mmultiple or -mno-multiple was explicitly used, don't
override with the processor default */
if
(
TARGET_MULTIPLE_SET
)
target_flags
=
(
target_flags
&
~
MASK_MULTIPLE
)
|
multiple
;
}
/* Return non-zero if this function is known to have a null epilogue. */
...
...
gcc/config/rs6000/rs6000.h
View file @
8a61d227
...
...
@@ -155,6 +155,7 @@ extern int target_flags;
/* Enable load/store multiple, even on powerpc */
#define MASK_MULTIPLE 0x1000
#define MASK_MULTIPLE_SET 0x2000
#define TARGET_POWER (target_flags & MASK_POWER)
#define TARGET_POWER2 (target_flags & MASK_POWER2)
...
...
@@ -169,6 +170,7 @@ extern int target_flags;
#define TARGET_64BIT (target_flags & MASK_64BIT)
#define TARGET_SOFT_FLOAT (target_flags & MASK_SOFT_FLOAT)
#define TARGET_MULTIPLE (target_flags & MASK_MULTIPLE)
#define TARGET_MULTIPLE_SET (target_flags & MASK_MULTIPLE_SET)
#define TARGET_HARD_FLOAT (! TARGET_SOFT_FLOAT)
...
...
@@ -210,8 +212,9 @@ extern int target_flags;
{"no-minimal-toc", - MASK_MINIMAL_TOC}, \
{"hard-float", - MASK_SOFT_FLOAT}, \
{"soft-float", MASK_SOFT_FLOAT}, \
{"multiple", MASK_MULTIPLE
},
\
{"multiple", MASK_MULTIPLE
| MASK_MULTIPLE_SET},
\
{"no-multiple", - MASK_MULTIPLE}, \
{"no-multiple", MASK_MULTIPLE_SET}, \
SUBTARGET_SWITCHES \
{"", TARGET_DEFAULT}}
...
...
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