Mercurial > hg > CbC > CbC_gcc
diff gcc/config/v850/predicates.md @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/config/v850/predicates.md Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/config/v850/predicates.md Thu Oct 25 07:37:49 2018 +0900 @@ -1,5 +1,5 @@ ;; Predicate definitions for NEC V850. -;; Copyright (C) 2005-2017 Free Software Foundation, Inc. +;; Copyright (C) 2005-2018 Free Software Foundation, Inc. ;; ;; This file is part of GCC. ;; @@ -475,7 +475,7 @@ ;; Return true if OP is a float value operand with value as 1. (define_predicate "const_float_1_operand" - (match_code "const_int") + (match_code "const_double") { if (GET_CODE (op) != CONST_DOUBLE || mode != GET_MODE (op) @@ -485,19 +485,6 @@ return op == CONST1_RTX(mode); }) -;; Return true if OP is a float value operand with value as 0. - -(define_predicate "const_float_0_operand" - (match_code "const_int") -{ - if (GET_CODE (op) != CONST_DOUBLE - || mode != GET_MODE (op) - || (mode != DFmode && mode != SFmode)) - return 0; - - return op == CONST0_RTX(mode); -}) - (define_predicate "label_ref_operand" (match_code "label_ref") )