[all-commits] [llvm/llvm-project] fc6453: [SveEmitter] Add immediate checks for lanes and co...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Apr 20 07:12:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fc645397498037ccb7df230a07e9a8762aaf8c8f
      https://github.com/llvm/llvm-project/commit/fc645397498037ccb7df230a07e9a8762aaf8c8f
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-04-20 (Mon, 20 Apr 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/arm_sve.td
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_cadd.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_cmla.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_dot.c
    A clang/test/CodeGen/aarch64-sve-intrinsics/negative/acle_sve_mla.c
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [SveEmitter] Add immediate checks for lanes and complex imms

Adds another bunch of of intrinsics that take immediates with
varying ranges based, some being a complex rotation immediate
which are a set of allowed immediates rather than a range.

    svmla_lane:   lane immediate ranging 0..(128/(1*sizeinbits(elt)) - 1)
    svcmla_lane:  lane immediate ranging 0..(128/(2*sizeinbits(elt)) - 1)
    svdot_lane:   lane immediate ranging 0..(128/(4*sizeinbits(elt)) - 1)
    svcadd:       complex rotate immediate [90, 270]
    svcmla:
    svcmla_lane:  complex rotate immediate [0, 90, 180, 270]

Reviewers: efriedma, SjoerdMeijer, rovka

Reviewed By: efriedma

Tags: #clang

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




More information about the All-commits mailing list