Skip to content

Question about getg_arm64.s on Arm64 server. #13

Open
@eric-yq

Description

@eric-yq

Hi , I am using this package on AWS Graviton4(Arm64, Neoverse-V2 and ARMv9 ISA) and Go 1.23,but sometimes it crashed.
After debugging, we found that problem may be in getg_arm64.s file.
Should I change code of getg_arm64.s to following ones?

TEXT ·getg(SB), NOSPLIT, $0-8
    MOVD    g, R8     
    MOVD    R8, ret+0(FP)
    RET
  1. change $0-4 to $0-8
  2. change MOVW to MOVD

Thanks for helping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions