[all-commits] [llvm/llvm-project] 082c5d: [PowerPC] Implement builtin for mffsl

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Mon Sep 4 20:22:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 082c5d7f63c490af69e8280e5b5ff6bf6051bd59
      https://github.com/llvm/llvm-project/commit/082c5d7f63c490af69e8280e5b5ff6bf6051bd59
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/test/CodeGen/PowerPC/builtins-ppc.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/CodeGen/PowerPC/read-set-flm.ll

  Log Message:
  -----------
  [PowerPC] Implement builtin for mffsl

mffsl is available since ISA 3.0. The builtin is named with ppc prefix
to follow our convention. For targets earlier than power9, GCC generates
extra code to support the functionality, while this patch does not
implement such behavior.

Reviewed By: nemanjai, tuliom

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




More information about the All-commits mailing list