[PATCH] D63636: [PowerPC][Altivec] Fix offsets for vec_xl and vec_xst

Nemanja Ivanovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 18:23:53 PDT 2019


nemanjai created this revision.
nemanjai added reviewers: hfinkel, jsji, rzurob, saghir.
Herald added a subscriber: kbarton.
Herald added a project: clang.

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.


Repository:
  rC Clang

https://reviews.llvm.org/D63636

Files:
  lib/Headers/altivec.h
  test/CodeGen/builtins-ppc-xl-xst.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63636.205937.patch
Type: text/x-patch
Size: 65016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190621/bfab2252/attachment-0001.bin>


More information about the cfe-commits mailing list