Skip to content

openblas fails to compile on ppc64le-linux using gcc-7 #1078

Description

@amodra

From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79343
kernel/power/sasum_microk_power8.c gives error: PIC register clobbered by ‘%2’ in ‘asm’

The blas source looks to be adding r2 (and r0) to the clobbers completely unnecessarily. I suspect what the author of that code was trying to do was say that i and n are changed by the asm, which is done by making them output args as well as input. The memory clobber could be removed too, if *x1 was made an output. Oh, and the asm misses clobbers for all the vector regs used..

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions