Skip to content

Commit

Permalink
Use ebreak instead of sbreak for trap pattern (riscvarchive#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng committed Nov 7, 2016
1 parent 9dbe432 commit 2b643c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/config/riscv/riscv.md
Original file line number Diff line number Diff line change
Expand Up @@ -2352,7 +2352,7 @@
(define_insn "trap"
[(trap_if (const_int 1) (const_int 0))]
""
"sbreak")
"ebreak")

(define_insn "gpr_save"
[(unspec_volatile [(match_operand 0 "const_int_operand")] UNSPEC_GPR_SAVE)
Expand Down

0 comments on commit 2b643c4

Please sign in to comment.