On Tue, Dec 10, 2013 at 8:05 AM, Kirill Yukhin <[email protected]> wrote:
> On 09 Dec 14:08, H.J. Lu wrote:
>>
>> There are no regressions on Linux/x86-64 with -m32 and -m64.
>> Can you check if it improves code quality on x886?
>
> As second thought. If Tejas and Richard are right and it is simply incorrect
> to check any offsets in this hook, may be we can end up with patch in the
> bottom?
>
> Test is passing (however I still don't know how to prohibit it for 32 bit
> x86),
> bootstrap in progress.
>
> Ideas?
>
> This change belongs to rth.
>
> NOINLINE float
> foo32x2_le (float32x2_t x)
> {
> +#ifdef __i386__
> + __builtin_ia32_emms ();
> +#endif
> return bar (x[0]);
> }
>
You should check both __i386__ and __x86_64__.
--
H.J.