powerpc: Pre-load long constants & invariants
authorDoug Nazar <nazard@nazar.ca>
Sun, 25 Aug 2019 19:50:15 +0000 (15:50 -0400)
committerSebastian Dröge <slomo@coaxion.net>
Sun, 8 Sep 2019 07:58:54 +0000 (07:58 +0000)
commit08ca3fc00eb503fb8f178998a4c2bc608c406b3e
treea41419f7b73d6326cc8339813f34cebeda5e6581
parentf9dbb051797a809ae407e9e752e1f3e673baa504
powerpc: Pre-load long constants & invariants

PowerPC doesn't have an easy way to load a long constant into a
vector register so we emit the value into the code and then load it.

This moves those values to after the epilogue and then loads them
before starting the outer loop.
orc/orcconstant.h
orc/orcpowerpc.c
orc/orcpowerpc.h
orc/orcprogram-altivec.c