[all-commits] [llvm/llvm-project] 6725b9: [PowerPC] Add vec_ctsl and vec_ctul to altivec.h

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Fri Apr 23 09:05:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6725b90a02c6d2696385c0328bd000516913ce4b
      https://github.com/llvm/llvm-project/commit/6725b90a02c6d2696385c0328bd000516913ce4b
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/Headers/altivec.h
    M clang/test/CodeGen/builtins-ppc-vsx.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/builtins-ppc-elf2-abi.ll

  Log Message:
  -----------
  [PowerPC] Add vec_ctsl and vec_ctul to altivec.h

These are added for compatibility with XLC. They are similar to
vec_cts and vec_ctu except that the result is a doubleword vector
regardless of the parameter type.




More information about the All-commits mailing list