HomePhabricator

[PowerPC] Add ROP Protection Instructions for PowerPC

Authored by stefanp on Fri, Apr 9, 10:05 AM.

Description

[PowerPC] Add ROP Protection Instructions for PowerPC

There are four new PowerPC instructions that are introduced in
Power 10. They are hashst, hashchk, hashstp, hashchkp.

These instructions will be used for ROP Protection.
This patch adds the four instructions.

Reviewed By: nemanjai, amyk, #powerpc

Differential Revision: https://reviews.llvm.org/D99375