Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for asmCheck (0.31 sec)

  1. test/codegen/slices.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.
    
    package codegen
    
    import "unsafe"
    
    // This file contains code generation tests related to the handling of
    // slice types.
    
    // ------------------ //
    //      Clear         //
    // ------------------ //
    
    // Issue #5373 optimize memset idiom
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 18:57:27 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. test/codegen/shift.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.
    
    package codegen
    
    // ------------------ //
    //   constant shifts  //
    // ------------------ //
    
    func lshConst64x64(v int64) int64 {
    	// ppc64x:"SLD"
    	// riscv64:"SLLI",-"AND",-"SLTIU"
    	return v << uint64(33)
    }
    
    func rshConst64Ux64(v uint64) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. test/codegen/arithmetic.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.
    
    package codegen
    
    // This file contains codegen tests related to arithmetic
    // simplifications and optimizations on integer types.
    // For codegen tests on float types, see floats.go.
    
    // ----------------- //
    //    Addition       //
    // ----------------- //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. test/codegen/memops.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.
    
    package codegen
    
    var x [2]bool
    var x8 [2]uint8
    var x16 [2]uint16
    var x32 [2]uint32
    var x64 [2]uint64
    
    func compMem1() int {
    	// amd64:`CMPB\tcommand-line-arguments.x\+1\(SB\), [$]0`
    	if x[1] {
    		return 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. test/codegen/comparisons.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.
    
    package codegen
    
    import (
    	"cmp"
    	"unsafe"
    )
    
    // This file contains code generation tests related to the comparison
    // operators.
    
    // -------------- //
    //    Equality    //
    // -------------- //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. test/codegen/mathbits.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.
    
    package codegen
    
    import "math/bits"
    
    // ----------------------- //
    //    bits.LeadingZeros    //
    // ----------------------- //
    
    func LeadingZeros(n uint) int {
    	// amd64/v1,amd64/v2:"BSRQ"
    	// amd64/v3:"LZCNTQ", -"BSRQ"
    	// s390x:"FLOGR"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. test/codegen/memcombine.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.
    
    package codegen
    
    import (
    	"encoding/binary"
    	"runtime"
    )
    
    // ------------- //
    //    Loading    //
    // ------------- //
    
    func load_le64(b []byte) uint64 {
    	// amd64:`MOVQ\s\(.*\),`,-`MOV[BWL]\t[^$]`,-`OR`
    	// s390x:`MOVDBR\s\(.*\),`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top