From: Cooper Qu <cooper...@linux.alibaba.com> This patch has been pushed.
gcc/ChangeLog: * config/csky/csky-modes.def : Amend copyright. * config/csky/csky_insn_fpuv2.md : Likewise. * config/csky/csky_insn_fpuv3.md : Likewise. gcc/testsuite/ChangeLog: * gcc.target/csky/fpuv3/fpuv3.exp : Amend copyright. --- gcc/config/csky/csky-modes.def | 20 +++++++++++++++++++ gcc/config/csky/csky_insn_fpuv2.md | 19 ++++++++++++++++++ gcc/config/csky/csky_insn_fpuv3.md | 19 ++++++++++++++++++ gcc/testsuite/gcc.target/csky/fpuv3/fpuv3.exp | 11 +++++----- 4 files changed, 64 insertions(+), 5 deletions(-) diff --git a/gcc/config/csky/csky-modes.def b/gcc/config/csky/csky-modes.def index a2427ff17c7..9062efcf929 100644 --- a/gcc/config/csky/csky-modes.def +++ b/gcc/config/csky/csky-modes.def @@ -1,2 +1,22 @@ +;; C-SKY extra machine modes. +;; Copyright (C) 2018-2021 Free Software Foundation, Inc. +;; Contributed by C-SKY Microsystems and Mentor Graphics. +;; +;; 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/>. */ + /* Float modes. */ FLOAT_MODE (HF, 2, ieee_half_format); /* Half-precision floating point */ diff --git a/gcc/config/csky/csky_insn_fpuv2.md b/gcc/config/csky/csky_insn_fpuv2.md index 0a680f8bf35..d56b61f4032 100644 --- a/gcc/config/csky/csky_insn_fpuv2.md +++ b/gcc/config/csky/csky_insn_fpuv2.md @@ -1,3 +1,22 @@ +;; C-SKY FPUV2 instruction descriptions. +;; Copyright (C) 2018-2021 Free Software Foundation, Inc. +;; Contributed by C-SKY Microsystems and Mentor Graphics. +;; +;; 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/>. */ ;; ------------------------------------------------------------------------- ;; Float Abs instructions diff --git a/gcc/config/csky/csky_insn_fpuv3.md b/gcc/config/csky/csky_insn_fpuv3.md index 053673c49d2..b5f47980fa6 100644 --- a/gcc/config/csky/csky_insn_fpuv3.md +++ b/gcc/config/csky/csky_insn_fpuv3.md @@ -1,3 +1,22 @@ +;; C-SKY FPUV3 instruction descriptions. +;; Copyright (C) 2018-2021 Free Software Foundation, Inc. +;; Contributed by C-SKY Microsystems and Mentor Graphics. +;; +;; 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_c_enum "unspec" [ UNSPEC_MAXNM_F3 diff --git a/gcc/testsuite/gcc.target/csky/fpuv3/fpuv3.exp b/gcc/testsuite/gcc.target/csky/fpuv3/fpuv3.exp index 1170e12ac28..68c166cd485 100644 --- a/gcc/testsuite/gcc.target/csky/fpuv3/fpuv3.exp +++ b/gcc/testsuite/gcc.target/csky/fpuv3/fpuv3.exp @@ -1,20 +1,21 @@ -# Copyright (C) 1997, 2004, 2006, 2007 Free Software Foundation, Inc. - +# GCC testsuite for C-SKY targets FPUV3 instructions. +# Copyright (C) 2012-2021 Free Software Foundation, Inc. +# Contributed by C-SKY Microsystems and Mentor Graphics. +# # This program 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 of the License, or # (at your option) any later version. -# +# # This program 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/>. -# GCC testsuite that uses the `dg.exp' driver. # Exit immediately if this isn't a csky target. if { ![istarget csky*-*-*]} then { -- 2.26.2