[all-commits] [llvm/llvm-project] 533d98: [X86] Cast to __v4hi instead of __m64 in the imple...

topperc via All-commits all-commits at lists.llvm.org
Wed Feb 12 05:51:54 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 533d98bdced6f75d0c7e4f42476b3bc873a113b6
      https://github.com/llvm/llvm-project/commit/533d98bdced6f75d0c7e4f42476b3bc873a113b6
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M clang/lib/Headers/xmmintrin.h

  Log Message:
  -----------
  [X86] Cast to __v4hi instead of __m64 in the implementation of _mm_extract_pi16 and _mm_insert_pi16.

__m64 is a vector of 1 long long. But the builtins these intrinsics
are calling expect a vector of 4 shorts.

Fixes PR44589

(cherry picked from commit 16b9410caa35da976fa5f3cf6dd3d6f3776d51ca)




More information about the All-commits mailing list