This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20142] New: Add SSE4.1 trunc, truncf
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 24 May 2016 21:17:00 +0000
- Subject: [Bug math/20142] New: Add SSE4.1 trunc, truncf
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20142
Bug ID: 20142
Summary: Add SSE4.1 trunc, truncf
Product: glibc
Version: 2.23
Status: NEW
Severity: enhancement
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-*-*
sysdeps/x86_64/fpu/multiarch has SSE4.1 versions of ceil, floor, rint and
nearbyint functions, using the roundss and roundsd instructions. Subject of
course to the usual benchmarking for any performance patch (including adding
benchmarks for these functions to the benchtests included with glibc), there
should be such versions of trunc and truncf, using immediate operand 11 to
those instructions to get the desired rounding direction.
--
You are receiving this mail because:
You are on the CC list for the bug.