Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 390 for move (1.2 sec)

  1. src/cmd/compile/internal/ssa/tighten.go

    import "cmd/compile/internal/base"
    
    // tighten moves Values closer to the Blocks in which they are used.
    // This can reduce the amount of register spilling required,
    // if it doesn't also create more live values.
    // A Value can be moved to any block that
    // dominates all blocks in which it is used.
    func tighten(f *Func) {
    	if base.Flag.N != 0 && len(f.Blocks) < 10000 {
    		// Skip the optimization in -N mode, except for huge functions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		{name: "MOVWgpfp", argLength: 1, reg: gpfp, asm: "MOVW"}, // move int32 to float32 (no conversion)
    
    		// conversions
    		{name: "MOVBreg", argLength: 1, reg: gp11, asm: "MOVB"},   // move from arg0, sign-extended from byte
    		{name: "MOVBUreg", argLength: 1, reg: gp11, asm: "MOVBU"}, // move from arg0, unsign-extended from byte
    		{name: "MOVHreg", argLength: 1, reg: gp11, asm: "MOVH"},   // move from arg0, sign-extended from half
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    		{name: "MOVBUreg", argLength: 1, reg: gp11, asm: "MOVBU"}, // move from arg0, unsign-extended from byte
    		{name: "MOVHreg", argLength: 1, reg: gp11, asm: "MOVH"},   // move from arg0, sign-extended from half
    		{name: "MOVHUreg", argLength: 1, reg: gp11, asm: "MOVHU"}, // move from arg0, unsign-extended from half
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/zcse.go

    			v := b.Values[i]
    			if opcodeTable[v.Op].argLen == 0 {
    				key := vkey{v.Op, keyFor(v), v.Aux, v.Type}
    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    						// where we might use it. This prevents the need for any dominator
    						// calculations in this pass.
    						v.Block = f.Entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/web/url.go

    // license that can be found in the LICENSE file.
    
    package web
    
    import (
    	"errors"
    	"net/url"
    	"path/filepath"
    	"strings"
    )
    
    // TODO(golang.org/issue/32456): If accepted, move these functions into the
    // net/url package.
    
    var errNotAbsolute = errors.New("path is not absolute")
    
    func urlToFilePath(u *url.URL) (string, error) {
    	if u.Scheme != "file" {
    		return "", errors.New("non-file URL")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/s390x/ggen.go

    		}
    
    		switch n {
    		// Handle very small clears with move instructions.
    		case 8, 4, 2, 1:
    			ins := s390x.AMOVB
    			switch n {
    			case 8:
    				ins = s390x.AMOVD
    			case 4:
    				ins = s390x.AMOVW
    			case 2:
    				ins = s390x.AMOVH
    			}
    			p = pp.Append(p, ins, obj.TYPE_CONST, 0, 0, obj.TYPE_MEM, reg, off)
    
    		// Handle clears that would require multiple move instructions with CLEAR (assembled as XC).
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		{name: "MOVBUreg", argLength: 1, reg: gp11, asm: "MOVBU"}, // move from arg0, unsign-extended from byte
    		{name: "MOVHreg", argLength: 1, reg: gp11, asm: "MOVH"},   // move from arg0, sign-extended from half
    		{name: "MOVHUreg", argLength: 1, reg: gp11, asm: "MOVHU"}, // move from arg0, unsign-extended from half
    		{name: "MOVWreg", argLength: 1, reg: gp11, asm: "MOVW"},   // move from arg0, sign-extended from word
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/dcl.go

    // return function type, receiver as first argument (or not).
    func NewMethodType(sig *types.Type, recv *types.Type) *types.Type {
    	nrecvs := 0
    	if recv != nil {
    		nrecvs++
    	}
    
    	// TODO(mdempsky): Move this function to types.
    	// TODO(mdempsky): Preserve positions, names, and package from sig+recv.
    
    	params := make([]*types.Field, nrecvs+sig.NumParams())
    	if recv != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/alg.go

    	ANOALG         // implies ANOEQ, and in addition has a part that is marked Noalg
    	AMEM           // Type can be compared/hashed as regular memory.
    	AMEM0          // Specific subvariants of AMEM (TODO: move to ../reflectdata?)
    	AMEM8
    	AMEM16
    	AMEM32
    	AMEM64
    	AMEM128
    	ASTRING
    	AINTER
    	ANILINTER
    	AFLOAT32
    	AFLOAT64
    	ACPLX64
    	ACPLX128
    	ASPECIAL // Type needs special comparison/hashing functions.
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/xposmap.go

    // An xposmap is a map from fileindex and line of src.XPos to int32,
    // implemented sparsely to save space (column and statement status are ignored).
    // The sparse skeleton is constructed once, and then reused by ssa phases
    // that (re)move values with statements attached.
    type xposmap struct {
    	// A map from file index to maps from line range to integers (block numbers)
    	maps map[int32]*biasedSparseMap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:48:16 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top