dolphin/Source/Core/Common/Src
pierre c33f46406e Core/DSPCore: Improve Interpreter address register add/sub, convert to
assembler for JIT. Replace JIT ToMask() with a different variant. Remove
 superfluous zeroWriteBackLog calls(added by me).
Core/Common: Don't bother creating a string and calling into a Logs trigger()
 when there is noone listening. Change AtomicLoadAcquire for gcc to just
 make the compiler not reorder memory accesses around it instead of doing
 a full memory barrier, per the comment in the win32 variant.
Core/AudioCommon: Fix a use of uninitialized variable inside libalsa.

Microbenchmarking results for ToMask variants:(1 000 000 000 iterations):
             cpu\variant| shifts | bit scan
intel mobile C2D@2.5GHz | 5.5s   | 4.0s
amd athlon64x2@3GHz     | 6.1s   | 6.4s
(including some constant overhead identical to both variants)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6667 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-27 15:05:18 +00:00
..
Crypto Move AES to common lib 2010-12-22 06:00:36 +00:00
ABI.cpp ABI fix for Linux x64. ABI_CallFunctionCC16 was not calculating the jump distance on far calls. 2010-12-17 05:16:51 +00:00
ABI.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Atomic.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
Atomic_GCC.h Core/DSPCore: Improve Interpreter address register add/sub, convert to 2010-12-27 15:05:18 +00:00
Atomic_Win32.h fixed xfb bumping introduced by my last commit. 2010-04-14 13:57:16 +00:00
BreakPoints.cpp Make the memcheck log INFO level. 2010-09-27 04:30:23 +00:00
BreakPoints.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
CDUtils.cpp Port to *BSD. It runs but isn't terribly useful without Cg. 2010-07-22 03:29:35 +00:00
CDUtils.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
CPUDetect.cpp Related to CPUID detecting: 2010-12-19 15:06:30 +00:00
CPUDetect.h **Changes** 2010-12-18 18:23:22 +00:00
ChunkFile.h First pass at dealing with different size_t/off_t sizes in C90 environments. 2010-12-05 15:59:11 +00:00
ColorUtil.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
ColorUtil.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Common.h Changed macro for disallowing copy-ctor and =operator into an inheritable class. Removed IrPointer.ini (no longer used) 2010-11-15 05:29:10 +00:00
CommonFuncs.h Second attempt at issue 3458. Fixes issue 3458. 2010-12-04 03:50:55 +00:00
CommonPaths.h Use the same code for populating user data directories one by one 2010-12-27 00:26:52 +00:00
CommonTypes.h OS X buildfix 2010-05-02 21:12:51 +00:00
ConsoleListener.cpp Revert back to LogTypes. Fixes issue 3668. 2010-12-14 17:52:01 +00:00
ConsoleListener.h Revert back to LogTypes. Fixes issue 3668. 2010-12-14 17:52:01 +00:00
DebugInterface.h Move MemCheck functionality into the virtual DebugInterface class from the more general MemView class. 2010-02-18 12:06:13 +00:00
DynamicLibrary.cpp allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) 2010-12-05 09:04:34 +00:00
DynamicLibrary.h space changes, merge #defines, language fix, and code reorder/cleanup :P 2010-06-05 01:38:22 +00:00
ExtendedTrace.cpp dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
ExtendedTrace.h dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
FifoQueue.h New Wiimote Plugin: Added a "Hybrid Wiimote" input source type. This allows a real wiimote to be used with an emulated extension.(and in the future, real wiimote with emulated motion plus) If the emulated extension is set to "None", a real extension can be used. Real/Emulated buttons are combined. Real acceleration data is used. Currently, emulated IR data is used.(might change this to allow both) Switching between an emulated and a real extension in-game is a bit testy right now, but if you switch the emu-extension to "None" before connecting a real extension, it usually works. 2010-08-10 04:12:32 +00:00
FileSearch.cpp Prevent double inclusion of CommonPaths.h as pointed out by Glenn. 2010-07-20 03:23:25 +00:00
FileSearch.h Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileUtil.cpp Fixes some file handling in IPC_HLE 2010-12-21 18:03:44 +00:00
FileUtil.h Fix TextureDecoder.cl to work on both NVidia and ATI video cards. 2010-12-19 14:59:57 +00:00
FixedSizeQueue.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Hash.cpp sometimes to advance you have to make a step back. 2010-08-28 15:09:42 +00:00
Hash.h sometimes to advance you have to make a step back. 2010-08-28 15:09:42 +00:00
IniFile.cpp StringUtil cleanup. Nothing seems broken. 2010-11-10 04:12:31 +00:00
IniFile.h Added a button to the "Gecko Codes" panel to download/parse codes from geckocodes.org. Codes that require modifiers (the XXXX business) will still not work properly, though they should load/save fine. A few more code types should work now. (All non-ASM type codes should at least attempt to run :p) Hacked a param into IniFile::GetLines to disable removal of text after # chars, so codes with # in the name/notes should load fine. 2010-07-23 05:22:12 +00:00
LinearDiskCache.h update shader cache version to force regeneration 2010-12-19 22:28:22 +00:00
Log.h Revert back to LogTypes. Fixes issue 3668. 2010-12-14 17:52:01 +00:00
LogManager.cpp Core/DSPCore: Improve Interpreter address register add/sub, convert to 2010-12-27 15:05:18 +00:00
LogManager.h Core/DSPCore: Improve Interpreter address register add/sub, convert to 2010-12-27 15:05:18 +00:00
MathUtil.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MathUtil.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MemArena.cpp Oops, removed one <sys/stat.h> too many. 2010-07-29 17:52:43 +00:00
MemArena.h Rewrite memory management, _hopefully_ banishing "failed to map 1 gb contiguous memory" 32-bit Dolphin errors to history. 2009-11-07 18:53:10 +00:00
MemoryUtil.cpp StringUtil cleanup. Nothing seems broken. 2010-11-10 04:12:31 +00:00
MemoryUtil.h Slightly cleanup of mmap(2) flags: 2010-07-18 05:15:16 +00:00
Misc.cpp Port to *BSD. It runs but isn't terribly useful without Cg. 2010-07-22 03:29:35 +00:00
MsgHandler.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MsgHandler.h allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) 2010-12-05 09:04:34 +00:00
NandPaths.cpp Update Wii save import / export to use the same replace list as FileIO 2010-12-22 00:48:59 +00:00
NandPaths.h Update Wii save import / export to use the same replace list as FileIO 2010-12-22 00:48:59 +00:00
OpenCL.cpp Cached the compiled OpenCL kernels to disk (User/OpenCL/kernel.bin). This reduces the start up delay in OpenCL mode. Added a 10 byte header to the file which contains the current svn rev string. This will recompile the OpenCL kernels with every new revision. 2010-12-19 11:03:09 +00:00
OpenCL.h CLRun is now used everywhere but OS X. 2010-12-05 16:57:32 +00:00
Plugin.cpp Removed the hackery that was being done with the plugin configuration dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little. 2010-07-30 03:51:49 +00:00
Plugin.h Removed the hackery that was being done with the plugin configuration dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little. 2010-07-30 03:51:49 +00:00
PluginDSP.cpp LUAInterface should have all its functionality now (excluding input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound. 2009-11-07 20:01:39 +00:00
PluginDSP.h Sound System Rework: Phase 2 (cont'ed) 2009-12-25 11:59:04 +00:00
PluginVideo.cpp I've observed that "FIFO is overflown by GatherPipe" is not real overflow. 2010-08-10 07:25:35 +00:00
PluginVideo.h I've observed that "FIFO is overflown by GatherPipe" is not real overflow. 2010-08-10 07:25:35 +00:00
SConscript Fix Unix build. 2010-12-22 06:45:59 +00:00
SDCardUtil.cpp allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) 2010-12-05 09:04:34 +00:00
SDCardUtil.h misc stuff 2010-05-23 08:41:58 +00:00
Setup.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
StringUtil.cpp Fix StringFromFormat hopefully for the last time. This should be more efficient than before. Thanks to shuffle2 for the windows code. 2010-11-11 04:59:50 +00:00
StringUtil.h OS X std::locale only supports the "C" locale and will give an exception 2010-12-19 16:11:55 +00:00
SymbolDB.cpp Cast size_t to unsigned long for printf to deal with (32-bit) 2010-12-05 18:22:41 +00:00
SymbolDB.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
SysConf.cpp allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) 2010-12-05 09:04:34 +00:00
SysConf.h Add the ability to Get / Set Array data from SysConf 2010-12-22 08:00:08 +00:00
Thread.cpp First pass at dealing with different size_t/off_t sizes in C90 environments. 2010-12-05 15:59:11 +00:00
Thread.h Revert to gettimeofday on posix systems. I give up. 2010-11-22 02:42:53 +00:00
Thunk.cpp keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Thunk.h keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Timer.cpp Layout should not be called until after a sizer is inserted into its parent. This fixes the "gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17" type console warnings that are annoying on linux. If there are issues with this on other platforms let me know, but there shouldn't be. 2010-11-22 15:25:59 +00:00
Timer.h (Minor timer library code cleanup) 2010-01-21 19:55:01 +00:00
Version.cpp Forgot to add Version.cpp in previous. 2010-07-08 15:44:39 +00:00
stdafx.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
stdafx.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
svnrev_template.h Copy the version string obtained from svnversion at runtime instead of 2010-07-08 15:25:01 +00:00
x64Analyzer.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
x64Analyzer.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
x64Emitter.cpp Core/DSPCore: Fix more memory accesses for linux x64 2010-12-16 22:38:31 +00:00
x64Emitter.h LLE JIT: 2010-12-15 01:42:32 +00:00