summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/DeclSpec.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-08-25 07:42:09 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-08-25 07:42:09 +0000
commit8515893be8da22ddd713ccbc79b06409a46ec76a (patch)
tree3a8d60e6ef6f790e82f240765147ed1e7a2776ff /clang/lib/Sema/DeclSpec.cpp
parent2c8f9c2c23e0cafd7b85a7aec969c949349f747c (diff)
downloadbcm5719-llvm-8515893be8da22ddd713ccbc79b06409a46ec76a.tar.gz
bcm5719-llvm-8515893be8da22ddd713ccbc79b06409a46ec76a.zip
[X86] Fix fptoui conversions
This fixes two issues in x86 fptoui lowering. 1) Makes conversions from f80 go through the right path on AVX-512. 2) Implements an inline sequence for fptoui i64 instead of a library call. This improves performance by 6X on SSE3+ and 3X otherwise. Incidentally, it also removes the use of ftol2 for fptoui, which was wrong to begin with, as ftol2 converts to a signed i64, producing wrong results for values >= 2^63. Patch by: mitch.l.bodart@intel.com Differential Revision: http://reviews.llvm.org/D11316 llvm-svn: 245924
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud