[PATCH] D71066: [ARM][MVE][Intrinsics] Add VMULL[BT]Q_(INT|POLY) intrinsics.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 06:41:27 PST 2019


simon_tatham added inline comments.


================
Comment at: clang/include/clang/Basic/arm_mve_defs.td:281
+// Scalar.
+def DblVector: VecOf<ComplexType<(CTO_DoubleSize Scalar)>>;
+
----------------
This could just be `VecOf<DoubleSize<Scalar>>`, after you carefully defined `DoubleSize` above.


================
Comment at: llvm/lib/Target/ARM/ARMInstrMVE.td:3599
 
-class MVE_VMULL<string iname, string suffix, bit bit_28, bits<2> bits_21_20,
+class MVE_VMULL<string iname, string suffix, bit U, bits<2> size,
                 bit T, string cstr, list<dag> pattern=[]>
----------------
As I remember, the reason I //didn't// call these bits `U` and `size` was because that's not what they mean in all situations – as the comment below mentions, for polynomial multiplies, the size is encoded in the bit you've now called `U`.

I know `bit_28` and `bits_21_20` are cumbersome and annoying names, but I think that's still better than being inaccurate :-)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71066/new/

https://reviews.llvm.org/D71066





More information about the llvm-commits mailing list