Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Will -mp/-mp1 options be obsolete?

TRai2
Novice
251 Views
I've heard at Premier Support, "-fp-model xxx" options are recommended more than -mp/-mp1. However I don't know the equivalent -fp-model to -mp1.

So I wonder -mp1 will be obsolete or not. I like this because it's fast in spite of its precision (or just -prec-div -prec-sqrt is fine).
0 Kudos
1 Reply
Eric_M_Intel2
Employee
251 Views

Our best recommendation for mp is fp-model strict fp-model no-except, given no other information regarding your expectations/needs.

There is no -fp-model switch to replace -mp1.

In a future compiler we expect that -prec_div -prec-sqrt will be the method to replace -mp1. Currently however -mp1 is the only recomended method of getting IEEE NaN compares.

Regards,

Eric M

0 Kudos
Reply