xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* fma4/avx under xen
@ 2012-05-02 18:54 Jim Westfall
  2012-05-04  9:25 ` Ian Campbell
  2012-05-04  9:27 ` Jan Beulich
  0 siblings, 2 replies; 4+ messages in thread
From: Jim Westfall @ 2012-05-02 18:54 UTC (permalink / raw)
  To: xen-devel

Hi

I wanted to bring this to your attention

https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/956051

The summary is that when gcc compiles something with -mfma4 it also 
enables the use of the avx instruction set.  Since by default xen 
disables avx it leads to invalid opcodes.

This ends up being kinda nasty with the multiarch glibc since its doing 
stuff like

(HAS_FMA4 ? run_fma4_func() : (HAS_AVX ? run_avx_func() : run_func()))

run_fma4_func() can end up bombing out from the invalid opcode when run 
under xen.

Its not clear to me if xen should be filtering fma4 as part of its avx 
filter or if gcc should not assume avx support when compiling with 
-mfma4.

thoughts?

thanks
jim

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-04 16:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-02 18:54 fma4/avx under xen Jim Westfall
2012-05-04  9:25 ` Ian Campbell
2012-05-04  9:27 ` Jan Beulich
2012-05-04 16:04   ` Jim Westfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).