Commit Graph

1788 Commits

Author SHA1 Message Date
gbeauche
0a9a210c30 Disable direct block chaining if DYNGEN_FAST_DISPATCH is not defined. Note
this is a workaround prior to enabling it on mips and the future JIT.
2005-12-12 21:44:50 +00:00
gbeauche
d9fc0aa5ad Look for g++ in /usr/freeware/bin (IRIX/mips for the JIT). Avoid false
positives in GCC detection, i.e. knowingly cause a syntax error if #error
was not good enough (MIPSpro CC). Fix dyngen g++ version detection if
main compiler is not g++
2005-12-12 21:22:40 +00:00
gbeauche
c71bc8cc4c avoid unaligned memory accessed when patching the ROM (IRIX/mips) 2005-12-12 20:46:31 +00:00
gbeauche
5c287d301d remove obsolete cygwin bits and fix allocation of NanoKernel region on
IRIX (aka make it POSIX compliant)
2005-12-11 23:18:47 +00:00
gbeauche
6416914c15 fix overflows for lve[bhw]x input values and vector values on 64-bit hosts 2005-12-11 20:57:45 +00:00
gbeauche
8372abd132 arrangements for non-gcc compilers 2005-12-11 18:15:34 +00:00
gbeauche
d19908c9d9 JIT now works on IRIX/mips, you need GCC for the synthetic opcodes:
CC=cc CXX=CC ./configure --with-dgcc=g++

Also merge MIPSPro optimization flags from Basilisk II tree.

Note that I only verified the emulator works through the testsuite
(all tests passed, including AltiVec emulation)
2005-12-11 18:15:05 +00:00
gbeauche
4866e89c3a factor out and fix mips case for external function invocation as t9 shall
be set so that gp can be recomputed in the called function
2005-12-11 17:25:42 +00:00
gbeauche
92f7738f80 - Add possibility to skip a test category (ALU, FPU, VMX). This will only
generate target code without executing it, and not comparing results
- Fix aligned_vector_t, we can't rely on THIS pointer to be 16-byte aligned
- Also fix dummy_vector alignment
2005-12-11 17:21:07 +00:00
gbeauche
37ee682c0f fix for mipspro compilers 2005-12-11 17:15:12 +00:00
gbeauche
63d4506a4d add "fast" pointers to non-virtual member functions for MIPSpro compilers 2005-12-11 17:12:59 +00:00
gbeauche
dd2b9a95d5 Align PowerPC registers struct manually, i.e. don't depend on non-portable
compiler extensions (e.g. GCC __attribute__((aligned(N)))).
2005-12-06 22:25:13 +00:00
gbeauche
d8aa8a7459 Port JIT to IRIX/mips (initial code from QEMU) 2005-12-05 22:24:13 +00:00
gbeauche
1670c6e84d ahem, forget this extra difference between multiarch & jit dispatcher 2005-12-05 22:10:46 +00:00
gbeauche
ecc90b0916 Better mechanism to dispatch arch-dependent JIT headers as we can't use
raw arch names (e.g. mips expands to 1, thus not finding the header)
2005-12-05 20:37:46 +00:00
gbeauche
d3e8f634b2 Fix build of test-powerpc on non-{x86,ppc} platforms 2005-12-04 17:46:52 +00:00
gbeauche
45cb124844 We really need a way to specify a member alignment for AltiVec emulation
testing. Extra fixlets for IRIX/mips and other CPU emulator in non-JIT mode
2005-12-04 17:45:41 +00:00
gbeauche
8c12552fda GCC fixes for IRIX/mips (unsupported __generic intrinsic and probably not
using the fixincludes-patched internal/math_core.h file)
2005-12-04 17:44:21 +00:00
gbeauche
41ab82edce Better IRIX support: add audio & slirp networking. Fix configure to use -lm
when searching for C99 functions (roundf() et al.).
2005-12-04 16:26:57 +00:00
gbeauche
f75d445700 Some compilers don't permit the use of C99 extensions from C++. This is the
case for MIPSPro (IRIX) for fegetround(), isinf() et al., though they are
available in the math library.
2005-12-04 16:10:01 +00:00
gbeauche
28ed73f212 Fix build in pure interpreter mode (IRIX/mips) 2005-12-04 16:07:52 +00:00
gbeauche
7a24d4c8b6 Use #pragma pack() on IRIX and enforce a means to pack structs 2005-12-04 15:58:52 +00:00
gbeauche
b17b4d7584 dos2unix 2005-12-04 15:53:55 +00:00
gbeauche
bdcf8efe2e Link with math library (-lm) on IRIX so that to get support for long double
arithmetic. Also make sure to only use -IPA with MIPSPro Compilers.
2005-12-04 15:45:09 +00:00
gbeauche
0ca22128d6 Fixes for IRIX/mips build with MIPSPro compilers 2005-12-04 15:23:02 +00:00
gbeauche
dbd5736f1d Fix Serial build on IRIX, remove the STDC_HEADERS manually defined macro
since it now works (egrep was missing previously, IIRC)
2005-12-04 15:03:11 +00:00
gbeauche
dfb7f52abd The JIT works in Darwin/x86 too. 2005-11-30 21:42:22 +00:00
gbeauche
954643b582 Modernize tarball VERNAME 2005-11-30 07:25:37 +00:00
gbeauche
e2391d5753 Always use the complete non-stubs Ethernet driver (XXX probably do that
only in Emulated PPC mode for performance reasons?)
2005-11-30 07:24:53 +00:00
gbeauche
09c61e2354 Makefile fixes. Also checkout Basilisk II tree while preparing the
SheepShaver sources tree as it's better to have the tarball having
the B2 sources inside too.
2005-11-30 00:29:29 +00:00
gbeauche
34b8843a1c Remaining references to V2.2 changed (XXX needs to be factored out) 2005-11-30 00:02:25 +00:00
gbeauche
f8fd76ba35 Copyright and URL changes 2005-11-29 23:59:36 +00:00
gbeauche
4cda58b38a NEWS improvements 2005-11-29 23:55:05 +00:00
gbeauche
bc463966c8 V2.3-Pre (snapshot) 2005-11-29 23:48:18 +00:00
gbeauche
6fb46cd1c3 Move to V2.3 (snapshot) versioning since V2.2 was already CVS-released 4
years ago. Add missing changes.
2005-11-29 23:46:43 +00:00
gbeauche
41fb85a3e7 Protect the SDL events queue when changing the cursor map in SheepShaver,
aka fix "Xlib: unexpected async reply" messages in SDL/x11 builds.
2005-11-29 23:20:31 +00:00
gbeauche
42d6693435 Support "b2ether" devices (from Basilisk II tree) 2005-11-29 23:01:09 +00:00
gbeauche
56f0207ebe Initial support for NDIS interfaces selection (very preliminary but working
for me on Windows XP, and actually faster than NAT/Router ethernet emulation)
2005-11-29 22:59:44 +00:00
gbeauche
4ddc2368d1 add "CD-ROM Drive" label 2005-11-29 20:55:33 +00:00
gbeauche
f16f343b76 add support for "cdrom" drive selection 2005-11-29 20:54:57 +00:00
gbeauche
71d0871858 aha, I forgot a hunk 2005-11-27 23:59:07 +00:00
gbeauche
5a5defb9d8 Build Windows GUI with GTK 2005-11-27 23:54:26 +00:00
gbeauche
434ad38a1f SheepShaver GUI, remove extraneous "slirp" currently inexistent for Windows 2005-11-27 23:51:47 +00:00
gbeauche
37da272071 Ethernet and Serial support (merge from Basilisk II tree) 2005-11-27 22:29:32 +00:00
gbeauche
a2cb2c6280 SheepShaver glue for Ethernet support. Remove duplicate "Set source address"
case from common code.
2005-11-27 22:18:29 +00:00
gbeauche
13e7e02786 Force DIB driver for SDL/Windows (HACK from Basilisk II tree), improves
responsiveness for me.
2005-11-27 20:40:52 +00:00
gbeauche
bc550cd3cd Windows fixes for "new" Ethernet API. The full driver is needed because of
DIRECT_ADDRESSING mode.
2005-11-27 20:36:30 +00:00
gbeauche
cd568e8bd3 fix for new ethernet API 2005-11-27 20:22:19 +00:00
gbeauche
90670c2652 warning fixes, aka don't redefine log2() et al. if already defined (Win32) 2005-11-27 20:20:25 +00:00
gbeauche
c1c4345594 fix regression introduced from JIT/Mach support 2005-11-27 20:14:22 +00:00