Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for auxType (0.14 sec)

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

    		},
    	},
    	{
    		name:              "MOVSSconst",
    		auxType:           auxFloat32,
    		argLen:            0,
    		rematerializeable: true,
    		asm:               x86.AMOVSS,
    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 65280}, // X0 X1 X2 X3 X4 X5 X6 X7
    			},
    		},
    	},
    	{
    		name:              "MOVSDconst",
    		auxType:           auxFloat64,
    		argLen:            0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/value.go

    	}
    	return fmt.Sprintf("v%d", v.ID)
    }
    
    func (v *Value) AuxInt8() int8 {
    	if opcodeTable[v.Op].auxType != auxInt8 && opcodeTable[v.Op].auxType != auxNameOffsetInt8 {
    		v.Fatalf("op %s doesn't have an int8 aux field", v.Op)
    	}
    	return int8(v.AuxInt)
    }
    
    func (v *Value) AuxUInt8() uint8 {
    	if opcodeTable[v.Op].auxType != auxUInt8 {
    		v.Fatalf("op %s doesn't have a uint8 aux field", v.Op)
    	}
    	return uint8(v.AuxInt)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/addressingmodes.go

    				continue
    			}
    			// See if we can combine the Aux/AuxInt values.
    			switch [2]auxType{opcodeTable[v.Op].auxType, opcodeTable[p.Op].auxType} {
    			case [2]auxType{auxSymOff, auxInt32}:
    				// TODO: introduce auxSymOff32
    				if !isInImmediateRange(v.AuxInt + p.AuxInt) {
    					continue
    				}
    				v.AuxInt += p.AuxInt
    			case [2]auxType{auxSymOff, auxSymOff}:
    				if v.Aux != nil && p.Aux != nil {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/nilcheck.go

    				case auxInt32:
    					// Mips uses this auxType for atomic add constant. It does not affect the effective address.
    				case auxInt64:
    					// ARM uses this auxType for duffcopy/duffzero/alignment info.
    					// It does not affect the effective address.
    				case auxNone:
    					// offset is zero.
    				default:
    					v.Fatalf("can't handle aux %s (type %d) yet\n", v.auxString(), int(opcodeTable[v.Op].auxType))
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/op.go

    // There is one file for generic (architecture-independent) ops and one file
    // for each architecture.
    type Op int32
    
    type opInfo struct {
    	name              string
    	reg               regInfo
    	auxType           auxType
    	argLen            int32 // the number of arguments, -1 if variable length
    	asm               obj.As
    	generic           bool      // this is a generic (arch-independent) opcode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/rulegen.go

    				return x
    			}
    		}
    	}
    	log.Fatalf("failed to find op named %s in arch %s", name, arch.name)
    	panic("unreachable")
    }
    
    // auxType returns the Go type that this operation should store in its aux field.
    func (op opData) auxType() string {
    	switch op.aux {
    	case "String":
    		return "string"
    	case "Sym":
    		// Note: a Sym can be an *obj.LSym, a *gc.Node, or nil.
    		return "Sym"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/expand_calls.go

    	var oldArgs []*Value
    	argsWithoutMem := v.Args[:len(v.Args)-1]
    
    	for j, a := range argsWithoutMem {
    		oldArgs = append(oldArgs, a)
    		i := int64(j)
    		auxType := aux.TypeOfResult(i)
    		auxBase := b.NewValue2A(v.Pos, OpLocalAddr, types.NewPtr(auxType), aux.NameOfResult(i), x.sp, mem)
    		auxOffset := int64(0)
    		aRegs := aux.RegsOfResult(int64(j))
    		if a.Op == OpDereference {
    			a.Op = OpLoad
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/main.go

    		for _, v := range a.ops {
    			if v.name == "Invalid" {
    				continue
    			}
    			fmt.Fprintln(w, "{")
    			fmt.Fprintf(w, "name:\"%s\",\n", v.name)
    
    			// flags
    			if v.aux != "" {
    				fmt.Fprintf(w, "auxType: aux%s,\n", v.aux)
    			}
    			fmt.Fprintf(w, "argLen: %d,\n", v.argLength)
    
    			if v.rematerializeable {
    				if v.reg.clobbers != 0 {
    					log.Fatalf("%s is rematerializeable and clobbers registers", v.name)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/check.go

    			}
    
    			// Check to make sure aux values make sense.
    			canHaveAux := false
    			canHaveAuxInt := false
    			// TODO: enforce types of Aux in this switch (like auxString does below)
    			switch opcodeTable[v.Op].auxType {
    			case auxNone:
    			case auxBool:
    				if v.AuxInt < 0 || v.AuxInt > 1 {
    					f.Fatalf("bad bool AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/internal/xcoff/xcoff.go

    	Xfsize   uint32 // Size of function in bytes
    	Xendndx  uint32 // Symbol table index of next entry
    	Xpad     uint8  // Unused
    	Xauxtype uint8  // Type of auxiliary entry
    }
    
    type AuxSect64 struct {
    	Xscnlen  uint64 // section length
    	Xnreloc  uint64 // Num RLDs
    	pad      uint8
    	Xauxtype uint8 // Type of auxiliary entry
    }
    
    // csect Auxiliary Entry.
    type AuxCSect32 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top