How does tsan guarantee it won't clobber the xmm registers?

Jie He Jie.He at arm.com
Fri May 8 06:48:59 UTC 2020


Hi Arthur

I saw x86 code saves xmm0 because libc functions are called.
Then I have a question about current tsan instruments in interpreter.
How does tsan guarantee it won't clobber the xmm registers? I think it depends on compiler.
I couldn't find the documents or code to declare that.

Thanks
Jie He


More information about the tsan-dev mailing list