[PATCH] D19261: X86 _comi_ intrinsics - Fixed lowering

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 06:05:37 PDT 2016


delena created this revision.
delena added reviewers: DavidKreitzer, igorb.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.

Fixed _comi_ intrinsics from all sets - SSE/SSE2/AVX/AVX-512.

_mm_comi*_ss should return false for NaN operands.
_mm_comi_round_ss implemented with VCMPSS. This implementation is not optimal, but correct. 
The code will be optimized in a later patch.

Repository:
  rL LLVM

http://reviews.llvm.org/D19261

Files:
  ../lib/Target/X86/X86ISelLowering.cpp
  ../lib/Target/X86/X86IntrinsicsInfo.h
  ../test/CodeGen/X86/avx-intrinsics-x86.ll
  ../test/CodeGen/X86/avx512-intrinsics.ll
  ../test/CodeGen/X86/sse-intrinsics-x86.ll
  ../test/CodeGen/X86/sse2-intrinsics-x86.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19261.54181.patch
Type: text/x-patch
Size: 32424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160419/11bd6c7f/attachment-0001.bin>


More information about the llvm-commits mailing list