[all-commits] [llvm/llvm-project] e0407f: [PowerPC][Altivec] Fix offsets for vec_xl and vec_xst

nemanja-ibm via All-commits all-commits at lists.llvm.org
Thu Nov 7 18:58:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e0407f54965318247c8fece2dfa5c9023acf0973
      https://github.com/llvm/llvm-project/commit/e0407f54965318247c8fece2dfa5c9023acf0973
  Author: Nemanja Ivanovic <nemanjai at ca.ibm.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M clang/lib/Headers/altivec.h
    A clang/test/CodeGen/builtins-ppc-xl-xst.c

  Log Message:
  -----------
  [PowerPC][Altivec] Fix offsets for vec_xl and vec_xst

As we currently have it implemented in altivec.h, the offsets for these two
intrinsics are element offsets. The documentation in the ABI (as well as the
implementation in both XL and GCC) states that these should be byte offsets.

Differential revision: https://reviews.llvm.org/D63636




More information about the All-commits mailing list