================ @@ -0,0 +1,28 @@ +//===---- RISCVInstrInfoZvzip.td - 'Zvzip' instructions ----*- tablegen -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// This file describes the RISC-V instructions from the Zvzip standard extension +// for reordering structured data in vector registers. +// +//===----------------------------------------------------------------------===// + +//===----------------------------------------------------------------------===// +// Instructions +//===----------------------------------------------------------------------===// + +let Predicates = [HasStdExtZvzip], Constraints = "@earlyclobber $vd" in { + let VS1VS2Constraint = WidenV in { + def VZIP_VV : VALUVV<0b111110, OPMVV, "vzip.vv">; + def VUNZIPE_V : VALUVs2<0b010010, 0b01011, OPMVV, "vunzipe.v">; ---------------- wangpc-pp wrote:
According to the spec, `vzip.vv` also has a widen dst. How do we handle such case? https://github.com/llvm/llvm-project/pull/185614 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
