[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-alpha
Subject: [PATCH]: Implement 128bit TImode FP-INT conversions for soft-fp
From: "Uros Bizjak" <ubizjak () gmail ! com>
Date: 2007-04-13 7:59:42
Message-ID: 5787cf470704130059p1bce6981l6bdd84af6214b622 () mail ! gmail ! com
[Download RAW message or body]
Hello!
Attached patch implements TImode conversion for soft-fp. These files
are needed for X86_64 for floatint conversions between 128bit TImode
integers. Please note that the size of DImode integer is 64bits for
x86_64.
As TImode is not supported for all targets, it should be defined in
target header (sfp-machine.h), as shown in the patch, attached to
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00728.html.
The patch is diffed agains gcc config/soft-fp, but these files are
shared with glibc's soft-fp. This patch passes all gcc's floatint
tests for x86_64 target.
Additionally, a couple of oversights (i.e. DFtype should be used
instead of double) are fixed along the way.
As stated in http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00729.html,
these files could be usefull for other targets, so I would like to ask
for an inclusion in libc's soft-fp library.
2007-04-13 Uros Bizjak <ubizjak@gmail.com>
* soft-fp/floattisf.c: New file.
* soft-fp/floattidf.c: New file.
* soft-fp/floattitf.c: New file.
* soft-fp/floatuntisf.c: New file.
* soft-fp/floatuntidf.c: New file.
* soft-fp/floatuntitf.c: New file.
* soft-fp/fixsfti.c: New file.
* soft-fp/fixdfti.c: New file.
* soft-fp/fixtfti.c: New file.
* soft-fp/fixunssfti.c: New file.
* soft-fp/fixunsdfti.c: New file.
* soft-fp/fixunstfti.c: New file.
* soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of
double in the function declaration.
* soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of
double in the function declaration.
* soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
float in the function declaration.
* soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
float in the function declaration.
Uros.
["libc.diff" (application/octet-stream)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic