Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for cmovint (0.19 sec)

  1. test/codegen/condmove.go

    // license that can be found in the LICENSE file.
    
    package codegen
    
    func cmovint(c int) int {
    	x := c + 4
    	if x < 0 {
    		x = 182
    	}
    	// amd64:"CMOVQLT"
    	// arm64:"CSEL\tLT"
    	// ppc64x:"ISEL\t[$]0"
    	// wasm:"Select"
    	return x
    }
    
    func cmovchan(x, y chan int) chan int {
    	if x != y {
    		x = y
    	}
    	// amd64:"CMOVQNE"
    	// arm64:"CSEL\tNE"
    	// ppc64x:"ISEL\t[$]2"
    	// wasm:"Select"
    	return x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/anames.go

    	"CMOVLCS",
    	"CMOVLEQ",
    	"CMOVLGE",
    	"CMOVLGT",
    	"CMOVLHI",
    	"CMOVLLE",
    	"CMOVLLS",
    	"CMOVLLT",
    	"CMOVLMI",
    	"CMOVLNE",
    	"CMOVLOC",
    	"CMOVLOS",
    	"CMOVLPC",
    	"CMOVLPL",
    	"CMOVLPS",
    	"CMOVQCC",
    	"CMOVQCS",
    	"CMOVQEQ",
    	"CMOVQGE",
    	"CMOVQGT",
    	"CMOVQHI",
    	"CMOVQLE",
    	"CMOVQLS",
    	"CMOVQLT",
    	"CMOVQMI",
    	"CMOVQNE",
    	"CMOVQOC",
    	"CMOVQOS",
    	"CMOVQPC",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "CMOVQEQ", argLength: 3, reg: gp21, asm: "CMOVQEQ", resultInArg0: true},
    		{name: "CMOVQNE", argLength: 3, reg: gp21, asm: "CMOVQNE", resultInArg0: true},
    		{name: "CMOVQLT", argLength: 3, reg: gp21, asm: "CMOVQLT", resultInArg0: true},
    		{name: "CMOVQGT", argLength: 3, reg: gp21, asm: "CMOVQGT", resultInArg0: true},
    		{name: "CMOVQLE", argLength: 3, reg: gp21, asm: "CMOVQLE", resultInArg0: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  4. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	CMOVLGT (BX), DX                        // 0f4f13
    	CMOVLGT (R11), DX                       // 410f4f13
    	CMOVLGT DX, DX                          // 0f4fd2
    	CMOVLGT R11, DX                         // 410f4fd3
    	CMOVLGT (BX), R11                       // 440f4f1b
    	CMOVLGT (R11), R11                      // 450f4f1b
    	CMOVLGT DX, R11                         // 440f4fda
    	CMOVLGT R11, R11                        // 450f4fdb
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 21:38:44 UTC 2021
    - 581.9K bytes
    - Viewed (0)
  5. test/codegen/bmi.go

    		r = a
    	} else {
    		r = b
    	}
    	// amd64/v3:"CMOVQNE",-"TESTQ",-"CALL"
    	return r * 2 // force return blocks joining
    }
    
    func isNotPowerOfTwoSelect32(x, a, b int32) int32 {
    	var r int32
    	// amd64/v3:"BLSRL",-"TESTL",-"CALL"
    	if isNotPowerOfTwo32(x) {
    		r = a
    	} else {
    		r = b
    	}
    	// amd64/v3:"CMOVLNE",-"TESTL",-"CALL"
    	return r * 2 // force return blocks joining
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 04:58:59 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (CMOVLGT x y (InvertFlags cond))
    	// result: (CMOVLLT x y cond)
    	for {
    		x := v_0
    		y := v_1
    		if v_2.Op != OpAMD64InvertFlags {
    			break
    		}
    		cond := v_2.Args[0]
    		v.reset(OpAMD64CMOVLLT)
    		v.AddArg3(x, y, cond)
    		return true
    	}
    	// match: (CMOVLGT y _ (FlagEQ))
    	// result: y
    	for {
    		y := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    func compare(x, y string) int {
    	vx := parse(x)
    	vy := parse(y)
    
    	if c := cmpInt(vx.major, vy.major); c != 0 {
    		return c
    	}
    	if c := cmpInt(vx.minor, vy.minor); c != 0 {
    		return c
    	}
    	if c := cmpInt(vx.patch, vy.patch); c != 0 {
    		return c
    	}
    	if c := strings.Compare(vx.kind, vy.kind); c != 0 { // "" < alpha < beta < rc
    		return c
    	}
    	if c := cmpInt(vx.pre, vy.pre); c != 0 {
    		return c
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/internal/gover/gover.go

    func Compare(x, y string) int {
    	vx := Parse(x)
    	vy := Parse(y)
    
    	if c := CmpInt(vx.Major, vy.Major); c != 0 {
    		return c
    	}
    	if c := CmpInt(vx.Minor, vy.Minor); c != 0 {
    		return c
    	}
    	if c := CmpInt(vx.Patch, vy.Patch); c != 0 {
    		return c
    	}
    	if c := cmp.Compare(vx.Kind, vy.Kind); c != 0 { // "" < alpha < beta < rc
    		return c
    	}
    	if c := CmpInt(vx.Pre, vy.Pre); c != 0 {
    		return c
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/runtime/heap_test.go

    func heapObjectsCanMove() bool
    
    func TestHeapObjectsCanMove(t *testing.T) {
    	if heapObjectsCanMove() {
    		// If this happens (or this test stops building),
    		// it will break go4.org/unsafe/assume-no-moving-gc.
    		t.Fatalf("heap objects can move!")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 18:35:49 UTC 2023
    - 529 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    			continue
    		case 1:
    			// one match, return
    			return matchedGVRs[0], originalErr
    		default:
    			// more than one match, use the matched hits as the list moving to the next pattern.
    			// this way you can have a series of selection criteria
    			remainingGVRs = matchedGVRs
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
Back to top