This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This patch addresses an issue in which soft-fp truncation fails to
raise underflow, the issue was found while porting glibc to aarch64,
relevant posts on libc-ports start here:
http://sourceware.org/ml/libc-ports/2012-11/msg00017.html
This patch has been tested by updating the copy of soft-fp in gcc and
running the glibc test suite for aarch64.
OK?
/Marcus
2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
detection to immediately after _FP_ROUND().
* soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
bits are 0.
Attachment:
underflow-detection.diff
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |