diff options
author | Jillian Ye <jillian@cygnus> | 1998-04-09 17:06:19 +0000 |
---|---|---|
committer | Jillian Ye <jillian@cygnus> | 1998-04-09 17:06:19 +0000 |
commit | ef23b3efd12e8a80d800de3c10e46bd4141c815e (patch) | |
tree | bbd5578b7f0f38978c82a55a19582ddf0c0348f4 /sim | |
parent | 05c29245c9701a3c27dedc7b7f81a8966a5e7f6a (diff) | |
download | gdb-ef23b3efd12e8a80d800de3c10e46bd4141c815e.zip gdb-ef23b3efd12e8a80d800de3c10e46bd4141c815e.tar.gz gdb-ef23b3efd12e8a80d800de3c10e46bd4141c815e.tar.bz2 |
c_gen.pl : Added handling for data from GIF path1/2/3 FIFO.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/testsuite/sky/ChangeLog | 4 | ||||
-rwxr-xr-x | sim/testsuite/sky/c_gen.pl | 23 |
2 files changed, 21 insertions, 6 deletions
diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog index a5e2853..9f88f7e 100644 --- a/sim/testsuite/sky/ChangeLog +++ b/sim/testsuite/sky/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 9 13:03:54 1998 Jillian Ye <jillian@cygnus.com> + + * c_gen.pl: Added handling for data from GIF PATH1/2/3 FIFO. + Wed Apr 8 18:07:41 1998 Frank Ch. Eigler <fche@cygnus.com> * t-cop2.s (mpg): Put END/NOP VU instructions to give something to diff --git a/sim/testsuite/sky/c_gen.pl b/sim/testsuite/sky/c_gen.pl index 24288ba..faf152d 100755 --- a/sim/testsuite/sky/c_gen.pl +++ b/sim/testsuite/sky/c_gen.pl @@ -17,7 +17,7 @@ # ! (reg wrt 32) 0xH (addr) 0xH (data) # ~ (reg wrt 64) 0xH (addr) 0xHigh_Low (data) # % (reg read 64) 0xH (addr) 0xHigh_Low (data) -# r (read only) 0xH (addr) 4/8 +# @ (read only) 0xH (addr) 4/8 # # comment line # Note: n can be 0 (for VU1), 1 (for VU2), or 2 (for GIF). # H, High, or Low is hex data in the format of FFFFFFFF @@ -70,13 +70,13 @@ while( $inputline = <INFILE> ) { chop($inputline); # get rid of the new line char; $current_line_number ++; - + print OUTFILE ("/* #line \"$infile_name\" $current_line_number */\n"); if ($inputline =~ /^\#/ ) # A line starts with "#" is a comment { &process_comment; } - elsif ( $inputline =~ /^[012]/ ) # This is a data line + elsif ( $inputline =~ /^[01234]/ ) # This is a data line { &process_data; } @@ -96,8 +96,9 @@ while( $inputline = <INFILE> ) { &perform_test64; } - elsif ( $inputline =~ /^\r/ ) # A line starts with "r" is a read only test request + elsif ( $inputline =~ /^\@/ ) # A line starts with "@" is a read only test request { + print ("glorp\n"); &perform_test_read_only; } else # ignore this input @@ -317,10 +318,20 @@ print OUTFILE (" #define DATA_ADDR_CONST_1 0x10005000 #define FLAG_ADDR_CONST_1 0x10009060 -/* GIF */ +/* GIF PATH1 */ #define SRC_ADDR_CONST_2 0x1000a010 -#define DATA_ADDR_CONST_2 0x10006000 +#define DATA_ADDR_CONST_2 0x10006020 #define FLAG_ADDR_CONST_2 0x1000a060 + +/* GIF PATH2 */ +#define SRC_ADDR_CONST_3 0x1000a010 +#define DATA_ADDR_CONST_3 0x10006010 +#define FLAG_ADDR_CONST_3 0x1000a060 + +/* GIF PATH3 */ +#define SRC_ADDR_CONST_4 0x1000a010 +#define DATA_ADDR_CONST_4 0x10006000 +#define FLAG_ADDR_CONST_4 0x1000a060 "); print OUTFILE ("\n\n"); |