• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 10 11 12 13 14 ... 117 Next »

Compiling Win32 ARM64
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Compiling Win32 ARM64
03-26-2018, 03:21 AM
#3
Gerdya Offline
Junior Member
**
Posts: 20
Threads: 1
Joined: Mar 2018
(03-26-2018, 01:22 AM)JosJuice Wrote: If you've excluded the Core/Core/DSP/Jit/x64/ files from compilation, you should undo that. It's not ideal that Dolphin compiles the x64 DSP JIT even when it can't be used on the current CPU architecture, but that's how we're doing it for now.



Thanks! Indeed i did exclude these files. After i did put them back in i also had to put back in x64Emitter.cpp and x64ABI.cpp because DSPEmitter is derived from XEmitter (and is happily emitting x64 instructions).
From design point of view i assume it would be a good idea to have an abstract base class for DSPEmitter, which can be referenced in more generic code like DSPTables.cpp without generating too many host architecture related dependencies.

In any case linker errors are gone, the only issue left are references from Common.lib(WGL.obj) into opengl32.lib, which does not exist for ARM64.

I did disable the instantiation of the OGL backend as follows in VideoBackendBase.cpp
Code:
#if !defined _M_ARM_64 || !defined _WIN32
 g_available_video_backends.push_back(std::make_unique<OGL::VideoBackend>());
#endif
#ifdef _WIN32
 g_available_video_backends.push_back(std::make_unique<DX11::VideoBackend>());
#endif
#ifndef __APPLE__
 g_available_video_backends.push_back(std::make_unique<Vulkan::VideoBackend>());
#endif
 g_available_video_backends.push_back(std::make_unique<SW::VideoSoftware>());
 g_available_video_backends.push_back(std::make_unique<Null::VideoBackend>());

but that's not the whole story.
Again thanks a lot, the issues with DPSEmitter are gone Smile

BR,
Gerdya
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Compiling Win32 ARM64 - Gerdya - 03-26-2018, 12:41 AM
RE: Compiling Win32 ARM64 - JosJuice - 03-26-2018, 01:22 AM
RE: Compiling Win32 ARM64 - Gerdya - 03-26-2018, 03:21 AM
RE: Compiling Win32 ARM64 - JosJuice - 03-26-2018, 03:38 AM
RE: Compiling Win32 ARM64 - Gerdya - 03-26-2018, 04:44 AM
RE: Compiling Win32 ARM64 - Gerdya - 03-26-2018, 05:42 AM
RE: Compiling Win32 ARM64 - degasus - 03-27-2018, 03:46 AM
RE: Compiling Win32 ARM64 - Gerdya - 03-28-2018, 06:29 AM
RE: Compiling Win32 ARM64 - mbc07 - 03-26-2018, 03:29 PM
RE: Compiling Win32 ARM64 - degasus - 03-27-2018, 09:43 PM
RE: Compiling Win32 ARM64 - Gerdya - 03-29-2018, 02:24 AM
RE: Compiling Win32 ARM64 - degasus - 03-29-2018, 05:08 PM
RE: Compiling Win32 ARM64 - Gerdya - 03-29-2018, 08:24 PM
RE: Compiling Win32 ARM64 - degasus - 03-29-2018, 08:39 PM
RE: Compiling Win32 ARM64 - gilius - 04-02-2018, 06:56 AM
RE: Compiling Win32 ARM64 - Nintonito - 04-17-2018, 08:22 AM
RE: Compiling Win32 ARM64 - Gerdya - 04-24-2018, 04:27 AM
RE: Compiling Win32 ARM64 - degasus - 04-24-2018, 06:05 AM
RE: Compiling Win32 ARM64 - Gerdya - 04-24-2018, 06:29 AM
RE: Compiling Win32 ARM64 - degasus - 04-24-2018, 06:32 AM
RE: Compiling Win32 ARM64 - Gerdya - 04-24-2018, 08:12 AM
RE: Compiling Win32 ARM64 - JonnyH - 04-24-2018, 09:05 AM
RE: Compiling Win32 ARM64 - Gerdya - 04-24-2018, 10:32 AM
RE: Compiling Win32 ARM64 - degasus - 04-25-2018, 07:39 AM
RE: Compiling Win32 ARM64 - Gerdya - 05-02-2018, 04:20 AM
RE: Compiling Win32 ARM64 - degasus - 05-02-2018, 05:18 AM
RE: Compiling Win32 ARM64 - Gerdya - 05-02-2018, 08:21 AM
RE: Compiling Win32 ARM64 - degasus - 05-02-2018, 03:35 PM
RE: Compiling Win32 ARM64 - Gerdya - 05-14-2018, 08:09 PM
RE: Compiling Win32 ARM64 - degasus - 05-14-2018, 08:24 PM
RE: Compiling Win32 ARM64 - Gerdya - 05-15-2018, 03:04 AM
RE: Compiling Win32 ARM64 - Gerdya - 07-16-2018, 03:45 AM
RE: Compiling Win32 ARM64 - JMC47 - 07-16-2018, 08:05 AM
RE: Compiling Win32 ARM64 - degasus - 07-16-2018, 05:20 PM
RE: Compiling Win32 ARM64 - Gerdya - 07-17-2018, 08:03 AM
RE: Compiling Win32 ARM64 - Helios - 07-17-2018, 08:42 AM
RE: Compiling Win32 ARM64 - Gerdya - 12-01-2019, 11:55 PM
RE: Compiling Win32 ARM64 - MayImilae - 12-02-2019, 12:24 AM
RE: Compiling Win32 ARM64 - Gerdya - 12-02-2019, 02:51 AM
RE: Compiling Win32 ARM64 - dampflokfreund - 12-02-2019, 06:53 AM
RE: Compiling Win32 ARM64 - Gerdya - 12-02-2019, 08:16 AM
RE: Compiling Win32 ARM64 - MayImilae - 12-02-2019, 08:54 AM
RE: Compiling Win32 ARM64 - dampflokfreund - 12-12-2019, 10:46 PM
RE: Compiling Win32 ARM64 - Overhaul - 02-02-2020, 04:30 PM
RE: Compiling Win32 ARM64 - degasus - 02-04-2020, 01:22 AM
RE: Compiling Win32 ARM64 - Overhaul - 02-04-2020, 05:58 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode