summaryrefslogtreecommitdiff
path: root/Source/Core/Common
AgeCommit message (Collapse)Author
2014-07-06Common: Using size_t in PointerWrap's DoContainer apparently causes crashes. ↵Lioncash
Fixes this.
2014-07-05Common: Make DoContainer within PointerWrap private.Lioncash
This shouldn't really be exposed as a public function and should only be called through other Do class functions that take a container type as a parameter.
2014-06-26Merge pull request #443 from magumagu/loadstore-cleanupLioncash
Loadstore cleanup
2014-06-25Centralize the logging code into its own folder in Common.Lioncash
2014-06-25Merge pull request #513 from lioncash/vs-x64Lioncash
Remove the 32-bit config platform from the VS solution file
2014-06-24Remove the 32-bit config platform from the VS solution and projectsLioncash
2014-06-24Merge pull request #531 from LPFaint99/memcardLioncash
GCI Folder: correctly identify region of sysmenu
2014-06-24Store ini sections in a std::list (rather than vector) to prevent unexpected ↵Jordan Woyak
pointer invalidation with use of GetOrCreateSection.
2014-06-23GCI Folder: correctly identify region of sysmenuLPFaint99
2014-06-22Common: Add a PCAP writer modulePierre Bourdon
2014-06-22Merge pull request #500 from lioncash/iniPierre Bourdon
Use only section-based ini reading.
2014-06-20JIT: Clean up float loads and stores.magumagu
Less code is good, and this should make future changes to memory handling easier.
2014-06-16Use only section-based ini reading.Lioncash
2014-06-15Try to fix android build.magumagu
2014-06-15Don't set DAZ on x86 in non-IEEE mode.magumagu
I have no idea why we were using it in the first place; it doesn't match the behavior of PPC NI flag.
2014-06-11BitField: Add an explicit getter function for retrieving the BitField value.Tony Wasserka
Sometimes (in particular when using non-typesafe functions) it can be convenient to have a getter method rather than performing a potentially lengthy explicit cast.
2014-06-11BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka
2014-06-07Make it so ARMv7 isn't a generic target.Ryan Houdek
Rearranges a bit of code so that ARM isn't a generic build anymore. Because it obviously isn't
2014-06-06Merge pull request #457 from Tilka/jccRyan Houdek
x64Emitter: J_CC: use 32 bit offset automatically
2014-06-05Use std::string in LogContainer's constructor.Lioncash
This allows for removal of the strcpy calls, also it's technically way more safe, though I doubt we'll ever have a log name larger than 128 characters or a short description larger than 32 characters. Also moved these assignments into the constructor's initializer list.
2014-06-03x64Emitter: J_CC: use 32 bit offset automaticallyTillmann Karras
2014-06-02Merge pull request #455 from lioncash/arm-cpudetect-fixRyan Houdek
Stringify ArmCPUDetect.cpp.
2014-06-02Stringify ArmCPUDetect.cpp.Lioncash
2014-06-01Fix a crash in ARM's CPUDetect on a malformed /proc/cpuinfo.Ryan Houdek
If a CPU string was incapable of being found we would return a null pointer, which would crash with strncpy. Also if we couldn't get a CPU implementer we would call free() to a null pointer. In addition, detect 64bit ARM running.
2014-06-01Make MemoryUtil.cpp use the correct x86_64 define.Ryan Houdek
MemoryUtil.cpp was incorrectly using the old __x86_64__ define when it should be using _M_X86_64. It was also using _ARCH_64 when it shouldn't have which was causing an errant PanicAlert to come up in my development.
2014-05-29Remove the min/max functions in CommonFuncs.Lioncash
The algorithm header has the same functions.
2014-05-28Get rid of the temporary buffer in IniFile's Load function.Lioncash
std::getline is the string-based equivalent.
2014-05-28When reading an ini file, if there is an error, check if it is simply ↵Rachel Bryk
because the eof was reached.
2014-05-28Merge pull request #430 from shuffle2/xsave-workaround-fixPierre Bourdon
msvc C initializers return int...fix EnableXSaveWorkaround when rax doesn't implicitly equal zero.
2014-05-28Merge pull request #392 from RachelBryk/error-check-ini-filePierre Bourdon
Check for errors when reading lines from ini files.
2014-05-28msvc C initializers return int...fix EnableXSaveWorkaround when rax doesn't ↵Shawn Hoffman
implicitly equal zero.
2014-05-27Redo commit 932945d4808e37ba0ca1a953571187f445e24f41Shawn Hoffman
This time, make sure the object for disabling XSave support in msvcr can't be dropped by the linker.
2014-05-23Check for errors when reading lines from ini files.Rachel Bryk
Fixes issue 7283.
2014-05-17Move bn.h and ec.h into the correct filter sectionLioncash
2014-05-14Use size_t in std::string operations in IniFile.cpp, not intLioncash
2014-05-11Merge pull request #351 from Tilka/make_uniqueshuffle2
Add a std::make_unique implementation (Common/StdMakeUnique.h)
2014-05-11fixmeup renameTillmann Karras
2014-05-10Revert "x64FPURoundMode: always set x87 precision"Shawn Hoffman
This reverts commit 9de77b7c23252cbedaee993f7c56b2deb0ce2bef. Setting x87 precision control is only supported on x86 platforms (not ARM or x64).
2014-05-06Add a std::make_unique implementationTillmann Karras
Some compilers we care about (mostly g++) do not support std::make_unique yet, but we still want to use it in our codebase to make unique_ptr code more readable. This commit introduces an implementation derivated from the libc++ code in the Dolphin codebase so we can use it right now everywhere. Adapted from delroth's pull request.
2014-05-01x64FPURoundMode: always set x87 precisionTillmann Karras
Set the x87 precision, even on x64. Since we are using x87 instructions in the JIT now, we can't guarantee that x87 precision will never influence Dolphin on x64.
2014-05-01x64FPURoundMode: use fesetround() instead of asmTillmann Karras
2014-04-30JitBackpatch: fix NOP paddingTillmann Karras
The new NOP emitter breaks when called with a negative count. As it turns out, it did happen when deoptimizing 8 bit MOVs because they are only 4 bytes long and need no BSWAP.
2014-04-27Merge pull request #304 from Tilka/nopPierre Bourdon
Optimize NOPs
2014-04-25Fix Fastmem on CPUs without MOVBETillmann Karras
The problem was that when BSWAP was used, UnsafeWriteRegToReg() returned the address of that instead of the MOV.
2014-04-24Add remaining possible uses of MOVBETillmann Karras
Also fixes a missing 'break' statement in DisassembleMov().
2014-04-23Optimize NOPsTillmann Karras
2014-04-17Atomic: support clang 3.4+Tillmann Karras
2014-04-14Merge pull request #271 from delroth/threading-stuffPierre Bourdon
Threading improvements: add Common::Flag and improve Common::Event
2014-04-14Common::Event: Add a faster Windows specific implementation based on the ↵Pierre Bourdon
concurrency runtime.
2014-04-14Common::Event: Implement in terms of Common::Flag to get rid of a volatile ↵Pierre Bourdon
and optimize with early returns and atomic swaps