Skip to content

cmd/compile: zeroAuto clobbers flags on s390x #20187

@mundaym

Description

@mundaym

As discussed in CL 41076: zeroAuto is called after register allocation etc. and the flags (condition code) may be live. The current implementation of zeroAuto on s390x clobbers flags so it needs to be modified.

My plan is to modify the assembler to not clobber flags when assembling MOVD $0, <auto> (currently it might use the AGFI instruction) and change zeroAuto to use that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions