dolphin/Source/Core/Common/Src
Soren Jorvang 824b509d2e Make the SSE3.1 VideoCommon code available in GCC builds.
The GCC model for extended instructions like these is that you compile
with -msse3 etc. These affect code generation for whole compilation units,
so the idea is that you have a separate .c file for each instruction set
class and then indirect to the desired one at runtime.

Without e.g. -msse4.1, the GCC built-ins used by <foointrin.h> are not
available. However, in our specific case of compiling with -msse2 and
wanting to use SSE3.1 code, enough built-ins are available that we only
need to provide a little hack for pshufb.

Upgrading this to also use SSE4.1 instructions doesn't appear feasible
without a lot of undesirable duplication of GCC built-in functions and
headers, so we'd probably have to move to the GCC model of separate
source files for that.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6014 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-31 14:40:01 +00:00
..
Crypto Systematically eliminating compiler warnings. 2010-02-24 03:38:36 +00:00
ABI.cpp Fixed the crash in DSP LLE JIT on x64 by aligning the stack. 2010-04-13 10:18:05 +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 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_Win32.h fixed xfb bumping introduced by my last commit. 2010-04-14 13:57:16 +00:00
BreakPoints.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
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 Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. 2010-02-24 10:10:48 +00:00
CPUDetect.h Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. 2010-02-24 10:10:48 +00:00
ChunkFile.h Gamelist loading speedup: Be lazy about parsing the file system - it's not necessary for Wii games since the banners are external (in savegames). Also make it possible for the gamelist code to create cache entries for GC images without banners. 2010-06-03 20:37:32 +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 Make the SSE3.1 VideoCommon code available in GCC builds. 2010-07-31 14:40:01 +00:00
CommonFuncs.h Make the SSE3.1 VideoCommon code available in GCC builds. 2010-07-31 14:40:01 +00:00
CommonPaths.h Some pathnames are used both by SCons and cpp which can be a bit tricky. 2010-07-20 02:45:31 +00:00
CommonTypes.h OS X buildfix 2010-05-02 21:12:51 +00:00
ConsoleListener.cpp JitIL is no longer a separate .exe/binary - it's now a simple option, Dolphin.exe now contains both cores. 2010-01-19 19:28:27 +00:00
ConsoleListener.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
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 Fix a segmentation fault when attempting to load an invalid plugin. 2010-07-03 16:47:49 +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 real wiimote io_write queue like the old plugin. A combination of locks and lack of a write queue were the cause of the real wiimote slowdown. - new plugin should work as good as the old one with real wiimotes now.(but still lacking a pairup button) Other stuff: Disabled execution of Gecko Codes when Dolphin has cheats disabled.(fixes issue 2971) Allow the range of an input to be increased to 500% (will make ps3 controller's tilt more usable) 2010-07-29 10:21:48 +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 Further *BSD portability. 2010-07-23 23:51:34 +00:00
FileUtil.h OSX fix Dolphin not actually using the Application Support path. 2010-05-12 04:26:32 +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 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.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
IniFile.cpp 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
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.cpp big changes here: 2010-07-18 00:18:31 +00:00
LinearDiskCache.h Fix some cases of variables being used uninitialized. Also some unused 2010-06-02 20:35:12 +00:00
Log.h Allow C code to use the Dolphin log manager so that Wiiuse text output 2010-07-16 19:08:26 +00:00
LogManager.cpp Allow C code to use the Dolphin log manager so that Wiiuse text output 2010-07-16 19:08:26 +00:00
LogManager.h JIT single stepping 2010-04-10 15:41:44 +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 Slightly cleanup of mmap(2) flags: 2010-07-18 05:15:16 +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 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
OpenCL.cpp cleanup + some eolz 2010-07-06 13:14:51 +00:00
OpenCL.h Allow full-length Unix pathnames. 2010-07-10 21:17:08 +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 My first commit :D 2010-06-24 13:28:54 +00:00
PluginVideo.h My first commit :D 2010-06-24 13:28:54 +00:00
PluginWiimote.cpp win32: Some more work on real wiimote automatic ingame pairup (automatic paired up wiimotes get connected now ingame as well, but it's not completely working yet, we're almost there tho:P) and changed the automatic unpair real wiimotes routine, so it won't get loaded via dll_detach anymore. 2010-06-20 02:17:53 +00:00
PluginWiimote.h win32: Some more work on real wiimote automatic ingame pairup (automatic paired up wiimotes get connected now ingame as well, but it's not completely working yet, we're almost there tho:P) and changed the automatic unpair real wiimotes routine, so it won't get loaded via dll_detach anymore. 2010-06-20 02:17:53 +00:00
SConscript Copy the version string obtained from svnversion at runtime instead of 2010-07-08 15:25:01 +00:00
SDCardUtil.cpp build fixin', warning fixin'. 2010-06-09 21:19:23 +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 Prevent double inclusion of CommonPaths.h as pointed out by Glenn. 2010-07-20 03:23:25 +00:00
StringUtil.h Refactor the original and much more compatible IniFile implementation to work more like Billiard's, with a public Section interface, but keep the old interface as well. 2010-06-04 19:56:34 +00:00
SymbolDB.cpp Improve iterator usage. 2010-05-28 23:14:16 +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 Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. 2010-03-18 14:34:37 +00:00
SysConf.h Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. 2010-03-18 14:34:37 +00:00
Thread.cpp Implement proper thread naming on linux. This fixes a segmentation fault with thte wiimote new configuration dialog when a thread was named without first calling ThreadInit. 2010-07-06 16:16:07 +00:00
Thread.h Implement proper thread naming on linux. This fixes a segmentation fault with thte wiimote new configuration dialog when a thread was named without first calling ThreadInit. 2010-07-06 16:16:07 +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 Fix small copy-paste error in Timer.cpp 2010-07-22 04:21:10 +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 Fix a bug in DSP Jit where branches had a blockSize of zero. 2010-06-30 16:17:20 +00:00
x64Emitter.h DSPJit: disabled NR again until we fix DSPEmitter::increase_addr_reg. 2010-04-09 19:18:50 +00:00