Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for cmpT2 (0.05 sec)

  1. src/cmd/compile/internal/test/align_test.go

    //go:noinline
    func cmpT1(p, q *T1) {
    	if *p != *q {
    		panic("comparison test wrong")
    	}
    }
    
    //go:noinline
    func cmpT2(p, q *T2) {
    	if *p != *q {
    		panic("comparison test wrong")
    	}
    }
    
    //go:noinline
    func cmpA2(p, q *A2) {
    	if *p != *q {
    		panic("comparison test wrong")
    	}
    }
    
    //go:noinline
    func cmpA4(p, q *A4) {
    	if *p != *q {
    		panic("comparison test wrong")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 24 19:06:05 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. src/internal/bytealg/indexbyte_ppc64x.s

    	ADD	$64,R8
    	CMPU	R8,R9,CR1
    	BNE	CR1,loop64	// R8 != &s[len &^ 63]?
    
    	PCALIGN	$32
    	BEQ	notfound	// Is tail length 0? CR0 is set before entering loop64.
    
    	CMP	R4,$32		// Tail length >= 32, use cmp32 path.
    	CMP	R4,$16,CR1
    	BGE	cmp32
    
    	ADD	R8,R4,R9
    	ADD	$-16,R9
    	BLE	CR1,cmp64_tail_gt0
    
    cmp64_tail_gt16:	// Tail length 17 - 32
    	LXVD2X	(R0)(R8),V2
    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:10:29 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. src/internal/bytealg/compare_ppc64x.s

    	ISEL	CR1EQ,R3,R4,R3
    	RET
    
    	PCALIGN	$16
    cmp4:	// 4 - 7B
    	CMP	R9,$4
    	BLT	cmp2
    	ANDCC	$3,R9,R9
    	_LWBEX	(R0)(R5),R10
    	_LWBEX	(R0)(R6),R11
    	_LWBEX	(R9)(R5),R12
    	_LWBEX	(R9)(R6),R14
    	RLDIMI	$32,R10,$0,R12
    	RLDIMI	$32,R11,$0,R14
    	CMPU	R12,R14
    	BR	cmp0
    
    	PCALIGN $16
    cmp2:	// 2 - 3B
    	CMP	R9,$2
    	BLT	cmp1
    	ANDCC	$1,R9,R9
    	_LHBEX	(R0)(R5),R10
    	_LHBEX	(R0)(R6),R11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/shortcircuit_test.go

    		Bloc("b1",
    			Valu("cmp1", OpLess64, c.config.Types.Bool, 0, nil, "arg1", "arg2"),
    			If("cmp1", "b2", "b3")),
    		Bloc("b2",
    			Valu("cmp2", OpLess64, c.config.Types.Bool, 0, nil, "arg2", "arg3"),
    			Goto("b3")),
    		Bloc("b3",
    			Valu("phi2", OpPhi, c.config.Types.Bool, 0, nil, "cmp1", "cmp2"),
    			If("phi2", "b4", "b5")),
    		Bloc("b4",
    			Valu("cmp3", OpLess64, c.config.Types.Bool, 0, nil, "arg3", "arg1"),
    			Goto("b5")),
    		Bloc("b5",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  5. src/go/parser/testdata/metrics.go2

    func (m *Metric1[T]) Add(v T) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	if m.m == nil {
    		m.m = make(map[T]int)
    	}
    	m[v]++
    }
    
    type key2[T1, T2 comparable] struct {
    	f1 T1
    	f2 T2
    }
    
    type Metric2[T1, T2 cmp2] struct {
    	mu sync.Mutex
    	m  map[key2[T1, T2]]int
    }
    
    func (m *Metric2[T1, T2]) Add(v1 T1, v2 T2) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	if m.m == nil {
    		m.m = make(map[key2[T1, T2]]int)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 19:44:06 UTC 2020
    - 908 bytes
    - Viewed (0)
  6. pkg/slices/slices_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package slices
    
    import (
    	"cmp"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"strconv"
    	"testing"
    
    	cmp2 "github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tests/util/leak"
    )
    
    type s struct {
    	Junk string
    }
    
    func TestEqual(t *testing.T) {
    	tests := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. test/codegen/noextend.go

    	if int16(*x64) == sval16[0] {
    		return true
    	}
    
    	// ppc64x:-"MOVH\tR\\d+,\\sR\\d+"
    	if uint16(*u64) == val16[0] {
    		return true
    	}
    
    	return false
    }
    
    func cmp32(u8 *uint8, x16 *int16, u16 *uint16, x64 *int64, u64 *uint64) bool {
    
    	// ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+"
    	if uint32(*u8) == val32[0] {
    		return true
    	}
    
    	// ppc64x:-"MOVH\tR\\d+,\\sR\\d+"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-DAG: [[CMP2:%.+]] = chlo.broadcast_compare %arg0, [[ZEROS1]] {comparison_direction = #chlo<comparison_direction LT>}
      // CHECK-DAG: [[ZEROS2:%.+]] = mhlo.constant dense<0>
      // CHECK-DAG: [[CMP3:%.+]] = chlo.broadcast_compare %arg1, [[ZEROS2]] {comparison_direction = #chlo<comparison_direction LT>}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  9. test/codegen/comparisons.go

    	if a-b*c >= 0 {
    		c4 = 1
    	}
    	return c1 + c2 + c3 + c4
    }
    
    func cmp1(val string) bool {
    	var z string
    	// amd64:-".*memequal"
    	return z == val
    }
    
    func cmp2(val string) bool {
    	var z string
    	// amd64:-".*memequal"
    	return val == z
    }
    
    func cmp3(val string) bool {
    	z := "food"
    	// amd64:-".*memequal"
    	return z == val
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    			// Look for an empty entry, the tombstone for this hash table.
    			//   if e.Typ == nil { goto miss }
    			s.startBlock(loopBody)
    			cmp2 := s.newValue2(ssa.OpEqPtr, typs.Bool, eTyp, s.constNil(typs.BytePtr))
    			b = s.endBlock()
    			b.Kind = ssa.BlockIf
    			b.SetControl(cmp2)
    			b.AddEdgeTo(cacheMiss)
    			b.AddEdgeTo(loopHead)
    
    			// On a hit, load the data fields of the cache entry.
    			//   Case = e.Case
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top