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
5e3b173a
Commit
5e3b173a
authored
Dec 14, 2012
by
Yvan Roux
Committed by
Richard Henderson
Dec 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* optabs.c (expand_atomic_store): Elide redundant model test.
From-SVN: r194504
parent
ebd3e642
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ChangeLog
+4
-0
gcc/optabs.c
+1
-2
No files found.
gcc/ChangeLog
View file @
5e3b173a
2012
-
12
-
14
Yvan
Roux
<
yvan
.
roux
@linaro
.
org
>
*
optabs
.
c
(
expand_atomic_store
)
:
Elide
redundant
model
test
.
2012
-
12
-
14
Teresa
Johnson
<
tejohnson
@google
.
com
>
2012
-
12
-
14
Teresa
Johnson
<
tejohnson
@google
.
com
>
PR
gcov
-
profile
/
55674
PR
gcov
-
profile
/
55674
gcc/optabs.c
View file @
5e3b173a
...
@@ -7537,8 +7537,7 @@ expand_atomic_store (rtx mem, rtx val, enum memmodel model, bool use_release)
...
@@ -7537,8 +7537,7 @@ expand_atomic_store (rtx mem, rtx val, enum memmodel model, bool use_release)
}
}
/* Otherwise assume stores are atomic, and emit the proper barriers. */
/* Otherwise assume stores are atomic, and emit the proper barriers. */
if
(
model
==
MEMMODEL_SEQ_CST
||
model
==
MEMMODEL_RELEASE
)
expand_mem_thread_fence
(
model
);
expand_mem_thread_fence
(
model
);
emit_move_insn
(
mem
,
val
);
emit_move_insn
(
mem
,
val
);
...
...
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