This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH, soft-fp]: Use mode(word) as a return type from soft-fp comparisons
- From: Daniel Jacobowitz <drow at false dot org>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: libc-alpha at sourceware dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 11 Jun 2007 11:51:15 -0400
- Subject: Re: [PATCH, soft-fp]: Use mode(word) as a return type from soft-fp comparisons
- References: <466A6D4E.4050502@gmail.com>
On Sat, Jun 09, 2007 at 11:05:18AM +0200, Uros Bizjak wrote:
> Hello!
>
> This patch fixes the problems exposed with the testcase below. The problem is,
> that soft-fp functions return int value, where gcc expects the return from
> soft-fp functions to be in word mode. On x86_64 target, word_mode equals
> DImode, where int equals SImode, leading to comparison failures for certain
> class of input operands.
Isn't someone (Andreas Krebbel?) trying to eliminate uses of
mode((word))?
--
Daniel Jacobowitz
CodeSourcery