Add support for v850E and v850EQ instructions.

This commit is contained in:
Nick Clifton 1997-08-14 01:55:51 +00:00
parent 190b78bbe1
commit f61b671ddd
2 changed files with 103 additions and 0 deletions

View File

@ -36,7 +36,15 @@ v850_files="v850-opc.c v850-dis.c"
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
keep_these_too="${v850_files} ${keep_these_too}"
else
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
keep_these_too="${v850_files} ${keep_these_too}"
else
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
keep_these_too="${v850_files} ${keep_these_too}"
else
lose_these_too="${v850_files} ${lose_these_too}"
fi
fi
fi
tic80_files="tic80-opc.c tic80-dis.c"
@ -205,6 +213,60 @@ else
done
fi
v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c"
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850e stuff in $i
fi
fi
done
else
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850e\" from $i...
fi
cp $i new
sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/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
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850eq stuff in $i
fi
fi
done
else
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850eq\" from $i...
fi
cp $i new
sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/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
r5900_files="ChangeLog mips-opc.c"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do

View File

@ -1,3 +1,44 @@
Wed Aug 13 18:52:11 1997 Nick Clifton <nickc@cygnus.com>
start-sanitize-v850e
* .Sanitize (Do-first): Add support for keep-v850e command line
option.
end-sanitize-v850e
start-sanitize-v850eq
* .Sanitize (Do-first): Add support for keep-v850eq command line
option.
end-sanitize-v850eq
start-sanitize-v850e
* v850-dis.c (disassemble): Add support for v850E instructions.
end-sanitize-v850e
start-sanitize-v850eq
* v850-dis.c (disassemble): Add support for v850EQ instructions.
end-sanitize-v850eq
* v850-opc.c: Reorganised and re-layed out to improve readability
and portability.
start-sanitize-v850e
* v850-opc.c (insert_d5_4, extract_d5_4, insert_d16_16,
extract_d16_16, insert_i9, extract_i9, insert_u9, extract_u9,
insert_spe, extract_spe): New Functions.
(v850_opcodes): Add v850E instructions.
start-sanitize-v850e
start-sanitize-v850eq
* v850-opc.c (insert_i5div, extract_i5div): New Functions.
(v850_opcodes): Add v850EQ instructions.
start-sanitize-v850eq
Tue Aug 5 23:09:31 1997 Ian Lance Taylor <ian@cygnus.com>
* configure: Rebuild with autoconf 2.12.1.
Mon Aug 4 12:02:16 1997 Ian Lance Taylor <ian@cygnus.com>
* aclocal.m4, configure: Rebuild with new automake patches.
Fri Aug 1 13:02:04 1997 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Set enable_shared before AM_PROG_LIBTOOL.