We need to continue works on Scalar Fixed-Point + Floating-Point Compliancy Subset (SFFS). The Linux distribution must be compiled and be able to run; this might be a multi-phase work due to the huge amount of packages to support. In particular this stage should focus more on what has to be done to cavatools to get it to run SFFS binaries: ELF linker loading of dynamic libraries. this makes this task radically different from bug #999 which is focussed on actually getting SFFS Distros to first compile and second run under qemu and other VMs. ---- * DONE: bug #1169 ELF binary support in ISACaller * DONE: mmap support for syscalls * MOVED: bug #1228 syscall "write to file using mmap" test (needs the default-overrides, bug #1173, bug #1174)
The works on this were started in the task https://bugs.libre-soc.org/show_bug.cgi?id=860. It is important to read the discussion there first.
seems like the title should have SFFS, not LFFS. #939 should be updated to match.
Nice catch! Updated.
as a summary for this task: it turned out to be a massive body of work far greater than anticipated. the groundwork was laid for adding 100+ system calls. mmap support and the beginnings of ELF support combined with enough system calls were added to run statically-compiled ELF binaries. * https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/test_syscall.py;hb=fa603a1e9f2259d86acf4e9451937a000d099289 * https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/test_caller_syscall.py;hb=fa603a1e9f2259d86acf4e9451937a000d099289 with actual unit tests here https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/test/syscall/syscall_cases.py;hb=fa603a1e9f2259d86acf4e9451937a000d099289 future work in bug #1228 is to extend these beginnings further. a start was made on that work already, and it had to be parked as it is so large.
(In reply to Luke Kenneth Casson Leighton from comment #6) > as a summary for this task thanks. > * > https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/ > decoder/isa/test_syscall.py;hb=fa603a1e9f2259d86acf4e9451937a000d099289 i edited all links to link to a particular commit instead of HEAD, this is necessary because those files might move and/or change in a future commit and we want the links to not break. luke, please be more careful about doing that.