[all-commits] [llvm/llvm-project] ef05b0: [AArch64] Use 64-bit movi for zeroing halfs/floats

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Tue Apr 6 00:43:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef05b08c612dd144003c1b2312bd2b365e7df519
      https://github.com/llvm/llvm-project/commit/ef05b08c612dd144003c1b2312bd2b365e7df519
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll
    M llvm/test/CodeGen/AArch64/f16-imm.ll

  Log Message:
  -----------
  [AArch64] Use 64-bit movi for zeroing halfs/floats

This was using the .2d variant which zeros 128 bits, but using the .2s variant
that zeros 64 bits is faster on some cores.

This is a prep step for D99586 to always using movi for zeroing floats.

Differential Revision: https://reviews.llvm.org/D99710




More information about the All-commits mailing list