On Mon, Oct 29, 2012 at 4:04 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > I'm not fantastically enthused about bitfields, but since this is a test > program and not part of QEMU proper I don't think rewriting to avoid > them is justified. I could maybe check some conditions (perhaps sizeof(union float80u) == sizeof(long double)?) to at least warn if the test turns out to be inconclusive?
Maybe even construct some values from fields and check for equality against a long double literal?