[all-commits] [llvm/llvm-project] df6080: [NVPTX] Improve support for rsqrt.approx (#89417)

Alex MacLean via All-commits all-commits at lists.llvm.org
Tue Apr 23 08:57:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df608051234c256f1dc2c89f30afd034706c2c2e
      https://github.com/llvm/llvm-project/commit/df608051234c256f1dc2c89f30afd034706c2c2e
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/rsqrt-opt.ll
    A llvm/test/CodeGen/NVPTX/rsqrt.ll

  Log Message:
  -----------
  [NVPTX] Improve support for rsqrt.approx (#89417)

Complete support for rsqrt.approx with rsqrt.approx.f64 ([PTX ISA
9.7.3.17. Floating Point Instructions:
rsqrt.approx.ftz.f64](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#floating-point-instructions-rsqrt-approx-ftz-f64)).
Additionally, add support for folding `sqrt` into `rsqrt`, with an
optional flag to disable.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list