Skip to content

Assembler warnings #60

@chacon01

Description

@chacon01

I'm getting some warnings from GCC9 when compiling lh_cas_event_mutex for AArch64

/tmp/cc76Umqe.s: Assembler messages:
/tmp/cc76Umqe.s:2064: Warning: unpredictable: identical transfer and status registers --`stxr w0,x1,[x0]'
/tmp/cc76Umqe.s:2589: Warning: unpredictable: identical transfer and status registers --`stxr w0,x1,[x0]'
/tmp/cc76Umqe.s:3971: Warning: unpredictable: identical transfer and status registers --`stxr w3,x3,[x0]'

These sorts of warnings usually come from one or more missing early-clobber specifiers somewhere in the inline assembly.

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