[all-commits] [llvm/llvm-project] f10ec8: [libc][riscv] Check if we have F or D extension be...

Petr Hosek via All-commits all-commits at lists.llvm.org
Mon Jan 22 11:33:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f10ec8c77403fd722b3f50710cb73757da4383e4
      https://github.com/llvm/llvm-project/commit/f10ec8c77403fd722b3f50710cb73757da4383e4
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M libc/src/__support/FPUtil/riscv/FMA.h
    M libc/src/__support/FPUtil/riscv/sqrt.h

  Log Message:
  -----------
  [libc][riscv] Check if we have F or D extension before using them (#79036)

We shouldn't be using instructions that require F or D extensions
unconditionally before checking if those instructions are available.




More information about the All-commits mailing list