gcc/
* config/nds32/nds32.md (trap): New pattern.
From-SVN: r268741
+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
;; ----------------------------------------------------------------------------
+;; 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