diff options
Diffstat (limited to 'gcc/config/i960/i960.md')
-rw-r--r-- | gcc/config/i960/i960.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/i960/i960.md b/gcc/config/i960/i960.md index 80e4efaed62..5755598345f 100644 --- a/gcc/config/i960/i960.md +++ b/gcc/config/i960/i960.md @@ -2365,8 +2365,7 @@ ;; stack pointer, frame pointer, previous frame pointer and the return ;; instruction pointer. (define_insn "ret" - [(use (reg:SI 16)) - (unspec_volatile [(const_int 0)] 3)] + [(set (pc) (unspec_volatile [(reg:SI 16)] 3))] "" "ret" [(set_attr "type" "branch") @@ -2424,7 +2423,7 @@ because we are very careful to ret from the exact save area in use during the original call. */ - emit_insn (gen_ret ()); + emit_jump_insn (gen_ret ()); emit_barrier (); DONE; }") |