Re:Felix86: Run x86-64 programs on RISC-V Linux
by JonChesterfield on Friday May 02, 2025 @12:30AM
(#43866211)
Haven't found the source code (https://github.com/orgs/felix86-emu/repositories looked likely but no), curious whether this is a qemu fork or a DIY effort.
[ Parent
| on HN ]
Re:Felix86: Run x86-64 programs on RISC-V Linux
by JonChesterfield on Friday May 02, 2025 @01:08AM
(#43866393)
Nice, thanks! I appreciate seeing a bunch of the instruction definitions written in a serialisation format (e.g. https://github.com/OFFTKP/felix86/blob/master/counts/SSE2.js...) as opposed to C macros.
Re:Felix86: Run x86-64 programs on RISC-V Linux
by bonzini on Friday May 02, 2025 @01:41AM
(#43866522)
Those are tests, it seems. The actual sources are at https://github.com/OFFTKP/felix86/tree/master/src/felix86 and the disassembler is https://zydis.re.
Re:Felix86: Run x86-64 programs on RISC-V Linux
by dzaima on Saturday May 03, 2025 @08:33PM
(#43883518)
The main x86 to RISC-V instruction mapping is in this file: https://github.com/OFFTKP/felix86/blob/master/src/felix86/v2...
That file is just testing I believe.