And when I debug the context switch process between the DynamoRIO and the code cache native execution, it uses %gs register, I guess its where to store the `mcontext` data, but due to my limited background and relatively weak understanding of the codebase, I'm not sure what `gs` register is doing before `save_simd_reg` instrs in context switch.
Thanks so much! Please forgive me if there is anything inappropriate or unclear about my question.
--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dynamorio-users/00a54c86-a963-4f19-9d1b-e6f021fff255n%40googlegroups.com.


If you could provide some insights about why use %gs in this way or offer advice on how I might achieve my goals within the DynamoRIO core, I would be deeply grateful.
Thank again for your time and support❤️!
To view this discussion visit https://groups.google.com/d/msgid/dynamorio-users/35de3084-1b05-4a68-9a14-841ba3222d56n%40googlegroups.com.