/arch:SSE prefers to use fmul?

Lychy 1 Reputation point

Here's some sample code:
int n = 200;
float x = 0.2;
double z = n * x;

If I were to compile using /arch:SSE, the assembler code uses fmul,
but compiling with /arch:SSE2 results in it using mulss,

How come /arch:SSE doesn't use mulss despite it being an SSE1 instruction?

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,598 questions
{count} votes