comparison gcc/config/m32c/prologue.md @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 77e2b8dfacca
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 ;; Machine Descriptions for R8C/M16C/M32C 1 ;; Machine Descriptions for R8C/M16C/M32C
2 ;; Copyright (C) 2005, 2007, 2008 2 ;; Copyright (C) 2005-2017 Free Software Foundation, Inc.
3 ;; Free Software Foundation, Inc.
4 ;; Contributed by Red Hat. 3 ;; Contributed by Red Hat.
5 ;; 4 ;;
6 ;; This file is part of GCC. 5 ;; This file is part of GCC.
7 ;; 6 ;;
8 ;; GCC is free software; you can redistribute it and/or modify it 7 ;; GCC is free software; you can redistribute it and/or modify it
86 ) 85 )
87 86
88 (define_expand "eh_return" 87 (define_expand "eh_return"
89 [(match_operand:PSI 0 "" "")] 88 [(match_operand:PSI 0 "" "")]
90 "" 89 ""
91 "m32c_emit_eh_epilogue(operands[0]); DONE;" 90 "m32c_emit_eh_epilogue(operands[0]);
91 emit_barrier ();
92 DONE;"
92 ) 93 )
93 94
94 (define_insn "eh_epilogue" 95 (define_insn "eh_epilogue"
95 [(set (pc) 96 [(set (pc)
96 (unspec_volatile [(match_operand 0 "m32c_r1_operand" "") 97 (unspec_volatile [(match_operand 0 "m32c_r1_operand" "")
97 (match_operand 1 "m32c_r0_operand" "") 98 (match_operand 1 "m32c_r0_operand" "")
98 ] UNS_EH_EPILOGUE))] 99 ] UNS_EH_EPILOGUE))
100 (return)]
99 "" 101 ""
100 "jmp.a\t__m32c_eh_return" 102 "jmp.a\t__m32c_eh_return"
101 [(set_attr "flags" "x")] 103 [(set_attr "flags" "x")]
102 ) 104 )
103 105