TILEPro/TILE-Gx: add trap patterns
* config/tilegx/tilegx.md (trap): New pattern. * config/tilepro/tilepro.md (trap): Likewise. From-SVN: r242735
This commit is contained in:
parent
0f525c3e59
commit
90b9beed5c
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -2773,6 +2773,12 @@
|
||||
"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")])
|
||||
|
||||
|
||||
;;
|
||||
;; Conditional branches
|
||||
|
@ -1578,6 +1578,12 @@
|
||||
"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")])
|
||||
|
||||
|
||||
;;
|
||||
;; Conditional branches
|
||||
|
Loading…
x
Reference in New Issue
Block a user