HomePhabricator

[PowerPC][Power10] Add Vector Multiply/Mod/Divide Instruction Definitions and…

Authored by amyk on Jul 21 2020, 2:26 PM.

Description

[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