aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Ref.h
diff options
context:
space:
mode:
authorGravatar João P. L. de Carvalho <jaopaulolc@gmail.com>2019-08-09 16:02:55 -0600
committerGravatar João P. L. de Carvalho <jaopaulolc@gmail.com>2019-08-09 16:02:55 -0600
commit787f6ef0254949380cc6955890eeb9c282c2350f (patch)
treedb856464690390ea1dd61663614517aede7f279c /Eigen/src/Core/Ref.h
parent4d29aa0294a0d0aa21c41eef687840a5c59bf692 (diff)
Fix packed load/store for PowerPC's VSX
The vec_vsx_ld/vec_vsx_st builtins were wrongly used for aligned load/store. In fact, they perform unaligned memory access and, even when the address is 16-byte aligned, they are much slower (at least 2x) than their aligned counterparts. For double/Packet2d vec_xl/vec_xst should be prefered over vec_ld/vec_st, although the latter works when casted to float/Packet4f. Silencing some weird warning with throw but some GCC versions. Such warning are not thrown by Clang.
Diffstat (limited to 'Eigen/src/Core/Ref.h')
0 files changed, 0 insertions, 0 deletions