[llvm-bugs] [Bug 43337] New: <altivec.h> is missing vec_sel(vector [un]signed long long, ...)
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 16 20:34:40 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43337
Bug ID: 43337
Summary: <altivec.h> is missing vec_sel(vector [un]signed long
long, ...)
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Headers
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
The following overloads of vec_sel are missing from <altivec.h>:
vector signed long long vec_sel(vector signed long long,
vector signed long long,
vector bool long long);
vector signed long long vec_sel(vector signed long long,
vector signed long long,
vector unsigned long long);
vector unsigned long long vec_sel(vector unsigned long long,
vector unsigned long long,
vector bool long long);
vector unsigned long long vec_sel(vector unsigned long long,
vector unsigned long long,
vector unsigned long long);
Worse, the PPC wrapper <emmintrin.h> relies on one of these in the
implementation of _mm_sll_epi64.
We currently "get away with" this due to the broken default of
-flax-vector-conversions, but builds using <emmintrin.h> under Power8 fail with
-fno-lax-vector-conversions due to this (and other bugs in our intrinsics
headers).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190917/c2c5ce2b/attachment.html>
More information about the llvm-bugs
mailing list