Is there a compiler option that can prevent the generation of sse/avx instructions using xmm/ymm ? […]
AFAIK, there
are some development efforts, but the FPC does
currently not use SSE/AVX instructions (except data
moves). Could you show some code that led to insertion of “undesired” instructions? The System Ⅴ ABI (which the FPC [largely/completely] complies with on some targets) can use
xmm registers
for parameter passing, but, you know, this does not really constitute
serious use of SIMD instructions.
Afaik SSE2 is part of the architecture definition of the x86_64 architecture. […]
Nope, it’s not. SSE2 literally stands for Streaming SIMD
Extensions 2. You
can query availability of SSE2 via
cpuid. However, there are no commercially available x86‑64 processors that
do not support SSE2, hence you can almost certainly infer x86‑64 ⇒ SSE2 available.