This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPU LLVM JIT Repository Early Testing
#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.
Reply


Messages In This Thread
PPU LLVM JIT Repository Early Testing - by Ekaseo - 09-14-2014, 09:48 PM
RE: ppu recompiler repository build - by ssshadow - 09-15-2014, 12:32 AM
RE: ppu recompiler repository build - by ZeCoxao - 09-15-2014, 12:34 AM
RE: ppu recompiler repository build - by ssshadow - 09-15-2014, 12:47 AM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 01:31 PM
RE: ppu recompiler repository build - by ssshadow - 09-15-2014, 06:49 PM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 07:06 PM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 09:59 PM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 10:22 PM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 10:31 PM
RE: ppu recompiler repository build - by Ekaseo - 09-15-2014, 11:01 PM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 11:04 PM
RE: ppu recompiler repository build - by ssshadow - 09-15-2014, 11:20 PM
RE: ppu recompiler repository build - by Darkriot - 09-15-2014, 11:23 PM
RE: ppu recompiler repository build - by Gundark - 09-16-2014, 05:15 PM
RE: ppu recompiler repository build - by Darkriot - 09-16-2014, 07:00 PM
RE: ppu recompiler repository build - by Oil - 09-16-2014, 08:56 PM
RE: ppu recompiler repository build - by Darkriot - 09-16-2014, 09:48 PM
RE: ppu recompiler repository build - by ssshadow - 09-16-2014, 10:57 PM
RE: ppu recompiler repository build - by Ekaseo - 09-17-2014, 09:21 AM
RE: ppu recompiler repository build - by ssshadow - 09-17-2014, 11:08 AM
RE: ppu recompiler repository build - by Darkriot - 09-17-2014, 01:13 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-17-2014, 07:02 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-18-2014, 11:50 AM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 12:05 PM
RE: ppu recompiler repository build - by tambre - 09-18-2014, 01:14 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-18-2014, 01:33 PM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 02:18 PM
RE: ppu recompiler repository build - by jacky400 - 09-18-2014, 02:56 PM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 03:33 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-18-2014, 04:16 PM
RE: ppu recompiler repository build - by HyPeR - 09-18-2014, 04:47 PM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 05:01 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-18-2014, 05:03 PM
RE: ppu recompiler repository build - by Ru4slan - 09-18-2014, 05:24 PM
RE: ppu recompiler repository build - by jacky400 - 09-18-2014, 06:37 PM
RE: ppu recompiler repository build - by Ekaseo - 09-18-2014, 06:43 PM
RE: ppu recompiler repository build - by Ru4slan - 09-18-2014, 07:25 PM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 07:48 PM
RE: ppu recompiler repository build - by Ru4slan - 09-18-2014, 07:51 PM
RE: ppu recompiler repository build - by ssshadow - 09-18-2014, 08:13 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-18-2014, 09:12 PM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 09:19 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-18-2014, 09:24 PM
RE: ppu recompiler repository build - by ssshadow - 09-18-2014, 09:56 PM
RE: ppu recompiler repository build - by Darkriot - 09-18-2014, 10:27 PM
RE: ppu recompiler repository build - by twdarkeh - 09-19-2014, 02:24 AM
RE: ppu recompiler repository build - by derpf - 09-19-2014, 05:18 AM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 05:50 AM
RE: ppu recompiler repository build - by Darkriot - 09-19-2014, 06:50 AM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 06:55 AM
RE: ppu recompiler repository build - by gopalsr83 - 09-19-2014, 06:58 AM
RE: ppu recompiler repository build - by ssshadow - 09-19-2014, 07:55 AM
RE: ppu recompiler repository build - by Darkriot - 09-19-2014, 08:29 AM
RE: ppu recompiler repository build - by Darkriot - 09-19-2014, 08:55 AM
RE: ppu recompiler repository build - by Darkriot - 09-19-2014, 10:08 AM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 12:36 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 04:25 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 04:50 PM
RE: ppu recompiler repository build - by tambre - 09-19-2014, 04:52 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 05:07 PM
RE: ppu recompiler repository build - by tambre - 09-19-2014, 05:28 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 05:33 PM
RE: ppu recompiler repository build - by tambre - 09-19-2014, 05:34 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 05:37 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 05:43 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 05:49 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 05:55 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 05:57 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 06:25 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 06:26 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 06:32 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 06:47 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 06:50 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 06:54 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 06:59 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 07:00 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 07:04 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 07:11 PM
RE: ppu recompiler repository build - by tambre - 09-19-2014, 07:41 PM
RE: ppu recompiler repository build - by ZeCoxao - 09-19-2014, 09:51 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 10:17 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 10:31 PM
[split] Pongus v1.0 - by Dante38490 - 09-19-2014, 11:22 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 11:36 PM
[split] Sonic CD [NPEB00787] - by Dante38490 - 09-19-2014, 11:39 PM
RE: ppu recompiler repository build - by Ekaseo - 09-19-2014, 11:40 PM
RE: ppu recompiler repository build - by d875j - 09-19-2014, 11:52 PM
RE: Sonic CD [NPEB00787] - by d875j - 09-20-2014, 12:02 AM
RE: Sonic CD [NPEB00787] - by Dante38490 - 09-20-2014, 12:25 AM
RE: Sonic CD [NPEB00787] - by Darkriot - 09-20-2014, 12:37 AM
RE: Sonic CD [NPEB00787] - by Dante38490 - 09-20-2014, 12:56 AM
[split] Disgaea 4 [BLES01225] - by Dante38490 - 09-20-2014, 04:03 AM
RE: Pongus v1.0 - by tambre - 09-20-2014, 07:41 AM
[split] PS3Pong - by Dante38490 - 09-23-2014, 06:47 PM
RE: PS3Pong - by Darkriot - 09-23-2014, 08:45 PM
[split] Doom - by Dante38490 - 09-24-2014, 07:09 PM
RE: Doom - by Darkriot - 09-24-2014, 07:26 PM
RE: Doom - by Dante38490 - 09-24-2014, 07:32 PM
RE: Doom - by pnkie666 - 09-24-2014, 07:40 PM
RE: Doom - by Dante38490 - 09-24-2014, 07:42 PM
RE: Doom - by ssshadow - 09-24-2014, 07:50 PM

Forum Jump:


Users browsing this thread: 25 Guest(s)