Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for KeepWanted (0.08 sec)

  1. test/codegen/stack.go

    // amd64:"TEXT\t.*, [$]0-"
    // arm:"TEXT\t.*, [$]0-" (spills return address)
    // arm64:"TEXT\t.*, [$]0-"
    // ppc64x:"TEXT\t.*, [$]0-"
    // s390x:"TEXT\t.*, [$]0-"
    // Note: that 386 currently has to spill a register.
    func KeepWanted(t *T) {
    	*t = T{A: t.A, B: t.B, C: t.C, D: t.D}
    }
    
    // Check that small array operations avoid using the stack (issue #15925).
    
    // Notes:
    // - 386 fails due to spilling a register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top