[PowerPC][Power10] Add Vector Multiply/Mod/Divide Instruction Definitions and MC...
authorAmy Kwan <amy.kwan1@ibm.com>
Tue, 21 Jul 2020 21:26:47 +0000 (16:26 -0500)
committerAmy Kwan <amy.kwan1@ibm.com>
Tue, 21 Jul 2020 23:05:35 +0000 (18:05 -0500)
commit1eb279d2a8c8325714bf517bff72d46f2d78cb05
tree2dd6b1d1ae205c1847e885810d7b9a3dfde2098e
parent791544422a446131ef41bb3eef1b7318e7a78c2d
[PowerPC][Power10] Add Vector Multiply/Mod/Divide Instruction Definitions and MC Tests

This patch adds the td definitions and asm/disasm tests for the following instructions:
- Vector Multiply Low Doubleword: vmulld
- Vector Modulus Word/Doubleword: vmodsw, vmoduw, vmodsd, vmodud
- Vector Divide Word/Doubleword: vdivsw, vdivuw, vdivsd, vdivud
- Vector Multiply High Word/Doubleword: vmulhsw, vmulhsd, vmulhuw, vmulhud
- Vector Divide Extended Word/Doubleword: vdivesw, vdiveuw, vdivesd, vdiveud

Differential Revision: https://reviews.llvm.org/D82929
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31.txt
llvm/test/MC/PowerPC/ppc64-encoding-ISA31.s