simple64 / simple64

Accurate N64 Emulator
https://simple64.github.io
GNU General Public License v3.0
852 stars 61 forks source link

Feature Request: Add SIMDe Library for easy Hardware Architecture independence #425

Closed 0lhi closed 1 week ago

0lhi commented 1 week ago

There have been requests to make simple64 compile on other architectures before:

Both were rejected in favor of the advantages that the x86-64-v3 instructions provide.

The SIMDe (SIMD Everywhere) library may provide a solution that aligns with simple64's priorities.

https://github.com/simd-everywhere/simde

Some key points from their README:

Adding this library would significantly increase the accessibility of the emulator while allowing x86-64-v3 to remain the focus of the development team and main beneficiary of performance tweaks.

loganmc10 commented 1 week ago

This does not really apply to how simple64 uses x86-64-v3. Simple64 is compiled using gcc with a target architecture of x86-64-v3, meaning all the C/C++ code is compiled into x86-64-v3 assembly language, this header library won't work around that.