Scope of MXCSR control register?

前端 未结 1 1157
眼角桃花
眼角桃花 2021-01-12 00:10

I\'m wondering what is the lifetime of the value stored in the MXCSR control register (including FTZ and DAZ config for denormal floating-point numbers): is

1条回答
  •  攒了一身酷
    2021-01-12 01:02

    Yes of course, you must set the MXCSR register at the beginning of each thread. Any thread can have own MXCSR settings, so this is essential feature.

    0 讨论(0)
提交回复
热议问题