comparison gcc/config/mn10300/mn10300.md @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 ;; GCC machine description for Matsushita MN10300 1 ;; GCC machine description for Matsushita MN10300
2 ;; Copyright (C) 1996-2018 Free Software Foundation, Inc. 2 ;; Copyright (C) 1996-2020 Free Software Foundation, Inc.
3 ;; Contributed by Jeff Law (law@cygnus.com). 3 ;; Contributed by Jeff Law (law@cygnus.com).
4 4
5 ;; This file is part of GCC. 5 ;; This file is part of GCC.
6 6
7 ;; GCC is free software; you can redistribute it and/or modify 7 ;; GCC is free software; you can redistribute it and/or modify
751 [(const_int 0)] 751 [(const_int 0)]
752 { 752 {
753 rtx scratch = NULL_RTX; 753 rtx scratch = NULL_RTX;
754 if (!rtx_equal_p (operands[0], operands[2])) 754 if (!rtx_equal_p (operands[0], operands[2]))
755 { 755 {
756 gcc_assert (!reg_overlap_mentioned_p (operands[0], operands[1]));
757 if (reg_overlap_mentioned_p (operands[0], operands[3]) 756 if (reg_overlap_mentioned_p (operands[0], operands[3])
758 || reg_overlap_mentioned_p (operands[0], operands[4])) 757 || reg_overlap_mentioned_p (operands[0], operands[4]))
759 { 758 {
760 scratch = gen_reg_rtx (SImode); 759 scratch = gen_reg_rtx (SImode);
761 emit_move_insn (scratch, operands[2]); 760 emit_move_insn (scratch, operands[2]);