open-power-sdk / pveclib

Power Vector Library
Apache License 2.0
29 stars 8 forks source link

Operations for generating small doubleword integer const values. #165

Closed munroesj52 closed 2 years ago

munroesj52 commented 2 years ago

Document new operations to avoid stoirage load and cache misses while using small doubleword integer constants. This became evident during the implementation of float128 implementation.

* src/pveclib/vec_int64_ppc.h [i64_missing_ops_0_2_0]:
New doxygen subsection for Loading small Doubleword constants.

* src/testsuite/vec_int64_dummy.c (__test_splatudi_15_V1,
__test_splatudi_15_V0, __test_splatudi_10_V0,
__test_splatudi_1_V1, __test_splatudi_1_V0,
__test_splatudi_128_V1, __test_splatudi_128_V0,
__test_splatudi_smask_V0, __test_splatudi_n1_V1,
__test_splatudi_n1_V0, __test_incud_V0. __test_incuw_V0,
__test_incsd_V0): New compile teasts.

Signed-off-by: Steven Munroe munroesj52@gmail.com

munroesj52 commented 2 years ago

No review comments in 26 days. Must be golden.