Commit 60642ede authored by Matthias Braun's avatar Matthias Braun
Browse files

reenable femms

parent 337d8094
......@@ -894,14 +894,8 @@ void ia32_setup_cg_config(void)
c->use_softfloat = (fpu_arch & IA32_FPU_ARCH_SOFTFLOAT) != 0;
c->use_sse2 = (fpu_arch & IA32_FPU_ARCH_SSE2) != 0 && flags(arch, arch_feature_sse2);
c->use_ffreep = flags(opt_arch, arch_athlon_plus);
/* valgrind can't cope with femms yet and the usefulness of the optimization
* is questionable anyway */
#if 0
c->use_femms = flags(opt_arch, arch_athlon_plus) &&
flags(arch, arch_feature_mmx | arch_all_amd);
#else
c->use_femms = 0;
#endif
c->use_fucomi = flags(arch, arch_feature_p6_insn);
c->use_cmov = flags(arch, arch_feature_cmov);
c->use_modeD_moves = flags(opt_arch, arch_generic32 | arch_athlon_plus | arch_netburst | arch_nocona | arch_core2 | arch_ppro | arch_geode);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment