Commit Graph

31 Commits

Author SHA1 Message Date
Henrik Rydgard
9e0aa8eaa3 Drop silly way of doing CPUID on Android, the right way seems to work 2014-11-12 00:29:16 +01:00
Henrik Rydgard
784bf82b58 Improve AVX check in CPUDetect. Warning fix.
Keeping the ifdef for zenfone - still doesn't work without it
2014-11-11 23:48:58 +01:00
Henrik Rydgard
7409263eb0 Make CPUDetect.cpp not blow up on Zenfone devices.
Don't really know what's going on here, but this seems like the easiest way out. Appears that CPUID really is buggy on this hardware, which seems weird. Alternate explanations would be that we are checking the wrong bits for xgetbv support or something...
2014-11-11 23:08:28 +01:00
Henrik Rydgård
7bde976069 Merge x64 emitter from a newer Dolphin version.
This one can generate slightly smaller code by exploiting some EAX-only
encoding and various other short forms, and adds support for many newer
CPU instructions.
2014-10-12 19:46:58 +02:00
Unknown W. Brackets
9e97206c5f Actually buildfix Linux / Android x86. 2014-06-13 23:42:28 -07:00
Unknown W. Brackets
b3541084c1 Buildfix for Linux/Android x86. 2014-06-13 23:10:02 -07:00
Henrik Rydgard
af9bfaed9c Attempt fix for cpuid on x86
Sign extension would be bad.

(couldn't test it right now, adb driver issues :/)
2014-06-14 00:55:02 +02:00
Henrik Rydgård
a0c6b18134 CPUDetect x86: Detect FMA support 2013-11-13 10:47:05 +01:00
Sacha
04b338f39e Buildfix for sse2 builds. 2013-11-13 12:08:46 +10:00
Unknown W. Brackets
443c719744 Support i386 PIC Linux builds (for Qt.) 2013-10-27 16:40:44 +00:00
Sacha
0282b505b0 Fix CPUDetect for i386 devices. Thanks @Sonic1. Confirmed by ganoo. 2013-10-26 01:18:59 +10:00
Unknown W. Brackets
a1c280f46b Simplify __cpuidex().
Wasn't building 32-bit for me on Ubuntu.
2013-10-20 23:45:56 -07:00
Henrik Rydgård
4426f84067 Merge pull request #4238 from skardach/master
Fix i386 crash at Qt startup
2013-10-19 15:19:18 -07:00
Unknown W. Brackets
f68f1e2482 Avoid an unused variable. 2013-10-19 14:57:45 -07:00
Stan Kardach
4c3a7f414e Fix __cpuid bug on i386 CPU family 2013-10-19 10:04:30 +02:00
Unknown W. Brackets
267bf97834 Avoid a divide by zero error on non-Core i cpus.
Also support Linux and, why not, Android too.
2013-10-17 23:12:04 -07:00
The Dax
2e58f04fee Ifdef away the detection on non-Windows for now. 2013-10-17 19:16:18 -04:00
The Dax
0400a61d51 Add correct core count detection for i7(and maybe i5/i3?) CPUs, and update the SysInfo screen to show more information about threads on x86/x64. 2013-10-17 19:03:33 -04:00
Henrik Rydgard
b19fe900bf Fixes for x86 android build 2013-08-29 20:06:24 +02:00
Sacha
2396574f45 Avoid name collision with StringUtil on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry. 2013-05-03 16:22:15 +10:00
Henrik Rydgard
5293c152c6 Untested support for Android-x86. No idea if this actually works. 2013-03-21 20:52:33 +01:00
Sacha
27b70f0726 Add MIPS/Loongson support 2013-03-10 13:24:05 +10:00
Henrik Rydgard
8ce9ce10bf Merge branch 'master' into armjit
Conflicts:
	Common/ArmEmitter.h
	Common/CPUDetect.cpp
2013-01-14 20:46:17 +01:00
Lewis Robbins
9067829552 unused import;inline assembly is now used 2013-01-14 19:26:58 +00:00
Henrik Rydgard
265e70a498 Just some sketchwork on a JIT for ARM. When completed, will bring speed to mobile devices. 2012-11-23 19:41:35 +01:00
Diogo Franco (Kovensky)
6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Henrik Rydgard
b214a1a1da Revert "Better wrapper system, and fixed warnings"
This reverts commit a00b1855cb.

Conflicts:

	Core/HLE/FunctionWrappers.h
	Core/HLE/sceCtrl.cpp
	Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard
6bed1afb72 Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master 2012-11-04 23:59:26 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Arthur Blot
a00b1855cb Better wrapper system, and fixed warnings 2012-11-04 15:08:23 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00