[Bug target/62275] New: ARM should use vcvta instructions when possible for float -> int rounding
josh.m.conner at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 26 23:11:00 GMT 2014
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).
More information about the Gcc-bugs
mailing list