On 23.02.2026 11:04, Edwin Török wrote: > clang-21 doesn't support `-ffixed-xmm0`, so `%xmm0` won't have the > expected value. > Disable these tests on clang.
I don't think that's what we want, and not only because of the clutter the various #ifdef cause. We want to be able to run as many of the tests as possible, so the first goal should be to find some alternative mechanism to achieve the same effect. A global register variable comes to mind as a possible option. Further, how did you arrive at which tests need suppressing? I don't think we rely on an "expected value" anywhere. I don't even recall us passing -ffixed-xmm0 when compiling test_x86_emulate.c. We use that option when building various of the test blobs, iirc. And the comment ahead of the first use explains why we use the option there. (Later we also use -ffixed-ymm<N> and -ffixed-zmm<N>, btw.) Jan
