Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for auxType (0.2 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/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)
  4. 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)
Back to top