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
c5ca5ad0
Commit
c5ca5ad0
authored
Feb 10, 2019
by
Monk Chiang
Committed by
Chung-Ju Wu
Feb 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NDS32] Add 'trap' pattern for __builtin_trap ().
gcc/ * config/nds32/nds32.md (trap): New pattern. From-SVN: r268741
parent
6ba50b2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
gcc/ChangeLog
+4
-0
gcc/config/nds32/nds32.md
+8
-0
No files found.
gcc/ChangeLog
View file @
c5ca5ad0
2019-02-10 Monk Chiang <sh.chiang04@gmail.com>
2019-02-10 Monk Chiang <sh.chiang04@gmail.com>
* config/nds32/nds32.md (trap): New pattern.
2019-02-10 Monk Chiang <sh.chiang04@gmail.com>
* config/nds32/nds32.c (nds32_dwarf_register_span): Refine register
* config/nds32/nds32.c (nds32_dwarf_register_span): Refine register
dwarf span.
dwarf span.
...
...
gcc/config/nds32/nds32.md
View file @
c5ca5ad0
...
@@ -2316,6 +2316,14 @@
...
@@ -2316,6 +2316,14 @@
;; ----------------------------------------------------------------------------
;; ----------------------------------------------------------------------------
;; Patterns for __builtin_trap.
(define_insn "trap"
[
(trap_if (const_int 1) (const_int 0))
]
""
"trap
\t
0")
;; ----------------------------------------------------------------------------
;; Patterns for TLS.
;; Patterns for TLS.
;; The following two tls patterns don't be expanded directly because the
;; The following two tls patterns don't be expanded directly because the
;; intermediate value may be spilled into the stack. As a result, it is
;; intermediate value may be spilled into the stack. As a result, it is
...
...
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