diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 02:11:06 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 02:11:06 +0000 |
commit | f67c2dde7b676e237578daf7ad170ffb7be38e32 (patch) | |
tree | 80c8154f269c0eeb0bc93c7b691cfaee43d17f1d /gcc/config/picochip/predicates.md | |
parent | c92e0c4d06bc8146081109605180a050b3c50eb9 (diff) | |
download | gcc-f67c2dde7b676e237578daf7ad170ffb7be38e32.tar.gz |
remove picochip
contrib/ChangeLog:
2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
* compare-all-tests: Don't test picochip.
* config-list.mk: Likewise.
gcc/ChangeLog:
2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
* common/config/picochip/picochip-common.c: Remove.
* config.gcc: Remove support for picochip.
* config/picochip/constraints.md: Remove.
* config/picochip/dfa_space.md: Remove.
* config/picochip/dfa_speed.md: Remove.
* config/picochip/picochip-protos.h: Remove.
* config/picochip/picochip.c: Remove.
* config/picochip/picochip.h: Remove.
* config/picochip/picochip.md: Remove.
* config/picochip/picochip.opt: Remove.
* config/picochip/predicates.md: Remove.
* config/picochip/t-picochip: Remove.
* doc/md.texi: Don't document picochi.
libgcc/ChangeLog:
2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
* config.host: Remove picochip support.
* config/picochip/adddi3.S: Remove.
* config/picochip/ashlsi3.S: Remove.
* config/picochip/ashlsi3.c: Remove.
* config/picochip/ashrsi3.S: Remove.
* config/picochip/ashrsi3.c: Remove.
* config/picochip/clzsi2.S: Remove.
* config/picochip/cmpsi2.S: Remove.
* config/picochip/divmod15.S: Remove.
* config/picochip/divmodhi4.S: Remove.
* config/picochip/divmodsi4.S: Remove.
* config/picochip/lib1funcs.S: Remove.
* config/picochip/longjmp.S: Remove.
* config/picochip/lshrsi3.S: Remove.
* config/picochip/lshrsi3.c: Remove.
* config/picochip/parityhi2.S: Remove.
* config/picochip/popcounthi2.S: Remove.
* config/picochip/setjmp.S: Remove.
* config/picochip/subdi3.S: Remove.
* config/picochip/t-picochip: Remove.
* config/picochip/ucmpsi2.S: Remove.
* config/picochip/udivmodhi4.S: Remove.
* config/picochip/udivmodsi4.S: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/picochip/predicates.md')
-rw-r--r-- | gcc/config/picochip/predicates.md | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gcc/config/picochip/predicates.md b/gcc/config/picochip/predicates.md deleted file mode 100644 index 3431a363dee..00000000000 --- a/gcc/config/picochip/predicates.md +++ /dev/null @@ -1,72 +0,0 @@ -;; GCC machine description for picochip -;; Copyright (C) 2008-2014 Free Software Foundation, Inc. -;; Contributed by Picochip Ltd (http://www.picochip.com) -;; Maintained by Daniel Towner (dant@picochip.com) and Hariharan -;; Sandanagobalane (hariharan@picochip.com) -;; -;; This file is part of GCC. -;; -;; GCC is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. -;; -;; GCC is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. -;; -;; You should have received a copy of the GNU General Public License -;; along with GCC; see the file COPYING3. If not, see -;; <http://www.gnu.org/licenses/>. - -(define_predicate "picochip_register_or_immediate_operand" - (ior (match_operand 0 "register_operand") - (match_operand 0 "immediate_operand"))) - -(define_predicate "power_of_2_imm_operand" - (match_code "const_int") -{ - if (GET_CODE (op) == CONST_INT) - { - if (exact_log2 (INTVAL (op)) <= 16 && exact_log2 (INTVAL (op)) > 0) - return 1; - } - - return 0; -}) - -;; Limit the comparison operators to a selected subset. -(define_predicate "picochip_supported_comparison_operator" - (and (match_operand 0 "comparison_operator") - (match_code "ne,eq,ge,geu,lt,ltu"))) -(define_predicate "picochip_peephole_comparison_operator" - (and (match_operand 0 "comparison_operator") - (match_code "ne,eq"))) - -;; Allow selected arithmetic operators to apply a shift to their first -;; operands - -(define_predicate "picochip_first_op_shift_operator" - (match_code "and,plus,minus,ior,xor")) - -;; The same as the previous predicate, but only allowing those -;; operators which can accept an immediate. -(define_predicate "picochip_first_op_shift_operator_imm" - (match_code "plus,minus")) - -;; Predicate on a J type integer. -(define_predicate "picochip_J_operand" - (match_operand 0 "immediate_operand") - { - return (CONST_INT == GET_CODE(op) && - picochip_const_ok_for_letter_p (INTVAL(op), 'J')); - }) - -;; Is the operand suitable for use in a compare? - -(define_predicate "picochip_comparison_operand" - (ior (match_operand 0 "register_operand") - (and (match_operand 0 "immediate_operand") - (match_test "picochip_const_ok_for_letter_p(INTVAL(op), 'O')")))) - |