Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Use ebreak instead of sbreak for trap pattern (#25) (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng authored and aswaterman committed Nov 8, 2016
1 parent 27b8dcb commit ee4d771
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 ee4d771

Please sign in to comment.