[llvm-bugs] [Bug 47249] New: Some builtin intrinsics that are not constexpr but could be
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Thu Aug 20 03:46:48 PDT 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=47249
            Bug ID: 47249
           Summary: Some builtin intrinsics that are not constexpr but
                    could be
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: erich.keane at intel.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk
This isn't exhaustive, but all are low hanging fruit:
bit twiddling:
__builtin_bitreverse8
__builtin_bitreverse16
__builtin_bitreverse32
__builtin_bitreverse64
__builtin_rotateleft8
__builtin_rotateleft16
__builtin_rotateleft32
__builtin_rotateleft64
__builtin_rotateright8
__builtin_rotateright16
__builtin_rotateright32
__builtin_rotateright64
vectors:
__builtin_convertvector
__builtin_shufflevector
-fms-extensions variants:
__lzcnt16
__lzcnt
__lzcnt64
__popcnt16
__popcnt
__popcnt64
_rotl8
_rotl16
_rotl
_rotl64
_lrotl
_rotr8
_rotr16
_rotr
_rotr64
_lrotr
-- 
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/20200820/d1cb39a7/attachment.html>
    
    
More information about the llvm-bugs
mailing list