This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Add a POWER8 implementation for GET|SET_FLOAT_WORD
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 20 Dec 2016 18:46:52 +0000
- Subject: Re: [PATCH] powerpc: Add a POWER8 implementation for GET|SET_FLOAT_WORD
- Authentication-results: sourceware.org; auth=none
- References: <1482258824-5741-1-git-send-email-tuliom@linux.vnet.ibm.com>
On Tue, 20 Dec 2016, Tulio Magno Quites Machado Filho wrote:
> Provides a POWER8-specific implementation for GET_FLOAT_WORD and
> SET_FLOAT_WORD that is able to extract or set a float using only VSR and
> GPR.
Why doesn't the compiler handle this automatically when building for
POWER8? My comments in
<https://sourceware.org/ml/libc-alpha/2016-06/msg01180.html> apply equally
here (but reinterpretation of a bit pattern between integer and float is
more generic than bitwise masking of a float, so a wider range of code is
likely to benefit from such a compiler optimization).
--
Joseph S. Myers
joseph@codesourcery.com