mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
PR #2530 - Fix altivec code, fix building for PPC
Altivec code was previously uncompilable, and the altivec accelerations also could not be disabled with a build flag or env variable, leading to pale moon not being buildable on any altivec supported CPU ( all PPC CPUs ever almost ). Why? I don't know, 'inline' in C is cursed and making it static makes it significantly less so. Closes: https://forum.palemoon.org/viewtopic.php?f=5&t=31108&p=252462#p252462 Signed-off-by: Richard Rogalski <rrogalski@firemail.cc>
This commit is contained in:
parent
0e05cb9630
commit
b73f500c04
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
static const ALIGN float floatScaleX4 = FLOATSCALE;
|
||||
static const ALIGN float clampMaxValueX4 = CLAMPMAXVAL;
|
||||
|
||||
inline vector float load_aligned_float(float *dataPtr)
|
||||
static inline vector float load_aligned_float(float *dataPtr)
|
||||
{
|
||||
vector float data = vec_lde(0, dataPtr);
|
||||
vector unsigned char moveToStart = vec_lvsl(0, dataPtr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue