[Bug math/20142] New: Add SSE4.1 trunc, truncf

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue May 24 21:17:00 GMT 2016


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.


More information about the Glibc-bugs mailing list