Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fpspill_ssa (0.09 sec)

  1. src/cmd/compile/internal/test/testdata/fp_test.go

    	cb = c - b
    	cc = c + 33.0 - c
    	cd = c - d
    	da = d - a
    	db = d - b
    	dc = d - c
    	dd = d + 44.0 - d
    	return
    }
    
    // fpspill_ssa attempts to trigger a bug where phis with floating point values
    // were stored in non-fp registers causing an error in doasm.
    //
    //go:noinline
    func fpspill_ssa(a int) float64 {
    
    	ret := -1.0
    	switch a {
    	case 0:
    		ret = 1.0
    	case 1:
    		ret = 1.1
    	case 2:
    		ret = 1.2
    	case 3:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
Back to top