gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Make m5op speculative

VH
Vu Hoang Anh Pham
Fri, Dec 1, 2023 10:56 AM

Hello,

I am new to gem5. I am working on a project where i need a communication between 2 threads, i create 2 m5ops to "write" and "read" the information from the master and the slave. For the sake of performance, i want to make these 2 m5ops speculative (while keeping the other m5ops non-speculative as default). I have been trying different ways but i cannot figure out how to do that. Everything works fine in the case of non-speculative but i run into SegFaults when trying to make it speculative.

Can you help me please ?

Thank you very much in advance !

Best regards,

Hello, I am new to gem5. I am working on a project where i need a communication between 2 threads, i create 2 m5ops to "write" and "read" the information from the master and the slave. For the sake of performance, i want to make these 2 m5ops speculative (while keeping the other m5ops non-speculative as default). I have been trying different ways but i cannot figure out how to do that. Everything works fine in the case of non-speculative but i run into SegFaults when trying to make it speculative. Can you help me please ? Thank you very much in advance ! Best regards,