[AArch64]SME2 Multiple vectors Int/FP clamp instructions for two/four registers
authorCaroline Concatto <caroline.concatto@arm.com>
Fri, 21 Oct 2022 15:44:23 +0000 (16:44 +0100)
committerCaroline Concatto <caroline.concatto@arm.com>
Tue, 25 Oct 2022 08:12:27 +0000 (09:12 +0100)
commitecd78ec5b98ca77010c1c22eed64699e5e4c7a8e
treebd3c0b0556416e9222df463ef6d206343f853d2c
parent885dadf648fc5b174e21175f726917e1528df218
[AArch64]SME2 Multiple vectors Int/FP clamp instructions for two/four registers

This patch adds the assembly/disassembly for the following instruction:
Int:
  SCLAMP:Multi-vector signed clamp to minimum/maximum vector.
  UCLAMP:Multi-vector unsigned clamp to minimum/maximum vector.
FP:
  FCLAMP: Multi-vector floating-point clamp to minimum/maximum number.

  The reference can be found here:

    https://developer.arm.com/documentation/ddi0602/2022-09

    Depends on: D135563

Differential Revision: https://reviews.llvm.org/D135601
llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
llvm/lib/Target/AArch64/SMEInstrFormats.td
llvm/test/MC/AArch64/SME2/fclamp-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME2/fclamp.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME2/sclamp-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME2/sclamp.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME2/uclamp-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME2/uclamp.s [new file with mode: 0644]