From: Jim Westfall <jwestfall@surrealistic.net>
To: xen-devel@lists.xen.org
Subject: fma4/avx under xen
Date: Wed, 2 May 2012 11:54:02 -0700 [thread overview]
Message-ID: <20120502185402.GV5985@surrealistic.net> (raw)
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
next reply other threads:[~2012-05-02 18:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 18:54 Jim Westfall [this message]
2012-05-04 9:25 ` fma4/avx under xen Ian Campbell
2012-05-04 9:27 ` Jan Beulich
2012-05-04 16:04 ` Jim Westfall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120502185402.GV5985@surrealistic.net \
--to=jwestfall@surrealistic.net \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).