Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for phi2 (0.18 sec)

  1. src/math/const.go

    const (
    	E   = 2.71828182845904523536028747135266249775724709369995957496696763 // https://oeis.org/A001113
    	Pi  = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
    	Phi = 1.61803398874989484820458683436563811772030917980576286213544862 // https://oeis.org/A001622
    
    	Sqrt2   = 1.41421356237309504880168872420969807856967187537694807317667974 // https://oeis.org/A002193
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse_test.go

    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "else")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("else",
    			Goto("exit")),
    		Bloc("exit",
    			Valu("phi", OpPhi, ptrType, 0, nil, "ptr1", "ptr1"),
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		if b == fun.blocks["then"] && b.Kind != BlockInvalid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. test/fuse.go

    	return a != nil && f > Cf2 || a != nil && f < -Cf2 // ERROR "Redirect IsNonNil based on IsNonNil$"
    }
    
    func fPhi(a, b string) string {
    	aslash := strings.HasSuffix(a, "/") // ERROR "Redirect Phi based on Phi$"
    	bslash := strings.HasPrefix(b, "/")
    	switch {
    	case aslash && bslash:
    		return a + b[1:]
    	case !aslash && !bslash:
    		return a + "/" + b
    	}
    	return a + b
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/ctl_test.go

    // license that can be found in the LICENSE file.
    
    // Test control flow
    
    package main
    
    import "testing"
    
    // nor_ssa calculates NOR(a, b).
    // It is implemented in a way that generates
    // phi control values.
    func nor_ssa(a, b bool) bool {
    	var c bool
    	if a {
    		c = true
    	}
    	if b {
    		c = true
    	}
    	if c {
    		return false
    	}
    	return true
    }
    
    func testPhiControl(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    				out := 1 ^ j
    				child := parent.Succs[out].b
    				if child == b {
    					continue
    				}
    				b.removePred(k)
    				p.Succs[pk.i] = Edge{child, len(child.Preds)}
    				// Fix up Phi value in b to have one less argument.
    				for _, v := range b.Values {
    					if v.Op != OpPhi {
    						continue
    					}
    					b.removePhiArg(v, k)
    				}
    				// Fix up child to have one more predecessor.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/dec.rules

    // This file contains rules to decompose builtin compound types
    // (complex,string,slice,interface) into their constituent
    // types.  These rules work together with the decomposeBuiltIn
    // pass which handles phis of these types.
    
    (Store {t} _ _ mem) && t.Size() == 0 => mem
    
    // complex ops
    (ComplexReal (ComplexMake real _  )) => real
    (ComplexImag (ComplexMake _ imag )) => imag
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/flagalloc.go

    				p := e.b
    				if end[p.ID] != flag {
    					f.Fatalf("live flag in %s's predecessors not consistent", b)
    				}
    			}
    		}
    		for _, v := range oldSched {
    			if v.Op == OpPhi && v.Type.IsFlags() {
    				f.Fatalf("phi of flags not supported: %s", v.LongString())
    			}
    
    			// If v will be spilled, and v uses memory, then we must split it
    			// into a load + a flag generator.
    			if spill[v.ID] && v.MemoryArg() != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Client-TLSv13-AES256-SHA384

    00000220  8d 65 5e 6d ea 9e c3 95  f4 1b 15 bb 91 ac 9c 0b  |.e^m............|
    00000230  13 f0 fa ab 46 ed f1 c5  29 6e 45 db 4c cc 1e 45  |....F...)nE.L..E|
    00000240  4d fc f2 6c 2b 0a d0 f3  70 69 32 cd 2f 23 6d f2  |M..l+...pi2./#m.|
    00000250  5f f3 f4 f0 5c 1c d7 d3  a7 0c 8f 23 29 30 7a 8e  |_...\......#)0z.|
    00000260  c3 aa a8 71 21 5c ad b6  fb c6 bd 78 ac ab b1 a0  |...q!\.....x....|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/fuse.go

    //
    //	   b        b           b       b
    //	\ / \ /    | \  /    \ / |     | |
    //	 s0  s1    |  s1      s0 |     | |
    //	  \ /      | /         \ |     | |
    //	   ss      ss           ss      ss
    //
    // If all Phi ops in ss have identical variables for slots corresponding to
    // s0, s1 and b then the branch can be dropped.
    // This optimization often comes up in switch statements with multiple
    // expressions in a case clause:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/cse.go

    // partitionValues partitions the values into equivalence classes
    // based on having all the following features match:
    //   - opcode
    //   - type
    //   - auxint
    //   - aux
    //   - nargs
    //   - block # if a phi op
    //   - first two arg's opcodes and auxint
    //   - NOT first two arg's aux; that can break CSE.
    //
    // partitionValues returns a list of equivalence classes, each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top