Skip to content

cmd/compile: zeroAuto clobbers flags on s390x #20187

Closed

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.

Activity

  1. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Apr 30, 2017
  2. added this to the Go1.9 milestone on Apr 30, 2017
  3. self-assigned this
    on Apr 30, 2017
  4. gopherbot commented on Apr 30, 2017

    @gopherbot
    Contributor

    CL https://golang.org/cl/42179 mentions this issue.

  5. locked and limited conversation to collaborators on May 2, 2018
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

    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