Commit Graph

7092 Commits

Author SHA1 Message Date
Bovine
54c7a12306 Fix simd vmmul transpose optimizations.
Yep, gotta discard the S matrix when we're done with it.
2015-01-03 16:58:03 -07:00
Bovine
0fdebdc1ca Fix discardVS.
It's not valid for non-away values to have a lane.
2015-01-03 16:54:31 -07:00
Henrik Rydgard
3cc633f091 x86jit: Minor logging improvements in FPU recache 2015-01-03 22:55:39 +01:00
Bovine
185d4db081 Fix simd vmmul transpose optimizations.
Need to ensure S has been written back before transposing it or we'll end
up writing back S'.
2015-01-03 14:48:54 -07:00
Unknown W. Brackets
ab978b1eb1 armjit: Fix vfad/vavg sign for -0.000.
But, NEON is still broken pretty bad, not sure why.
2015-01-03 11:14:52 -08:00
Henrik Rydgård
5fffe53671 Merge pull request #7258 from unknownbrackets/jit-minor
x86jit: Fix vavg, improve vfad
2015-01-03 19:44:22 +01:00
Unknown W. Brackets
e6a50a1371 Initialize vfpu regs are NAN, not 0.0.
This matches tests, the fpu, and seems logical.
2015-01-03 10:40:21 -08:00
Unknown W. Brackets
a1864b2c78 x86jit: Fix vavg scale.
Was completely wrong, darn it.
2015-01-03 10:39:58 -08:00
Unknown W. Brackets
8a089ee583 x86jit: Handle -0.0 in vavg/vfad.
Should result in a positive result.
2015-01-03 10:39:26 -08:00
Bovine
2ed4c1bd6b Fix matrix disassembly notation
Changed disassembler output to match gas input for operations on
transposed matrices where row != col.
2015-01-03 02:04:08 -07:00
Henrik Rydgard
13c4a22967 Disable transpose optimization, seems to break games 2015-01-02 01:13:34 +01:00
Unknown W. Brackets
d0b6a3a339 Oops, fix a mistake in the screenshot func.
How did I lose the return?
2015-01-01 10:50:33 -08:00
Henrik Rydgard
6a7e5d1cc2 x86 Jit SIMD: Generate somewhat shorter code for handling transposed matrices in vmmul.
TODO: Build into regalloc instead, with a MapMatrix function?
2015-01-01 12:44:03 +01:00
Unknown W. Brackets
5f6f8ac0a2 x86jit: Fix another sequential detect problem.
Arg.  Maybe should use voffset after all, but it won't fit in a u8
anyway...
2014-12-31 22:43:31 -08:00
Unknown W. Brackets
c5f7b6fa72 x86jit: Disable simd again for now. 2014-12-31 19:43:40 -08:00
Unknown W. Brackets
1615ec69a6 Fix a typo, which fixes #7249. 2014-12-31 19:41:14 -08:00
Henrik Rydgård
239913aaae Merge pull request #7250 from unknownbrackets/screenshot-minor
Support more screenshot framebuffer formats
2015-01-01 02:52:41 +01:00
Unknown W. Brackets
7ecff0acd6 Support more screenshot framebuffer formats. 2014-12-31 16:17:23 -08:00
Henrik Rydgard
a125178b0b Add a popup dialog when clicking savestate screenshots 2014-12-31 20:43:29 +01:00
Unknown W. Brackets
7b4d152cc0 Log something when screenshot fails.
For savestates as well as user-triggered.
2014-12-31 09:41:00 -08:00
Unknown W. Brackets
d13d48575c Support ports in HTTP loading code. 2014-12-31 09:40:43 -08:00
Henrik Rydgard
240ebcb085 Fix memory leaks in sceJpeg 2014-12-31 15:34:50 +01:00
Unknown W. Brackets
b6b4a4f05e Avoid debug log spam in menu. 2014-12-30 10:05:36 -08:00
Unknown W. Brackets
a4924ff753 Fix crash using large block size cso files. 2014-12-29 08:53:30 -08:00
Unknown W. Brackets
3d29b0d278 Fix typo breaking old savestates. 2014-12-29 08:53:19 -08:00
Unknown W. Brackets
d254ec7088 Write screenshots using unicode-aware apis on win. 2014-12-28 20:39:57 -08:00
Unknown W. Brackets
a62a4a42b3 armjit: handle any known zero in mtc1. 2014-12-28 20:05:29 -08:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Unknown W. Brackets
93fee10899 Typo. 2014-12-27 09:12:50 -08:00
Unknown W. Brackets
523a75e2bb Fix another stupid mistake. 2014-12-26 08:03:55 -08:00
Unknown W. Brackets
6629655a56 Fix a glitch in host timing in some games. 2014-12-26 07:57:00 -08:00
Unknown W. Brackets
c64aa7f4a4 Correct some differences from IO timing.
Arg, oops.  Fixes #7231.
2014-12-26 07:49:22 -08:00
Unknown W. Brackets
efae9e0612 Make realistic timing optional. 2014-12-26 01:18:52 -08:00
Unknown W. Brackets
8f3a8fd233 Very rough approximation of UMD seek delays. 2014-12-26 01:15:18 -08:00
Unknown W. Brackets
d6a113809b Add basic infrastructure to time io better.
This allows the filesystems to more accurately control timing.
But they're not actually doing it yet (same timing as before.)
2014-12-26 01:15:17 -08:00
Unknown W. Brackets
0abd95e784 Typo. 2014-12-26 01:12:23 -08:00
Unknown W. Brackets
0599c04c1c Properly unschedule IO events on file close.
Oops, was waking threads but not bumping events.
2014-12-26 01:07:21 -08:00
Unknown W. Brackets
3f20b32041 Add an option to prevent cpu stall on slow IO.
This is good for any slow storage, including:
  * Hard disk spinning up.
  * Generally slow (cheap) SD cards.
  * HTTP or Samba streaming.

May possibly cause bugs in some cases where timing is unrealistic.  That
being said, as long as the game is a UMD game, and there's caching (could
enable memory caching for storage), it should not be a problem usually.
2014-12-26 01:07:16 -08:00
Henrik Rydgård
f74add91e2 Merge pull request #7202 from unknownbrackets/cpu-thread
Allow switching cpu thread on/off ingame
2014-12-24 19:15:51 +01:00
Henrik Rydgård
6bf2c02908 x86 jit: Allow storing all imms directly without bouncing to a register, not just zero. 2014-12-23 22:25:53 +01:00
Henrik Rydgård
f51fcb9e80 Typos 2014-12-23 21:32:26 +01:00
Henrik Rydgård
98f1ac9153 Merge pull request #7217 from hilesaz/master
Fix to VFPU register allocation. Fixes #7174
2014-12-23 13:28:53 +01:00
Bovine
a9b7656f93 Fix to VFPU register allocation. Fixes #7174
GetFreeXRegs(_,_,true) invalidates registers it can see on spill,
but it can't see all the registers in the array due to how we call it
so we have to invalidate the rest ourselves.  Not doing so can get it
to use the same register twice.
2014-12-23 03:39:50 -07:00
Henrik Rydgård
53ab7ab4b2 Fix FakeJit, start preparing a little for ARM64 2014-12-23 09:36:28 +01:00
Henrik Rydgård
102aa8e387 Merge pull request #7216 from chinhodado/patch-1
Avoid calling GetPointer() multiple times in a row
2014-12-23 09:26:11 +01:00
Unknown W. Brackets
326c298207 armjit: Fix BKPT on simple exits.
If we get lucky and write a single-op destination address, we only emit
one op.  So we have to check the next op before overwriting.
2014-12-22 22:56:15 -08:00
Unknown W. Brackets
cb50075cf9 armjit: Correct NEON/non-VFPU reg allocation order.
This fixes vh2f, which unbreaks games like Dissidia 012 and others.
2014-12-22 21:27:27 -08:00
chinhodado
81197f18a0 Avoid calling GetPointer() multiple times in a row 2014-12-22 22:46:37 -05:00
Unknown W. Brackets
c52b73393b Try default constructors for Symbian. 2014-12-20 23:39:44 -08:00
Unknown W. Brackets
306786db60 Oops, ignore DX9 on non-Windows.
This probably had broken Qt before, whoops.
2014-12-20 23:31:16 -08:00
Unknown W. Brackets
fed8b48e04 Just leave Symbian the way it was. 2014-12-20 23:18:42 -08:00
Unknown W. Brackets
2dd9b10c8d Take screenshots with savestates. 2014-12-20 23:14:46 -08:00
Unknown W. Brackets
b1c9e7382f Save state to a temp file and rename.
This way, if you run out of disk or hit a bug, at least you have your old
state.  Better than having neither.
2014-12-20 22:24:02 -08:00
Unknown W. Brackets
3f0b759746 Switch to std::function for savestate callbacks. 2014-12-20 22:23:26 -08:00
Unknown W. Brackets
0a6a70f53f Allow switching cpu thread on/off ingame. 2014-12-20 17:39:42 -08:00
Henrik Rydgård
71c9804ffd Merge pull request #7195 from Bigpet/copydefaults
copy the current config when creating a pre-game config
2014-12-20 19:25:31 +01:00
Henrik Rydgård
e9e6b46cd8 Merge pull request #7199 from unknownbrackets/screenshot
Add support for screenshots from Direct3D
2014-12-20 19:24:51 +01:00
Unknown W. Brackets
37c7f56b1e Remove a clear copy/paste error. 2014-12-20 09:42:08 -08:00
Unknown W. Brackets
71eb709845 fixup! Fix some missing case warnings. 2014-12-20 09:11:45 -08:00
Unknown W. Brackets
a2f4efa50f Fix an unsigned less than 0 warning. 2014-12-20 09:10:53 -08:00
Unknown W. Brackets
1479a6dd32 Correct a no return value warning. 2014-12-20 09:10:18 -08:00
Unknown W. Brackets
a514603f40 Fix some missing case warnings. 2014-12-20 09:10:09 -08:00
Unknown W. Brackets
8d68c055cc Clear SFO data on game quit.
Saves the correct MENU after game exit.  Seems more sane.
2014-12-20 08:29:56 -08:00
Peter Tissen
a5fcf9dd5f Make 'load defaults' work for per-game configs. Move 'stop' code into PSP_Shutdown 2014-12-19 14:56:36 +01:00
Peter Tissen
664ac1061f copy the current config when creating a pre-game config 2014-12-19 02:22:47 +01:00
Henrik Rydgård
a074c06f68 Merge pull request #7183 from Bigpet/pergamesettings
per game settings
2014-12-18 23:25:50 +01:00
Henrik Rydgård
a9be90229a Merge pull request #7140 from AbandonedCart/master
use libc++ for iOS to avoid additional directives
2014-12-18 22:38:14 +01:00
Henrik Rydgård
76b1313ed9 Merge pull request #7164 from daniel229/func_replace_orenoimouto_2
Another replace frame download in Ore no Imouto ga Konnani Kawaii Wake g...
2014-12-18 22:22:20 +01:00
Unknown W. Brackets
a292fa87ea x86jit: Fix an x32 compile error in disabled code. 2014-12-17 08:50:31 -08:00
Unknown W. Brackets
2743c5cacd x86jit: Shave off a couple bytes in asm. 2014-12-17 08:25:18 -08:00
Unknown W. Brackets
77777e372d x86jit: Use R15 when safe for the jit.
This is virtually always safe.
2014-12-17 08:09:59 -08:00
Unknown W. Brackets
b9eddc3d25 x86jit: Oops, fix a typesafety error. 2014-12-17 08:07:43 -08:00
Unknown W. Brackets
9022b48069 x86jit: Skip reload of EAX in safe cases.
Probably no real improvement in perf, but a bit cleaner and one less TODO.
2014-12-17 01:12:41 -08:00
Unknown W. Brackets
afdbf5610b jit: Use nicknames for a few more static regs. 2014-12-17 01:11:33 -08:00
Unknown W. Brackets
b6a75bf255 x86jit: Set CTXREG in a fixed place. 2014-12-17 01:00:21 -08:00
Henrik Rydgard
e3c6ec4dc6 Get rid of PowerPC from the MSVC project files as well 2014-12-16 22:01:21 +01:00
Henrik Rydgard
a54e0cf244 Goodbye PowerPC, you can always be resurrected when the time comes 2014-12-16 21:58:38 +01:00
Peter Tissen
be3389fdef added optional per-game settings
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01:00
Henrik Rydgard
4ec30d98e1 Port the x86 and ARM emitters over to use the generic CodeBlock class 2014-12-15 22:32:55 +01:00
Henrik Rydgard
b2951f0def Transplant Dolphin's ARM64 emitter over. Not hooked up to anything (yet...) 2014-12-15 22:09:26 +01:00
chinhodado
422764e077 Remove an unnecessary memcpy 2014-12-14 23:59:55 -05:00
Unknown W. Brackets
9a41dec0ff Fix some type comparison warnings. 2014-12-14 17:35:20 -08:00
Unknown W. Brackets
0a8e6c2a06 Remove some unused functions. 2014-12-14 17:35:20 -08:00
Lioncash
3610473b78 sceNetAdhoc: Remove unnecessary assignments 2014-12-14 00:10:46 -05:00
Lioncash
ff0ea751c5 MediaEngine: Get rid of implicit boolean conversions to int 2014-12-13 23:40:04 -05:00
Unknown W. Brackets
cb7e7643db Blackberry buildfix. 2014-12-13 19:38:04 -08:00
Unknown W. Brackets
3ce21ce672 Allocate a correct amount for helper threads.
This was usually "saved" by the round up to 0x100, but was
underallocating.
2014-12-13 18:35:58 -08:00
Henrik Rydgard
32a452d671 Blackberry buildfix, added a commen this time.. 2014-12-13 22:14:53 +01:00
Henrik Rydgard
5de011fe95 Again, sigh.. 2014-12-13 21:53:28 +01:00
Henrik Rydgard
db5478135b Typo fix 2014-12-13 21:26:13 +01:00
Henrik Rydgard
05a8e2e35d Some work towards being able to build two JITs together
This will be useful for testing/debugging, but not there yet.
2014-12-13 21:13:54 +01:00
Henrik Rydgard
8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
Henrik Rydgård
5ae4cc8959 x86: Turn VFPU SIMD off again. See #7173 and #7174 2014-12-13 13:35:29 +01:00
Henrik Rydgard
75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Henrik Rydgård
4021252119 Merge pull request #7169 from daniel229/wchar_t_in_scePauth
Support wchar_t in scePauth.
2014-12-12 09:37:12 +01:00
daniel229
fc0ba3f0fe Updata as hrydgard' suggestion 2014-12-12 10:07:28 +08:00
Henrik Rydgård
ea5126ef0b Merge pull request #7165 from lioncash/safe
ReplaceTables: Fix null checks
2014-12-11 20:57:41 +01:00
Lioncash
2f269ac8c0 ReplaceTables: Fix null checks 2014-12-11 14:34:10 -05:00
daniel229
4e017014ae Support wchar_t in scePauth. 2014-12-11 23:03:55 +08:00
Henrik Rydgård
973f4ea0ca Merge pull request #7167 from lioncash/unused
sceKernelModule: Remove unused array in __KernelLoadPBP
2014-12-11 10:21:27 +01:00
Henrik Rydgård
2e8b1363d9 Merge pull request #7166 from lioncash/conds
scePsmf: Remove unnecessary conditions
2014-12-11 09:48:25 +01:00
Lioncash
fc7439ec2a proAdhoc: Change resolveMAC to return bool
Must have missed this in my initial commit.
2014-12-10 23:42:40 -05:00
Lioncash
d8da1cd44d sceKernelModule: Remove unused array in __KernelLoadPBP 2014-12-10 23:38:35 -05:00
Lioncash
0e3d68e27f scePsmf: Remove unnecessary conditions
tempBuf is a stack-allocated array, and filehandle has a check for it above this conditional.
2014-12-10 23:30:19 -05:00
daniel229
eee73607b5 Another replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai 2014-12-11 11:13:59 +08:00
Unknown W. Brackets
f5d5f7d3fa Use SSE shifts for high-vol channels. 2014-12-08 21:23:47 -08:00
Unknown W. Brackets
42cd751060 Prevent a few savestate cross-compat issues.
We don't need to save gpu stats at all, so don't, makes it easier to
change it and dunno if anyone defines double as other than 64 bits.

Also, apparently there was padding in the event state but not on all
platforms.
2014-12-08 21:18:56 -08:00
Unknown W. Brackets
afc779a824 jit: Add IN_RT to lwl/lwr and re-enable clobbering. 2014-12-08 21:17:01 -08:00
Henrik Rydgård
f135bf79e3 Merge pull request #7157 from lioncash/override
Core: Add missing override specifiers
2014-12-08 22:37:33 +01:00
Lioncash
cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Lioncash
ae5be5a814 sceSha256: Mark sceSha256Digest as static 2014-12-08 12:31:57 -05:00
Henrik Rydgård
38345a497f Merge pull request #7137 from lioncash/static
Core: Mark some module functions as static
2014-12-08 11:10:14 +01:00
Unknown W. Brackets
066ce50a12 Disable SSE clamping for certain volume levels.
Fixes sound in Tales of Phantasia.  Can improve later.
2014-12-08 02:06:25 -08:00
Unknown W. Brackets
bfe5f9276e jit: Re-disable clobbered thing.
No idea what's wrong...
2014-12-08 02:06:25 -08:00
Henrik Rydgård
82d69fad8d Merge pull request #7146 from hrydgard/sha256
Quick implementation of sceSha256Digest from #7134
2014-12-08 10:40:56 +01:00
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Unknown W. Brackets
7734a4c912 jit: Re-enable clobbering with movz/movn support.
Oops, these should be the only ones that take rd "in".
2014-12-08 01:29:41 -08:00
Unknown W. Brackets
119c1ef83e jit: Disable clobber detection for now.
Should still spill better.  Something is wrong with flags detection, a
clobber to rd is incorrectly discarding outside a delay slot.  Don't have
time now to look into it further.
2014-12-08 01:24:17 -08:00
Unknown W. Brackets
f817d49dfb jit: Discard clobbered registers on spill.
If we're spilling anyway, discard rather than saving.
2014-12-07 23:08:21 -08:00
Unknown W. Brackets
f6531a74e1 Don't allow clobbering in a likely delay slot.
Since, we don't know which path it will take.  Also, don't clobber when
it's the delay slot of the instruction in question - this was a tricky
case.
2014-12-07 23:04:05 -08:00
Unknown W. Brackets
eeff110c0f jit: Improve and unify GPR spill logic.
Now the same logic on x86 and ARM, and handles HI/LO/etc. better.
2014-12-07 21:10:28 -08:00
Unknown W. Brackets
487e175cf9 Fix a sign comparison warning.
This isn't really negative anyway.
2014-12-07 21:08:03 -08:00
Unknown W. Brackets
9dd6bb56bb jit: Make available js_ and jo_ in regcaches. 2014-12-07 21:07:23 -08:00
Unknown W. Brackets
58ff826b73 Cleanup to link assembler on arm unittest builds. 2014-12-07 15:41:11 -08:00
Henrik Rydgård
9ea5c8a1c4 Merge pull request #7116 from Kingcom/master
Update assembler again
2014-12-08 00:26:39 +01:00
Henrik Rydgård
6546a5ac03 Merge pull request #7143 from lioncash/net
proAdhoc: Make some functions return boolean values.
2014-12-08 00:26:25 +01:00
Henrik Rydgård
e46976f08e Merge pull request #7147 from lioncash/moarconst
Mark some functions as const
2014-12-08 00:25:42 +01:00
Henrik Rydgard
50bb3e1e05 Minor fixes 2014-12-08 00:18:13 +01:00
Lioncash
a962bc5a6c Mark some functions as const 2014-12-07 17:08:13 -05:00
Henrik Rydgard
7de3ed109a Android x86 buildfix 2014-12-07 22:00:30 +01:00
Henrik Rydgard
1a1faeffd1 More audio microoptimization 2014-12-07 21:14:09 +01:00
Henrik Rydgard
28aa18953a Audio: Minor SSE2 optimization, just because 2014-12-07 20:23:47 +01:00
Henrik Rydgard
8102a67602 Implement sceSha256Digest (untested) 2014-12-07 19:25:45 +01:00
Henrik Rydgard
29e681808d Merge branch 'sceSha256' of https://github.com/daniel229/ppsspp into daniel229-sceSha256 2014-12-07 19:11:45 +01:00
Henrik Rydgard
51d55bd645 Namespacing cleanup (it's bad to do "using namespace" in a header) 2014-12-07 14:44:15 +01:00
Henrik Rydgard
4457dca4c9 Rename the ARM Jit class to ArmJit 2014-12-07 14:25:22 +01:00
Henrik Rydgard
7740caeade Buildfix the arm emitter test in the unittest.
Also do some preparation for being able to have two JITs compiled at the same time
which may be useful in testing parts of the ARM jit on Windows.
2014-12-07 14:12:13 +01:00
Henrik Rydgard
e2f61459d3 ARM Jit: Implement vfad/vavg 2014-12-07 13:02:16 +01:00
Henrik Rydgard
80ce45f9fb ARM Jit: Join adjacent vrot ops on ARM too 2014-12-07 12:07:54 +01:00
Henrik Rydgard
c2503b1406 ARM jit: Prepare for joining vrot ops 2014-12-07 11:58:19 +01:00
Henrik Rydgard
37413f8119 We can use sincosf again on Android - the bug in the NDK has been fixed. 2014-12-07 11:53:46 +01:00
Henrik Rydgard
4d8db38798 Some more 2014-12-07 00:30:45 +01:00
Henrik Rydgard
ceed0a92c3 Undo some accidental reverts 2014-12-07 00:25:15 +01:00
Lioncash
1d9ace08ae proAdhoc: Make some functions return boolean values.
Also shortens validNetworkName a little.
2014-12-06 14:48:46 -05:00
Henrik Rydgard
ff4746cd17 Merge the rest of the old NEON branch. 2014-12-06 13:14:03 +01:00
Henrik Rydgard
d98bde8e50 Merge the RegCache changes from the old neon-vfpu branch 2014-12-06 12:26:58 +01:00
Henrik Rydgard
29dcc0a303 Minor cleanups, warning fixes 2014-12-06 12:25:28 +01:00
Henrik Rydgard
d46c9c2f74 x86 jit: Minor optimization in vmmul 2014-12-06 11:35:01 +01:00
TwistedUmbrella
3f4d58b0b2 use libc++ for iOS to avoid additional directives 2014-12-05 19:47:02 -05:00
Lioncash
15aa29d178 MIPSAnalyst: Pass strings by const reference. 2014-12-05 13:12:49 -05:00
daniel229
49b2939f0d sceSha256 2014-12-04 22:44:41 +08:00
Henrik Rydgard
ea6371921a x86 jit: Hack around running out of regs on x86-32 with SIMD 2014-12-04 00:19:08 +01:00
Henrik Rydgard
e3a81f4346 x86 Jit: Basic implementation of vbfy1/2 (mostly to just cross another one off the list..) 2014-12-04 00:18:58 +01:00
Lioncash
cd26b200b2 Core: Get rid of a few c_str/strlen calls 2014-12-03 17:15:05 -05:00
Henrik Rydgård
c1084b6b93 Merge pull request #7131 from lioncash/scempeg
sceMpeg: Remove an unnecessary if statement
2014-12-03 22:53:02 +01:00
Lioncash
efaba33624 sceMpeg: Remove an unnecessary if statement
stream is previously used in the above memcpy, so this check is not necessary.
2014-12-03 16:49:01 -05:00
Henrik Rydgard
5290ffd929 Minor cleanup in vtfm. Re-enable vrot combination. Optimize vfad/vavg when dpps is available.
Also fixes bug in emitter of dpps.
2014-12-03 22:44:32 +01:00
Unknown W. Brackets
9d97eb5b12 Oops, fix an old typo.
Thanks Lioncash.  This broke a small range of old savestates.
2014-12-03 12:49:52 -08:00
Lioncash
f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Lioncash
9f1bebe201 Loaders: Fix a mismatched delete call 2014-12-03 14:55:20 -05:00
daniel229
6846e8b140 Replace frame download in Kenka Banchou Bros: Tokyo Battle Royale 2014-12-03 18:44:04 +08:00
Henrik Rydgard
ca8ba9532c x86 jit: Implement vtfm 2014-12-03 01:45:29 +01:00
Henrik Rydgard
1abadef87f Add "resolving" of a few symbols to x86 disassembler 2014-12-02 01:00:11 +01:00
Unknown W. Brackets
256ea0c062 Verify recent file existance using a loader.
This way it supports remote files and doesn't wipe them.
2014-11-30 23:54:22 -08:00
Unknown W. Brackets
48b3a292d7 x86jit: Add more sanity checks. 2014-11-30 17:43:07 -08:00
Unknown W. Brackets
9cfe801075 x86jit: Ensure we don't sequence temps+regs. 2014-11-30 17:42:43 -08:00
Unknown W. Brackets
23e3916a77 x86jit: Fix a stupid typo. 2014-11-30 17:42:02 -08:00
Unknown W. Brackets
515b954670 x86jit: Re-enable vmmov simd. 2014-11-30 13:06:53 -08:00
Unknown W. Brackets
c6b090d82e x86jit: When storing, verify alignment. 2014-11-30 13:06:16 -08:00
Unknown W. Brackets
fbc453b083 x86jit: Oops, here also.
Maybe I should kill these early returns after all..
2014-11-30 12:39:30 -08:00
Unknown W. Brackets
5758102be6 x86jit: Correct handling of temp vregs in VS. 2014-11-30 12:33:06 -08:00
Unknown W. Brackets
750f40e260 x86jit: Oops, forgot to add this back.
MapRegV() will be too dangerous if it locks so do it here.
2014-11-30 11:02:55 -08:00
Henrik Rydgård
2945a1acc1 Merge pull request #7120 from unknownbrackets/jit-simd
x86jit: Add a MAP_NOLOCK flag
2014-11-30 19:43:35 +01:00
Unknown W. Brackets
29e3819437 x86jit: Improve spilling in vf2i.
This should improve which ones we spill on 32 bit at least.
2014-11-30 10:38:58 -08:00
Unknown W. Brackets
0000be1bb2 x86jit: Add a MAP_NOLOCK flag to not lock.
Only for MapRegs*.  And then lock all by default, including
TryMapRegsVS().
2014-11-30 10:36:44 -08:00
Unknown W. Brackets
52cfe4a8a3 x86jit: Avoid MOVSS into self. 2014-11-30 10:35:26 -08:00
Henrik Rydgard
466cdb8ddf x86 Jit: Basic implementation of SIMD vmmul. Can be improved. 2014-11-30 19:27:43 +01:00
Henrik Rydgard
74e70f1159 Fix silly typo 2014-11-30 17:24:56 +01:00
Henrik Rydgard
ac772f25ff x86 JIT: Join adjacent vrot calls together to avoid redundant sin/cos calls. Add a prototype, fix minor issues. 2014-11-30 11:04:13 +01:00
Henrik Rydgård
7deb8055ee Merge pull request #7117 from unknownbrackets/jit-simd
x86jit: Implement vmmov using SIMD
2014-11-30 09:24:22 +01:00
Unknown W. Brackets
679a824487 x86jit: when reusing a reg, don't zap slot.
If we returned the same reg it was in before, don't zap the slots because
slot #1 may be valid.
2014-11-29 23:11:50 -08:00
Unknown W. Brackets
c3578bd8eb x86jit: Find the correct available regs.
If there aren't n available regs, they may not of course be in slots 0 and
1.  Have to go and find them.
2014-11-29 22:12:40 -08:00
Unknown W. Brackets
df6a07f24e x86jit: Allow only one reg for sequential load. 2014-11-29 22:11:52 -08:00
Unknown W. Brackets
bb26e4f7d0 x86jit: Implement vmmov using SIMD.
4x -> 87x in microbenchmarking.
2014-11-29 18:46:38 -08:00
Kingcom
6b29fe9d60 Change VROT disassembly 2014-11-29 18:33:33 +01:00
Unknown W. Brackets
67608639c5 x86jit: Oops, can't have loaded regs here yet. 2014-11-29 09:07:25 -08:00
Henrik Rydgard
8bd20ed8d1 x86 jit: Implement matrix init ops in SIMD. Turn off SIMD again by default (oops) 2014-11-29 12:30:21 +01:00
Henrik Rydgard
8f016d3e48 Merge some matrix utils and stuff from the NEON branch 2014-11-29 11:37:45 +01:00
Henrik Rydgård
ae15722a2e Merge pull request #7112 from unknownbrackets/jit-simd
jit: MAP_NOINIT should always mean MAP_DIRTY
2014-11-29 10:19:33 +01:00
Unknown W. Brackets
f6f943de63 jit: MAP_NOINIT should always mean MAP_DIRTY. 2014-11-29 00:14:08 -08:00
Henrik Rydgard
32c81c3265 x86 jit vcrsp.t: Oops, don't "SimpleReg" before doing the SIMD solution.. 2014-11-28 01:06:32 +01:00
Henrik Rydgard
344f71b092 x86 jit: Commit commented-out haddps-based vdot.q as reminder not to use haddps... 2014-11-28 00:19:11 +01:00
Henrik Rydgård
6ea5f6ab02 Merge pull request #7104 from Kingcom/Assembler
Replace assembler with a submodule
2014-11-27 23:56:49 +01:00
Henrik Rydgard
8f4d322dc6 Another oops... 2014-11-27 23:33:03 +01:00
Henrik Rydgard
bcdfb496a0 Oops, bad merge 2014-11-27 23:12:57 +01:00
Henrik Rydgard
c5bf3adec0 x86 jit: use the correct fp move instruction, minor optimization in vdot 2014-11-27 23:08:15 +01:00
Unknown W. Brackets
0839ce59e1 x86jit: Apply dirty when reusing 1-reg VS. 2014-11-27 01:05:11 -08:00
Unknown W. Brackets
bbeb5758b7 x86jit: Simplify VS() / VSX() usage. 2014-11-27 00:07:17 -08:00
Unknown W. Brackets
039510a3e3 x86jit: Respect dirty even for non-simd. 2014-11-26 23:29:20 -08:00
Unknown W. Brackets
f63c165f64 x86jit: Fix several cases of missing dirty checks. 2014-11-26 23:28:14 -08:00