[all-commits] [llvm/llvm-project] 3a4666: [PowerPC] Add vec_roundm as alias for vec_floor in...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Thu Apr 22 08:31:37 PDT 2021


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

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

  Log Message:
  -----------
  [PowerPC] Add vec_roundm as alias for vec_floor in altivec.h

Add the overloads for compatibility with XLC.


  Commit: 51692c6c630dfa9521af47b3c0c14d9f05f25375
      https://github.com/llvm/llvm-project/commit/51692c6c630dfa9521af47b3c0c14d9f05f25375
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M clang/lib/Headers/altivec.h

  Log Message:
  -----------
  [PowerPC] Add missing VSX guard for vec_roundm with vector double

The guard was missed in the previous commit.


  Commit: 1550c47c18f05800b20af071da50881ffd996254
      https://github.com/llvm/llvm-project/commit/1550c47c18f05800b20af071da50881ffd996254
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

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

  Log Message:
  -----------
  [PowerPC] Add vec_roundp as alias for vec_ceil

Add the overloads for compatibility with XLC.


  Commit: a1d325af6708ebd8ac9efb8d2d148f16feeda3fd
      https://github.com/llvm/llvm-project/commit/a1d325af6708ebd8ac9efb8d2d148f16feeda3fd
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

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

  Log Message:
  -----------
  [PowerPC] Add vec_roundz as alias for vec_trunc in altivec.h

Add the overloads for compatibility with XLC.


  Commit: a0e6189712297fd9a25723384039418bc68e8e9f
      https://github.com/llvm/llvm-project/commit/a0e6189712297fd9a25723384039418bc68e8e9f
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

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

  Log Message:
  -----------
  [PowerPC] Add vec_xlds to altivec.h

Add these overloads for compatibility with XLC. This is a doubleword
load-and-splat.


  Commit: e43963db24f68582edba8b227432714c60eac0c9
      https://github.com/llvm/llvm-project/commit/e43963db24f68582edba8b227432714c60eac0c9
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

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

  Log Message:
  -----------
  [PowerPC] Add vec_load_splats to altivec.h

Add these overloads for compatibility with XLC. This is a word
load-and-splat.


  Commit: 1cc1d9db286c7fbd0ff0a0757c2da2a5a6fc54a8
      https://github.com/llvm/llvm-project/commit/1cc1d9db286c7fbd0ff0a0757c2da2a5a6fc54a8
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M clang/lib/Headers/altivec.h

  Log Message:
  -----------
  [PowerPC] Add vec_vclz as an alias for vec_cntlz in altivec.h

Another addition for compatibility with XLC. The functions have the
same overloads so just add it as a preprocessor define.


  Commit: 7a5641d651963e91b05f25667df6cc694503248f
      https://github.com/llvm/llvm-project/commit/7a5641d651963e91b05f25667df6cc694503248f
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M clang/lib/Headers/altivec.h

  Log Message:
  -----------
  [PowerPC] Add missing casts for vec_xlds and vec_load_splats

The previous commits just missed some pointer casts and ended up
producing warnings.


Compare: https://github.com/llvm/llvm-project/compare/57ebf3d0087a...7a5641d65196


More information about the All-commits mailing list