From d843d7ca34a11802c15bf99912c1989d52a2e3d1 Mon Sep 17 00:00:00 2001 From: Gavin Romig-Koch Date: Mon, 9 Mar 1998 20:22:45 +0000 Subject: * mips/vr4320.igen: Mark the insn in here as vr4320 only. Reorder the insns. --- sim/.Sanitize | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'sim/.Sanitize') diff --git a/sim/.Sanitize b/sim/.Sanitize index 3df70e7..531d802 100644 --- a/sim/.Sanitize +++ b/sim/.Sanitize @@ -151,6 +151,34 @@ else done fi +vr4320_files="ChangeLog" +if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then + for i in $vr4320_files ; do + if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr4320 stuff in $i + fi + fi + done +else + for i in $vr4320_files ; do + if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr4320\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 -- cgit v1.1