HomePhabricator

[PowerPC] Exploit paddi instruction on Power 10 for constant materialization

Authored by stefanp on Mar 11 2021, 3:44 AM.

Description

[PowerPC] Exploit paddi instruction on Power 10 for constant materialization

Starting with Power 10 the instruction paddi is available to use.
The instruction allows for immediates that are 34 bits.

This patch adds exploitation of the paddi instruction to allow us
to materialize constants.

Reviewed By: lei, amyk

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

Details

Committed
stefanpMar 11 2021, 6:37 AM
Reviewer
lei
Differential Revision
D93300: [PowerPC] Exploit paddi instruction on Power 10 for constant materialization
Parents
rG50c1b21851a1: [lld-macho] minimal TimeTrace support
Branches
Unknown
Tags
Unknown