[PATCH] D135588: [AArch64]SME2 multi-vec FP/INT down convert 2/4 registers

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 08:04:47 PDT 2022


CarolineConcatto created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
CarolineConcatto requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch implements
Int:

  SQCVT: Multi-vector signed saturating extract narrow for 2 and 4 registers.
  UQCVT: Multi-vector unsigned saturating extract narrow for 2 and 4 registers.
  SQCVTU: Multi-vector signed saturating unsigned extract narrow for 2 and 4 registers
  SQCVTN:  Multi-vector signed saturating extract narrow and interleave.
  SQCVTUN: Multi-vector signed saturating unsigned extract narrow and interleave.
  UQCVTN: Multi-vector unsigned saturating extract narrow and interleave.

FP:

  FCVT(narrowing): Multi-vector floating-point convert from single-precision to
                  packed half-precision.
  FCVTN: Multi-vector floating-point convert from single-precision to
           interleaved half-precision.
  BFCVT: Multi-vector floating-point convert from single-precision to packed
         BFloat16 format.
  BFCVTN: : Multi-vector floating-point convert from single-precision to
            interleaved BFloat16 format.

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2022-09

Depends on: D135563 <https://reviews.llvm.org/D135563>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135588

Files:
  llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
  llvm/lib/Target/AArch64/SMEInstrFormats.td
  llvm/test/MC/AArch64/SME2/bfcvt-diagnostics.s
  llvm/test/MC/AArch64/SME2/bfcvt.s
  llvm/test/MC/AArch64/SME2/bfcvtn-diagnostics.s
  llvm/test/MC/AArch64/SME2/bfcvtn.s
  llvm/test/MC/AArch64/SME2/fcvt-diagnostics.s
  llvm/test/MC/AArch64/SME2/fcvt.s
  llvm/test/MC/AArch64/SME2/fcvtn-diagnostics.s
  llvm/test/MC/AArch64/SME2/fcvtn.s
  llvm/test/MC/AArch64/SME2/sqcvt-diagnostics.s
  llvm/test/MC/AArch64/SME2/sqcvt.s
  llvm/test/MC/AArch64/SME2/sqcvtn-diagnostics.s
  llvm/test/MC/AArch64/SME2/sqcvtn.s
  llvm/test/MC/AArch64/SME2/sqcvtu-diagnostics.s
  llvm/test/MC/AArch64/SME2/sqcvtu.s
  llvm/test/MC/AArch64/SME2/sqcvtun-diagnostics.s
  llvm/test/MC/AArch64/SME2/sqcvtun.s
  llvm/test/MC/AArch64/SME2/uqcvt-diagnostics.s
  llvm/test/MC/AArch64/SME2/uqcvt.s
  llvm/test/MC/AArch64/SME2/uqcvtn-diagnostics.s
  llvm/test/MC/AArch64/SME2/uqcvtn.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135588.466507.patch
Type: text/x-patch
Size: 44451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221010/9544426b/attachment.bin>


More information about the llvm-commits mailing list