Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ArrayAdd64 (0.12 sec)

  1. test/codegen/stack.go

    // Notes:
    // - 386 fails due to spilling a register
    // - arm & mips fail due to softfloat calls
    // amd64:"TEXT\t.*, [$]0-"
    // arm64:"TEXT\t.*, [$]0-"
    // ppc64x:"TEXT\t.*, [$]0-"
    // s390x:"TEXT\t.*, [$]0-"
    func ArrayAdd64(a, b [4]float64) [4]float64 {
    	return [4]float64{a[0] + b[0], a[1] + b[1], a[2] + b[2], a[3] + b[3]}
    }
    
    // Check that small array initialization avoids using the stack.
    
    // 386:"TEXT\t.*, [$]0-"
    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