Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
libeigen2-devel
altivec-packetmath.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File altivec-packetmath.patch of Package libeigen2-devel
Index: eigen-eigen-9ca09dbd70ce/Eigen/src/Core/arch/AltiVec/PacketMath.h =================================================================== --- eigen-eigen-9ca09dbd70ce.orig/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ eigen-eigen-9ca09dbd70ce/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -191,7 +191,7 @@ template<> inline v4i ei_ploadu(const template<> inline v4f ei_pset1(const float& from) { // Taken from http://developer.apple.com/hardwaredrivers/ve/alignment.html - float __attribute__(aligned(16)) af[4]; + float __attribute__((aligned(16))) af[4]; af[0] = from; v4f vc = vec_ld(0, af); vc = vec_splat(vc, 0); @@ -200,7 +200,7 @@ template<> inline v4f ei_pset1(const fl template<> inline v4i ei_pset1(const int& from) { - int __attribute__(aligned(16)) ai[4]; + int __attribute__((aligned(16))) ai[4]; ai[0] = from; v4i vc = vec_ld(0, ai); vc = vec_splat(vc, 0); @@ -248,14 +248,14 @@ template<> inline void ei_pstoreu(int* template<> inline float ei_pfirst(const v4f& a) { - float __attribute__(aligned(16)) af[4]; + float __attribute__((aligned(16))) af[4]; vec_st(a, 0, af); return af[0]; } template<> inline int ei_pfirst(const v4i& a) { - int __attribute__(aligned(16)) ai[4]; + int __attribute__((aligned(16))) ai[4]; vec_st(a, 0, ai); return ai[0]; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor