https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62275

            Bug ID: 62275
           Summary: ARM should use vcvta instructions when possible for
                    float -> int rounding
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: josh.m.conner at gmail dot com

Instead of generating a library call for lround/lroundf, the ARM backend should
use vcvta.s32.f64 and vcvta.s32.f32 instructions instead (as long as
-fno-math-errno has been given, since this obviously won't set errno).

Reply via email to