Search
lxdream.org :: lxdream/src/test/testsh4x86.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testsh4x86.c
changeset 374:8f80a795513e
prev369:4b4223e7d720
next385:766eca01ef4d
author nkeynes
date Tue Sep 11 02:14:46 2007 +0000 (15 years ago)
permissions -rw-r--r--
last change Cache the pointer to the last FR bank (speeds fp ops up by about 10%)
Implement experimental fix for FLOAT/FTRC
Make read/write sr functions non-static (share with translator)
Much more translator WIP
file annotate diff log raw
1.1 --- a/src/test/testsh4x86.c Sat Sep 08 03:12:21 2007 +0000
1.2 +++ b/src/test/testsh4x86.c Tue Sep 11 02:14:46 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: testsh4x86.c,v 1.3 2007-09-08 03:11:53 nkeynes Exp $
1.6 + * $Id: testsh4x86.c,v 1.4 2007-09-11 02:14:46 nkeynes Exp $
1.7 *
1.8 * Test cases for the SH4 => x86 translator core. Takes as
1.9 * input a binary SH4 object (and VMA), generates the
1.10 @@ -74,6 +74,8 @@
1.11 void sh4_write_word( uint32_t addr, uint32_t val ) {}
1.12 void sh4_write_long( uint32_t addr, uint32_t val ) {}
1.13 void sh4_flush_store_queue( uint32_t addr ) {}
1.14 +void sh4_write_sr( uint32_t val ) { }
1.15 +uint32_t sh4_read_sr( void ) { }
1.16 gboolean sh4_raise_exception( int exc ) {}
1.17
1.18 void usage()
.