Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for stkalign (0.35 sec)

  1. src/cmd/compile/internal/ssagen/pgen.go

    			}
    		}
    	}
    
    	s.stksize = types.RoundUp(s.stksize, s.stkalign)
    	s.stkptrsize = types.RoundUp(s.stkptrsize, s.stkalign)
    }
    
    const maxStackSize = 1 << 30
    
    // Compile builds an SSA backend function,
    // uses it to generate a plist,
    // and flushes that plist to machine code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	stkptrsize int64                // prefix of stack containing pointers
    
    	// alignment for current frame.
    	// NOTE: when stkalign > PtrSize, currently this only ensures the offsets of
    	// objects in the stack frame are aligned. The stack pointer is still aligned
    	// only PtrSize.
    	stkalign int64
    
    	log bool // print ssa debug to the stdout
    }
    
    // StringData returns a symbol which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go

    		// subsystem.
    		if SizeofPtr == 8 {
    			salign = 4
    		}
    	case "netbsd", "openbsd":
    		// NetBSD and OpenBSD armv7 require 64-bit alignment.
    		if runtime.GOARCH == "arm" {
    			salign = 8
    		}
    		// NetBSD aarch64 requires 128-bit alignment.
    		if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
    			salign = 16
    		}
    	case "zos":
    		// z/OS socket macros use [32-bit] sizeof(int) alignment,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/syscall/sockcmsg_unix_other.go

    		// subsystem.
    		if sizeofPtr == 8 {
    			salign = 4
    		}
    	case "netbsd", "openbsd":
    		// NetBSD and OpenBSD armv7 require 64-bit alignment.
    		if runtime.GOARCH == "arm" {
    			salign = 8
    		}
    		// NetBSD aarch64 requires 128-bit alignment.
    		if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
    			salign = 16
    		}
    	}
    
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go

    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := SizeofPtr
    	if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
    		// 64-bit Dragonfly before the September 2019 ABI changes still requires
    		// 32-bit aligned access to network subsystem.
    		salign = 4
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 544 bytes
    - Viewed (0)
  6. src/syscall/sockcmsg_dragonfly.go

    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := sizeofPtr
    	if sizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
    		// 64-bit Dragonfly before the September 2019 ABI changes still requires
    		// 32-bit aligned access to network subsystem.
    		salign = 4
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 20 19:33:07 UTC 2019
    - 547 bytes
    - Viewed (0)
  7. src/runtime/internal/sys/consts.go

    // the compiler word, the link editor word, and the TOC save word.
    const MinFrameSize = goarch.MinFrameSize
    
    // StackAlign is the required alignment of the SP register.
    // The stack must be at least word aligned, but some architectures require more.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/syscall/route_bsd.go

    		// architecture because the alignment for routing
    		// facilities are set at the build time of the kernel.
    		if freebsdConfArch == "amd64" {
    			salign = 8
    		}
    	}
    	if salen == 0 {
    		return salign
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    }
    
    // parseSockaddrLink parses b as a datalink socket address.
    func parseSockaddrLink(b []byte) (*SockaddrDatalink, error) {
    	if len(b) < 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/internal/goarch/goarch.go

    // the compiler word, the link editor word, and the TOC save word.
    const MinFrameSize = _MinFrameSize
    
    // StackAlign is the required alignment of the SP register.
    // The stack must be at least word aligned, but some architectures require more.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:48:21 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go

    // 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.
    
    // Tests syscall P stealing.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 855 bytes
    - Viewed (0)
Back to top