[ARC] Add trap instruction.
2017-11-07 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.md (trap): New pattern. From-SVN: r255276
This commit is contained in:
parent
a09202439b
commit
f521d500fc
@ -1,3 +1,7 @@
|
||||
2017-11-30 Claudiu Zissulescu <claziss@synopsys.com>
|
||||
|
||||
* config/arc/arc.md (trap): New pattern.
|
||||
|
||||
2017-11-30 Claudiu Zissulescu <claziss@synopsys.com>
|
||||
|
||||
* config/arc/arc.c (hwloop_optimize): Prevent the last ZOL
|
||||
|
@ -4301,6 +4301,13 @@
|
||||
; use it for lack of inter-procedural branch shortening.
|
||||
; Link-time relaxation would help...
|
||||
|
||||
(define_insn "trap"
|
||||
[(trap_if (const_int 1) (const_int 0))]
|
||||
"!TARGET_ARC600_FAMILY"
|
||||
"trap_s\\t5"
|
||||
[(set_attr "type" "misc")
|
||||
(set_attr "length" "2")])
|
||||
|
||||
(define_insn "nop"
|
||||
[(const_int 0)]
|
||||
""
|
||||
|
Loading…
Reference in New Issue
Block a user