Skip to content

Replace several POWER8/9 C kernels with their gcc7-generated assembly versions - #2263

Merged
martin-frbg merged 14 commits into
OpenMathLib:developfrom
martin-frbg:issue2254_v2
Sep 22, 2019
Merged

martin-frbg merged 14 commits into
OpenMathLib:developfrom
martin-frbg:issue2254_v2

Conversation

@martin-frbg

Copy link
Copy Markdown
Collaborator

to work around internal compiler errors encountered with gcc 4.8 and 5.4, and wrong code generation by gcc 8.3.0. Fixes #2254.

update to current develop
…WER9 caxpy

To work around internal compiler errors encountered when compiling the original C source with gcc 4 and 5, and wrong code generated by gcc 8.3.0
to work around internal compiler errors encountered with gcc 4.8/5.4 and wrong code generation by gcc 8.3
to work around internal compiler errors encountered with gcc 4.8 and 5.4, and wrong code generation by gcc 8.3
to work around wrong code generated by gcc 8.3
@martin-frbg

martin-frbg commented Sep 19, 2019 •

Copy link
Copy Markdown
Collaborator Author

caxpy.S still needs some editing as the same source is also used to create caxpyc - I will update this PR later today.

@martin-frbg

Copy link
Copy Markdown
Collaborator Author

Looks like gcc 5.4 in POWER9 mode is going to blow up on each and every kernel that uses vector intrinsics - probably better to change Makefile.system to exclude POWER9 from the target list when the compiler is too old (gcc 4.8.5 does not even handle -mcpu=power9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiler Failure on POWER8 with /kernel/power/i{c,d,s,z}a{min,max}.c

1 participant