diff options
author | Jeff Law <law@redhat.com> | 1995-08-31 04:21:32 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1995-08-31 04:21:32 +0000 |
commit | c1bce9f662c8472a33a83821bbeb7fc86ec252d4 (patch) | |
tree | effab746489c1c1e77fa564733c913467dbc4c7f /sim/sh/.Sanitize | |
parent | c928c81fb72df4dade3b36935a8e05d3ad58440d (diff) | |
download | gdb-c1bce9f662c8472a33a83821bbeb7fc86ec252d4.zip gdb-c1bce9f662c8472a33a83821bbeb7fc86ec252d4.tar.gz gdb-c1bce9f662c8472a33a83821bbeb7fc86ec252d4.tar.bz2 |
* interp.c (FPSCR, FPUL): Define.
(struct save_state): Add fields for floating point registers,
FPSCR and FPUL.
(sim_resume): Add 'F' for accessing floating point registers
in the save state structure.
* gencode.c: Add sh3e opcodes.
(gensym): Define a buffer for int<->fp conversions.
First cut at simulating sh3e instructions. Basic stuff should work;
instructions using fpul and fpscr are completely untested... Sanitized
away for now (sh3e).
Diffstat (limited to 'sim/sh/.Sanitize')
-rw-r--r-- | sim/sh/.Sanitize | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sim/sh/.Sanitize b/sim/sh/.Sanitize index 6a52694..22ad58a 100644 --- a/sim/sh/.Sanitize +++ b/sim/sh/.Sanitize @@ -38,5 +38,26 @@ Things-to-lose: Do-last: +sh3e_files="ChangeLog interp.c gencode.c" +if ( echo $* | grep keep\-sh3e > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh3e stuff in $sh3e_files. + fi +else + if [ -n "${verbose}" ]; then + echo -n Cleaning sh3e in `pwd`: + fi + for f in $sh3e_files ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new + if [ -n "${safe}" ] ; then + mv $f .Recover + fi + mv new $f + done +fi + # End of file. |