dolphin/Source/Core/Common/Src
pierre e57406dbcc Core/Common: Add support for low 8 bit parts of SI,DI,BP on 64 bit in x64Emitter
In addition protect against their use on 32 bit and the use of [ABCD]H
together with a REX prefix on 64 bit.

This assumes that the customOp parameter of WriteREX and operandReg of
OpArg always are registers, and thus needs to give something valid to
WriteREX when that is not the case (WriteShift).

In addition to the patch i sent to the ML, there are a few changes to the
error reporting(mostly whitespace).



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7202 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-19 14:20:52 +00:00
..
Crypto Some more work on CMake on Windows: 2011-01-09 16:36:19 +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 The pkg-config name of libpng is "libpng", not just "png". 2011-02-15 21:27:15 +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
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 vs2010: 2011-02-08 04:03:48 +00:00
CommonFuncs.h Remove the global namespace a bit and remove some dead code. 2011-02-02 18:21:20 +00:00
CommonPaths.h * Dump AVI output on every VI (fixes issue #4064). 2011-02-11 18:59:42 +00:00
CommonTypes.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +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
CPUDetect.cpp Common: Change cpuid code again 2011-02-12 18:40:02 +00:00
CPUDetect.h * Changed the Projection Hack option in game properties to "Custom Projection Hack" 2011-01-29 21:13:56 +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
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 Add a hack to match the *.* wildcard in a file search on non windows platforms. This fixes Metroid Other M on linux, and probably other games. Fixes issue 3966. 2011-01-22 18:19:42 +00:00
FileSearch.h Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileUtil.cpp * Dump AVI output on every VI (fixes issue #4064). 2011-02-11 18:59:42 +00:00
FileUtil.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +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 Fixed the new texture hashing functions to take samples into consideration. Fixes issue 4058 2011-02-06 08:05:18 +00:00
Hash.h Changes to hi-res textures. Textures now load correctly when loading/saving a savestate, and can be toggled on and off in game. 2011-02-05 10:08:06 +00:00
IniFile.cpp Remove the PIC linker flag for DSP on linux. 2011-01-30 17:04:12 +00:00
IniFile.h Add per-game "configuration profiles" for video backend configuration: 2011-02-13 22:36:12 +00:00
LinearDiskCache.h If perspective divide is enabled and texture coordinate Z is 0 then leave texture coordinates alone. Fixes issue 3676. 2011-01-29 08:34:57 +00:00
Log.h Revert back to LogTypes. Fixes issue 3668. 2010-12-14 17:52:01 +00:00
LogManager.cpp Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +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 Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
MemArena.cpp Allocate low executable memory on OS X as on Windows and Linux. 2011-01-09 14:09:27 +00:00
MemArena.h Allocate low executable memory on OS X as on Windows and Linux. 2011-01-09 14:09:27 +00:00
MemoryUtil.cpp Executable memory above 2GB is okay on a 32-bit machine. 2011-01-12 21:25:33 +00:00
MemoryUtil.h Allocate low executable memory on OS X as on Windows and Linux. 2011-01-09 14:09:27 +00:00
Misc.cpp Remove the global namespace a bit and remove some dead code. 2011-02-02 18:21:20 +00:00
MsgHandler.cpp Clean up translator callback. 2011-01-14 00:15:08 +00:00
MsgHandler.h Clean up translator callback. 2011-01-14 00:15:08 +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
SConscript Fix Plugin_VideoSoftware build. 2011-02-08 11:02:34 +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
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
StdThread.h Equip any new threads with an NSAutoreleasePool. 2011-01-29 23:46:26 +00:00
StringUtil.cpp Remove the global namespace a bit and remove some dead code. 2011-02-02 18:21:20 +00:00
StringUtil.h The compiler need not obey the static keyword, so to avoid linker 2011-02-05 16:06:05 +00:00
svnrev_template.h Copy the version string obtained from svnversion at runtime instead of 2010-07-08 15:25:01 +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 Removed my previous PanicAlert translation hack. Fixed with a better method suggested by BhaaL. The translation is done by a callback in the MsgHandler routine that is set at program start. Added macros PanicAlertT, SuccessAlertT, PanicYesNoT, and AskYesNoT that are identical to the non T versions except those strings will be added by gettext to the po files to be translated. These can and should be used anywhere in the code for strings that should be translated. 2011-01-13 02:05:58 +00:00
SysConf.h Removed my previous PanicAlert translation hack. Fixed with a better method suggested by BhaaL. The translation is done by a callback in the MsgHandler routine that is set at program start. Added macros PanicAlertT, SuccessAlertT, PanicYesNoT, and AskYesNoT that are identical to the non T versions except those strings will be added by gettext to the po files to be translated. These can and should be used anywhere in the code for strings that should be translated. 2011-01-13 02:05:58 +00:00
Thread.cpp Thread affinity on OS X and *BSD. 2011-02-02 21:52:43 +00:00
Thread.h Used usleep(1) instead of _mm_pause on Linux and Mac OSX. This reduces the CPU usage in the video thread's idle loop. Added YieldCPU to the DSP LLE loop. 2011-02-10 12:56:21 +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 Don't bother quickly flashing the full pathname to the file loaded 2011-01-11 16:19:15 +00:00
VideoBackendBase.cpp revert some some of the soren changes to make dolphin compile in vs2008 again until sw plugin is completely fixed. 2011-02-08 14:51:53 +00:00
VideoBackendBase.h Big Fifo Commit Part2: Now the fifo is more stable than my first commit, so is time... 2011-02-17 04:25:21 +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/Common: Add support for low 8 bit parts of SI,DI,BP on 64 bit in x64Emitter 2011-02-19 14:20:52 +00:00
x64Emitter.h Core/Common: Add support for low 8 bit parts of SI,DI,BP on 64 bit in x64Emitter 2011-02-19 14:20:52 +00:00