2 # Generate c6x-sched.md from c6x-sched.md.in
3 # The input file is passed as an argument.
5 # Copyright (C) 2010-2018 Free Software Foundation, Inc.
7 #This file is part of GCC.
9 #GCC is free software; you can redistribute it and/or modify
10 #it under the terms of the GNU General Public License as published by
11 #the Free Software Foundation; either version 3, or (at your option)
14 #GCC is distributed in the hope that it will be useful,
15 #but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 #GNU General Public License for more details.
19 #You should have received a copy of the GNU General Public License
20 #along with GCC; see the file COPYING3. If not see
21 #<http://www.gnu.org/licenses/>.
23 echo ";; -*- buffer-read-only: t -*-"
24 echo ";; Generated automatically from c6x-sched.md.in by gensched.sh"
30 1) rf
="a"; otherside
=2 ;;
31 2) rf
="b"; otherside
=1 ;;
34 y
) cunit
="+x$side"; tside
=$otherside;;
38 echo ";; Definitions for side $side, cross $cross"
40 sed -e "s,_CROSS_,$cross,g" -e "s,_CUNIT_,$cunit,g" \
41 -e "s,_N_,$side,g" -e "s,_RF_,$rf,g" -e "s,_NX_,$tside,g" \