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
0002b1a8
Commit
0002b1a8
authored
Mar 27, 1993
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa.md (cacheflush): New pattern.
From-SVN: r3893
parent
f18c8576
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
gcc/config/pa/pa.md
+11
-0
No files found.
gcc/config/pa/pa.md
View file @
0002b1a8
...
...
@@ -2897,3 +2897,14 @@
else
return
\"
fmpysub,sgl %1,%2,%0,%5,%3
\"
;
}")
;; Flush the I and D cache line found at the address in operand 0.
;; This is used by the trampoline code for nested functions.
;; So long as the trampoline itself is less than 32 bytes this
;; is sufficient.
(define_insn "cacheflush"
[
(unspec_volatile [(const_int 1)
]
0)
(use (match_operand:SI 0 "" ""))]
""
"fdc %0
\;
sync
\;
fic %0
\;
sync
\;
nop
\;
nop
\;
nop
\;
nop
\;
nop
\;
nop
\;
nop"
[
(set_attr "length" "11")
]
)
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