Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for asmCheck (0.32 sec)

  1. test/codegen/issue58166.go

    // asmcheck
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func dgemmSerialNotNot(m, n, k int, a []float64, lda int, b []float64, ldb int, c []float64, ldc int, alpha float64) {
    	for i := 0; i < m; i++ {
    		ctmp := c[i*ldc : i*ldc+n]
    		for l, v := range a[i*lda : i*lda+k] {
    			tmp := alpha * v
    			if tmp != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 01 18:41:07 UTC 2023
    - 554 bytes
    - Viewed (0)
  2. test/codegen/zerosize.go

    // asmcheck
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure a pointer variable and a zero-sized variable
    // aren't allocated to the same stack slot.
    // See issue 24993.
    
    package codegen
    
    func zeroSize() {
    	c := make(chan struct{})
    	// amd64:`MOVQ\t\$0, command-line-arguments\.s\+56\(SP\)`
    	var s *int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 18:19:47 UTC 2022
    - 650 bytes
    - Viewed (0)
  3. test/codegen/issue61356.go

    // asmcheck
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure this code doesn't generate spill/restore.
    
    package codegen
    
    func pack20(in *[20]uint64) uint64 {
    	var out uint64
    	out |= 4
    	// amd64:-`.*SP.*`
    	out |= in[0] << 4
    	// amd64:-`.*SP.*`
    	out |= in[1] << 7
    	// amd64:-`.*SP.*`
    	out |= in[2] << 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. test/codegen/structs.go

    // asmcheck
    
    //go:build !goexperiment.cgocheck2
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    // This file contains code generation tests related to the handling of
    // struct types.
    
    // ------------- //
    //    Zeroing    //
    // ------------- //
    
    type Z1 struct {
    	a, b, c int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 923 bytes
    - Viewed (0)
  5. test/codegen/issue63332.go

    // asmcheck
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    func issue63332(c chan int) {
    	x := 0
    	// amd64:-`MOVQ`
    	x += 2
    	c <- x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:34:12 UTC 2023
    - 264 bytes
    - Viewed (0)
  6. test/codegen/writebarrier.go

    // asmcheck
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    func combine2string(p *[2]string, a, b string) {
    	// amd64:`.*runtime[.]gcWriteBarrier4\(SB\)`
    	// arm64:`.*runtime[.]gcWriteBarrier4\(SB\)`
    	p[0] = a
    	// amd64:-`.*runtime[.]gcWriteBarrier`
    	// arm64:-`.*runtime[.]gcWriteBarrier`
    	p[1] = b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 00:16:06 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. test/codegen/issue42610.go

    // asmcheck
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Don't allow 0 masks in shift lowering rules on ppc64x.
    // See issue 42610.
    
    package codegen
    
    func f32(a []int32, i uint32) {
            g := func(p int32) int32 {
                    i = uint32(p) * (uint32(p) & (i & 1))
                    return 1
            }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 27 18:24:12 UTC 2023
    - 623 bytes
    - Viewed (0)
  8. test/codegen/race.go

    // asmcheck -race
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    // Check that we elide racefuncenter/racefuncexit for
    // functions with no calls (but which might panic
    // in various ways). See issue 31219.
    // amd64:-"CALL.*racefuncenter.*"
    // arm64:-"CALL.*racefuncenter.*"
    // ppc64le:-"CALL.*racefuncenter.*"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 03:03:16 UTC 2020
    - 651 bytes
    - Viewed (0)
  9. test/codegen/issue31618.go

    // asmcheck
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    // Make sure we remove both inline marks in the following code.
    // Both +5 and +6 should map to real instructions, which can
    // be used as inline marks instead of explicit nops.
    func f(x int) int {
    	// amd64:-"XCHGL"
    	x = g(x) + 5
    	// amd64:-"XCHGL"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 17:39:11 UTC 2019
    - 504 bytes
    - Viewed (0)
  10. test/codegen/atomics.go

    // asmcheck
    
    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // These tests check that atomic instructions without dynamic checks are
    // generated for architectures that support them
    
    package codegen
    
    import "sync/atomic"
    
    type Counter struct {
    	count int32
    }
    
    func (c *Counter) Increment() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 728 bytes
    - Viewed (0)
Back to top