* config/tilegx/tilegx.md (trap): New pattern.
* config/tilepro/tilepro.md (trap): Likewise.
From-SVN: r242735
+2016-11-22 Walter Lee <walt@tilera.com>
+
+ * config/tilegx/tilegx.md (trap): New pattern.
+ * config/tilepro/tilepro.md (trap): Likewise.
+
2016-11-22 Walter Lee <walt@tilera.com>
* config/tilegx/tilegx.md (*zero_extract): Use
"nop"
[(set_attr "type" "Y01")])
+(define_insn "trap"
+ [(trap_if (const_int 1) (const_int 0))]
+ ""
+ "raise; moveli zero, 6"
+ [(set_attr "type" "cannot_bundle")])
+
\f
;;
;; Conditional branches
"nop"
[(set_attr "type" "Y01")])
+(define_insn "trap"
+ [(trap_if (const_int 1) (const_int 0))]
+ ""
+ "raise; moveli zero, 6"
+ [(set_attr "type" "cannot_bundle")])
+
\f
;;
;; Conditional branches