Skip to content
Snippets Groups Projects

Vectorization improvements

Merged Michael Kuron requested to merge ppc into master
Compare and Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -77,7 +77,7 @@ def get_vector_instruction_set_ppc(data_type='double', instruction_set='vsx'):
# Clang and XL C++ are missing these for doubles
result['loadA'] = '(__vector double)' + result['loadA'].format('(float*) {0}')
result['storeA'] = result['storeA'].format('(float*) {0}', '(__vector float) {1}')
result['stream'] = result['storeA']
result['stream'] = result['stream'].format('(float*) {0}', '(__vector float) {1}')
result['+int'] = "vec_add({0}, {1})"