[all-commits] [llvm/llvm-project] d1a4f0: [AArch64] Lower extending sitofp using tbl (#92528)

Momchil Velikov via All-commits all-commits at lists.llvm.org
Mon Jun 17 09:57:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1a4f0c9fb559eb4c2fb56112e56343bcd333edc
      https://github.com/llvm/llvm-project/commit/d1a4f0c9fb559eb4c2fb56112e56343bcd333edc
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sitofp-to-tbl.ll

  Log Message:
  -----------
  [AArch64] Lower extending sitofp using tbl (#92528)

In a similar manner as in https://reviews.llvm.org/D133494
use `TBL` to place bytes in the *upper* part of `i32` elements
and then convert to float using fixed-point `scvtf`, i.e.

    scvtf Vd.4s, Vn.4s, #24



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