[gem5-users] Re: SE Mode crashing with multithread workload

2021-01-14 Thread Jiayi Huang via gem5-users
Hi Farhad, I encountered the same error as yours. And I fixed it in my local code base. The changes were posted here: https://gem5.atlassian.net/browse/GEM5-798. I am waiting for gem5 maintainers to see if can lead to potential problems. So far I don't think so. Best regards, Jiayi

[gem5-users] Re: Implementation of write() Syscall in SE Mode

2021-01-14 Thread Gabe Black via gem5-users
SE mode does not work at the standard library level, it works at the system call level. As long as your custom standard library uses the normal linux system calls and the normal linux system call ABI, you shouldn't have to do anything special. There could be a very minor technical exception on x86

[gem5-users] Implementation of write() Syscall in SE Mode

2021-01-14 Thread jan.thoma--- via gem5-users
Hi all, I am a little stuck and would appreciate if someone could help. I am simulating in Gem5 syscall emulation mode and I've made some modifications to the CPU model to support some additional instructions (RISC-V). To compile programs using the new instructions, I also have a clang compiler