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
0e4e8dab
Commit
0e4e8dab
authored
Dec 29, 2004
by
Richard Henderson
Committed by
Richard Henderson
Dec 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/sparc/sparc.c (TARGET_RELAXED_ORDERING): True.
From-SVN: r92722
parent
d9fa1233
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
gcc/ChangeLog
+4
-0
gcc/config/sparc/sparc.c
+13
-3
No files found.
gcc/ChangeLog
View file @
0e4e8dab
2003
-
12
-
29
Richard
Henderson
<
rth
@
redhat
.
com
>
*
config
/
sparc
/
sparc
.
c
(
TARGET_RELAXED_ORDERING
):
True
.
2004
-
12
-
29
Jeff
Law
<
law
@
redhat
.
com
>
*
tree
-
outof
-
ssa
.
c
(
insert_backedge_copies
):
New
function
.
...
...
gcc/config/sparc/sparc.c
View file @
0e4e8dab
...
...
@@ -495,9 +495,19 @@ enum processor_type sparc_cpu;
#endif
/* The SPARC v9 architecture defines a relaxed memory ordering model (RMO)
which requires this if enabled, though it is never used in userspace,
and the Ultra3 processors don't implement it. */
#define TARGET_RELAXED_ORDERING TARGET_V9
which requires this if enabled. Prior to v9, there are no instructions
to even talk about memory syncronization. The Ultra3 processor doesn't
implement RMO.
Solaris never enables RMO; only ever uses total memory ordering (TMO.
Linux currently uses RMO in uniprocessor mode, which is equivalent to
TMO, and TMO in multiprocessor mode. But they reserve the right to
change their minds. */
/* ??? Getting the configury correct is harder than it's worth. Just
enable it all the time. */
#undef TARGET_RELAXED_ORDERING
#define TARGET_RELAXED_ORDERING true
struct
gcc_target
targetm
=
TARGET_INITIALIZER
;
...
...
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