[NDS32] Add 'trap' pattern for __builtin_trap ().
gcc/ * config/nds32/nds32.md (trap): New pattern. From-SVN: r268741
This commit is contained in:
parent
6ba50b2cb9
commit
c5ca5ad070
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -2316,6 +2316,14 @@
|
||||
|
||||
;; ----------------------------------------------------------------------------
|
||||
|
||||
;; Patterns for __builtin_trap.
|
||||
(define_insn "trap"
|
||||
[(trap_if (const_int 1) (const_int 0))]
|
||||
""
|
||||
"trap\t0")
|
||||
|
||||
;; ----------------------------------------------------------------------------
|
||||
|
||||
;; Patterns for TLS.
|
||||
;; 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
|
||||
|
Loading…
Reference in New Issue
Block a user