[all-commits] [llvm/llvm-project] 62f20f: [PowerPC] Support test data class intrinsic of 128...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Wed Dec 7 00:46:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62f20f51ce39560e439f522536e0bf1e2f1f9fa9
      https://github.com/llvm/llvm-project/commit/62f20f51ce39560e439f522536e0bf1e2f1f9fa9
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/PowerPC/builtins-ppc-p9-f128.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-pwr9-error.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-test.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll
    M llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-test.ll

  Log Message:
  -----------
  [PowerPC] Support test data class intrinsic of 128-bit float

We've exploited test data class instructions introduced in ISA 3.0.
This change unifies the scalar intrinsics into ppc_test_data_class
and add support for 128-bit precision float values using xststdcqp.

Vector versions of the intrinsic can't be unified because they return
vector int instead of int.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D138105




More information about the All-commits mailing list