diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-05-12 12:10:21 -0400 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2015-05-12 12:10:21 -0400 |
commit | eb2f4e86472b85e3eda5633e0804029e8ce6f4c2 (patch) | |
tree | f1a9b1a9ae7c1d1492f1929b77d53a0b6391a0b9 /gcc/config/nios2 | |
parent | 3c8c9f0daf922b6dd1f802d4dfd8b9387031b190 (diff) | |
download | gcc-eb2f4e86472b85e3eda5633e0804029e8ce6f4c2.tar.gz |
nios2.md (trap, ctrapsi4): Use "trap" instead of "break".
2015-05-12 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/nios2/nios2.md (trap, ctrapsi4): Use "trap" instead of
"break".
gcc/testsuite/
* gcc.target/nios2/nios2-trap-insn.c: Expect "trap" instead of
"break".
* gcc.target/nios2/nios2-stack-check-1.c: Likewise.
From-SVN: r223083
Diffstat (limited to 'gcc/config/nios2')
-rw-r--r-- | gcc/config/nios2/nios2.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/nios2/nios2.md b/gcc/config/nios2/nios2.md index 36ef101443b..70977802009 100644 --- a/gcc/config/nios2/nios2.md +++ b/gcc/config/nios2/nios2.md @@ -1000,7 +1000,7 @@ (define_insn "trap" [(trap_if (const_int 1) (const_int 3))] "" - "break\\t3" + "trap\\t3" [(set_attr "type" "control")]) (define_insn "ctrapsi4" @@ -1009,7 +1009,7 @@ (match_operand:SI 2 "reg_or_0_operand" "rM")]) (match_operand 3 "const_int_operand" "i"))] "" - "b%R0\\t%z1, %z2, 1f\;break\\t%3\;1:" + "b%R0\\t%z1, %z2, 1f\;trap\\t%3\;1:" [(set_attr "type" "control") (set_attr "length" "8")]) |