SH4 assembler extensions.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 29 Aug 1997 19:03:06 +0000 (19:03 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 29 Aug 1997 19:03:06 +0000 (19:03 +0000)
gas/.Sanitize
gas/ChangeLog
gas/config/.Sanitize
opcodes/.Sanitize
opcodes/ChangeLog

index 0070aacc04ae95cb7b47c64396597849ebca6cbe..9854571d73d3fe68c8a2419186b1f3bb0f6174eb 100644 (file)
@@ -332,6 +332,38 @@ else
        done
 fi
 
+if [ -n "${verbose}" ] ; then
+       echo Processing \"sh4\"...
+fi
+
+sh4_files="ChangeLog"
+if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sh4 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"sh4\" from $i...
+                       fi
+                       cp $i new
+                       sed -e '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' -e 's/.*restore\-sanitize\-sh4//' < $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
index 2e737849ef5f6d1eda8d6541877f13f2bf92a31f..f7ad61c924a7485c33f4d33d8fe651fbd494360c 100644 (file)
@@ -98,6 +98,14 @@ Thu Aug 21 00:59:53 1997  Doug Evans  <dje@canuck.cygnus.com>
        * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
        insn when changing to a different instruction.
 
+start-sanitize-sh4
+Wed Aug 20 00:45:20 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4
+       floating point extensions.
+       (parse_reg): parse sgr and dbr.
+
+end-sanitize-sh4
 Tue Aug 19 17:07:34 1997  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-v850.c (system_register_name): Support numbers for
index b1716c5c248401c5a5acef193b4d04ed6b0dcfdb..9b80bd04f08892c26fb786ba2ebfb5530a289475 100644 (file)
@@ -246,6 +246,38 @@ else
        done
 fi
 
+if [ -n "${verbose}" ] ; then
+       echo Processing \"sh4\"...
+fi
+
+sh4_files="tc-sh.c"
+if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sh4 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"sh4\" from $i...
+                       fi
+                       cp $i new
+                       sed -e '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' -e 's/.*restore\-sanitize\-sh4//' < $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
+
 v850e_files="tc-v850.c tc-v850.h"
 if ( echo $* | grep keep\-v850e > /dev/null ) ; then
  if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
index 47f1590f7db8fa51e4059e1ec9abdf0992925574..071f9195fe700c5477abb98c69f2a51366e351fc 100644 (file)
@@ -321,6 +321,38 @@ else
        done
 fi
 
+if [ -n "${verbose}" ] ; then
+       echo Processing \"sh4\"...
+fi
+
+sh4_files="ChangeLog sh-opc.h sh-dis.c"
+if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sh4 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $sh4_files ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"sh4\" from $i...
+                       fi
+                       cp $i new
+                       sed -e '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' -e 's/.*restore\-sanitize\-sh4//' < $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
index 6db0428692a8ff29be23b359b1714a7d9bd42e41..8da62f96103f38a5e9579925970cf049d39df557 100644 (file)
@@ -22,6 +22,16 @@ Thu Aug 21 11:09:09 1997  Nick Clifton  <nickc@cygnus.com>
        * v850-opc.c (v850_opcodes[]): Move divh opcodes next to each other.
 end-sanitize-v850e
 
+start-sanitize-sh4
+Wed Aug 20 00:43:11 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * sh-opc.h (sh_arg_type): Add A_SGR and A_DBR.
+       (sh_nibble_type, sh_arg_type): Add SH4 floating point extensions.
+       (sh_table): Likewise.  Add movca.l, ocbi, ocbp, ocbwb.
+       Add insns to access SGR and DBR.
+       * sh-dis.c (print_insn_shx): Add SH4 floating point extensions.
+
+end-sanitize-sh4
 Tue Aug 19 10:59:59 1997  Richard Henderson  <rth@cygnus.com>
 
        * alpha-opc.c (alpha_opcodes): Fix hw_rei_stall mungage.
This page took 0.036893 seconds and 4 git commands to generate.