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
3f67a73d
Commit
3f67a73d
authored
Sep 29, 2013
by
Eric Botcazou
Committed by
Eric Botcazou
Sep 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/sparc/sync.md: Add peephole for consecutive memory barriers.
From-SVN: r203014
parent
9ac2f538
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
gcc/ChangeLog
+4
-0
gcc/config/sparc/sync.md
+12
-0
No files found.
gcc/ChangeLog
View file @
3f67a73d
2013
-
09
-
29
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
config
/
sparc
/
sync
.
md
:
Add
peephole
for
consecutive
memory
barriers
.
2013
-
09
-
28
Jan
Hubicka
<
jh
@
suse
.
cz
>
*
config
/
i386
/
x86
-
tune
.
def
:
Add
documentation
for
each
of
the
options
;
...
...
gcc/config/sparc/sync.md
View file @
3f67a73d
...
...
@@ -93,6 +93,18 @@
"membar
\t
%1"
[
(set_attr "type" "multi")
]
)
(define_peephole2
[
(set (match_operand:BLK 0 "" "")
(unspec:BLK
[
(match_dup 0) (match_operand:SI 1 "const_int_operand")
]
UNSPEC_MEMBAR))
(set (match_operand:BLK 2 "" "")
(unspec:BLK
[
(match_dup 2) (match_operand:SI 3 "const_int_operand")
]
UNSPEC_MEMBAR))]
""
[
(set (match_operand:BLK 0 "" "")
(unspec:BLK
[
(match_dup 0) (match_dup 1)
]
UNSPEC_MEMBAR))]
{ operands
[
1
]
= GEN_INT (UINTVAL (operands
[
1
]
) | UINTVAL (operands
[
3
]
)); })
(define_expand "atomic_load
<mode>
"
[
(match_operand:I 0 "register_operand" "")
(match_operand:I 1 "memory_operand" "")
...
...
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