PPU LLVM JIT Repository Early Testing
Started by Ekaseo




358 posts in this topic
gopalsr83
Unregistered


 
09-19-2014, 06:58 AM -
#71
(09-18-2014, 01:14 PM)tambre Wrote:
(09-18-2014, 12:12 PM)gopalsr83 Wrote: ZeCoxao, Darkriot, it looks like you are using Ivy Bridge processors that do not support the BMI2 instruction set. I made a commit a few minutes ago to disable the recompiler from generating BMI instructions. If possible please update your repositories and let me know if the crash is still occurring or not.

Thanks

edit: ZeCoxao, I do not have a Linux machine at the moment. This weekend, I will build a Linux VM and try to fix the compilation issues.

I understand this is early, but it would be nice to make it detect if you are running Haswell and enable the use of BMI2 instruction set in that case.

Ok. I am planning to do this at some point in the future (after the majority of the work on the recompiler is done). At the moment I am assuming that the minimum requirement is SSE4.1 (i.e. Penryn or newer required).

(09-19-2014, 06:55 AM)ZeCoxao Wrote: here are the instructions for a build in linux with only one linker error:
first of all create an environment variable called LLVM_DIR, like so:
Code:
export LLVM_DIR=/usr/share/llvm/cmake
then, remove ConvertUTF.cpp and ConvertUTF.h from Utilities
then remove LLVMRecompilerTests.cpp from Cell
then remove the lines that contain ConvertUTF in emucore.vcxproj
on a certain line in LLVMRecompiler.cpp there's a misname (Filesystem.h) rename it correctly:
Code:
#include "llvm/Support/FileSystem.h"
on line 2795 of file SimpleIni.h remove the include line there and replace it with this one:
Code:
#include "llvm/Support/ConvertUTF.h"
Afterwards just replace the content of CMakeLists.txt in rpcs3 folder with this one:
http://pastie.org/private/bgf7rzlijd1fodtbnpolq
Don't forget to build llvm by creating a directory inside it, compiling and installing it:
Code:
cd llvm
mkdir b
cd b
cmake ..
sudo make install
when it asks for password input it
after that, try to build it, you should only have this error:
http://pastie.org/private/3fdjb3rco0ku597iz8jbjg
hope i helped Smile

Much thanks. I will try to get the Linux build to work this weekend.
leon112211
Unregistered


 
09-19-2014, 07:55 AM -
#72
(09-19-2014, 06:50 AM)Darkriot Wrote:
(09-19-2014, 06:33 AM)leon112211 Wrote:
(09-19-2014, 01:46 AM)BlackDaemon Wrote: Recorded small video demo Tongue


Can you upload your merged version because i can't start sonic cd
it gives me network error

check my previous messages, I gave a link to download.

it still gives me that network thing
ssshadow
Administrator
*******


4
2,494 posts 63 threads Joined: Aug 2017
09-19-2014, 07:55 AM -
#73
(09-19-2014, 02:38 AM)makotech222 Wrote: Is anyone even actively developing that branch? It looks like the last commit was in february.

The last commit was like yesterday, where are you looking? Go to gopalsr83's github.
Cyrax_X(Ru4slan has banned)
Unregistered


 
09-19-2014, 08:10 AM -
#74
(09-19-2014, 06:58 AM)gopalsr83 Wrote: Overquoting.

Recompiler on SSSE 3 (SSE 3 , maybe I was wrong ) works well .
Darkriot
Member


0
498 posts 29 threads Joined: Aug 2017
09-19-2014, 08:29 AM -
#75
Cyrax_X, ...they says about compilation on linux, LoL.
Cyrax_X(Ru4slan has banned)
Unregistered


 
09-19-2014, 08:31 AM -
#76
(09-19-2014, 08:29 AM)Darkriot Wrote: Cyrax_X, ...they says about compilation on linux, LoL.

And for minimum SSE 4.1?Yes?
leon112211
Unregistered


 
09-19-2014, 08:44 AM -
#77
(09-19-2014, 08:29 AM)Darkriot Wrote: Cyrax_X, ...they says about compilation on linux, LoL.

Does sonic cd work on your merge because i downloaded it and doesnt go after menu
network bla bla
Darkriot
Member


0
498 posts 29 threads Joined: Aug 2017
09-19-2014, 08:55 AM -
#78
(09-19-2014, 08:44 AM)leon112211 Wrote:
(09-19-2014, 08:29 AM)Darkriot Wrote: Cyrax_X, ...they says about compilation on linux, LoL.

Does sonic cd work on your merge because i downloaded it and doesnt go after menu
network bla bla

I don't have the Sonic cd.
makotech222
Unregistered


 
09-19-2014, 09:47 AM -
#79
(09-19-2014, 07:55 AM)ssshadow Wrote:
(09-19-2014, 02:38 AM)makotech222 Wrote: Is anyone even actively developing that branch? It looks like the last commit was in february.

The last commit was like yesterday, where are you looking? Go to gopalsr83's github.

I was looking here:

https://github.com/DHrpcs3/rpcs3/tree/ppu_recompiler

Got a link to his git?
Darkriot
Member


0
498 posts 29 threads Joined: Aug 2017
09-19-2014, 10:08 AM -
#80
(09-19-2014, 09:47 AM)makotech222 Wrote:
(09-19-2014, 07:55 AM)ssshadow Wrote:
(09-19-2014, 02:38 AM)makotech222 Wrote: Is anyone even actively developing that branch? It looks like the last commit was in february.

The last commit was like yesterday, where are you looking? Go to gopalsr83's github.

I was looking here:

https://github.com/DHrpcs3/rpcs3/tree/ppu_recompiler

Got a link to his git?

https://github.com/gopalsr83/rpcs3


Forum Jump:


Users browsing this thread: 1 Guest(s)