Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

How to disable FPU on Intel Core2 Duo

adamczez
Beginner
744 Views
Can I disable FPU on Intel Core 2 Duo CPU? I would like to measure performance of my code where FPU is not available ie. all FP instructions are executed in emulation mode. I was able to do that some 10 years ago by using CR0 register.

Thanks

Adam
0 Kudos
1 Reply
jancino
Beginner
744 Views
Quoting - adamczez
Can I disable FPU on Intel Core 2 Duo CPU? I would like to measure performance of my code where FPU is not available ie. all FP instructions are executed in emulation mode. I was able to do that some 10 years ago by using CR0 register.

Thanks

Adam

I think that when you disable FPU processor will generate exception when it tryes to execute FPU instruction. I think that FPU instructions must be emulated by software (look at yourcompiler options).
0 Kudos
Reply