[PATCH] D66938: [ARM][MVE] Decoding of VMSR doesn't diagnose some unpredictable encodings

Mark Murray via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 02:50:25 PDT 2019


MarkMurrayARM marked an inline comment as done.
MarkMurrayARM added inline comments.


================
Comment at: lib/Target/ARM/ARMInstrVFP.td:2412
   let Inst{7}     = 0;
+  let Inst{6-5}   = 0b00;
   let Inst{4}     = 1;
----------------
ostannard wrote:
> These lines could be collapsed together:
> 
>   let Inst{11-0} = 0b101000010000;
Sure, that would be shorter, but this way matches the way the bits are described in the official public documentation.If future decodings start to use these bits, then diffs should be less disruptive.

Also, this way matches the existing VMRS instruction.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66938





More information about the llvm-commits mailing list