Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for auxInt8 (0.61 sec)

  1. 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)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    	// 	case OpAdd32:
    	// 		res.val = newConst(argLt1.val.AuxInt32() + argLt2.val.AuxInt32())
    	//	case OpDiv8:
    	//		if !isDivideByZero(argLt2.val.AuxInt8()) {
    	//			res.val = newConst(argLt1.val.AuxInt8() / argLt2.val.AuxInt8())
    	//		}
    	//  ...
    	// 	}
    	//
    	// However, this would create a huge switch for all opcodes that can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/op.go

    	auxBool                   // auxInt is 0/1 for false/true
    	auxInt8                   // auxInt is an 8-bit integer
    	auxInt16                  // auxInt is a 16-bit integer
    	auxInt32                  // auxInt is a 32-bit integer
    	auxInt64                  // auxInt is a 64-bit integer
    	auxInt128                 // auxInt represents a 128-bit integer.  Always 0.
    	auxUInt8                  // auxInt is an 8-bit unsigned integer
    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

    			case auxBool:
    				if v.AuxInt < 0 || v.AuxInt > 1 {
    					f.Fatalf("bad bool AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt8:
    				if v.AuxInt != int64(int8(v.AuxInt)) {
    					f.Fatalf("bad int8 AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt16:
    				if v.AuxInt != int64(int16(v.AuxInt)) {
    					f.Fatalf("bad int16 AuxInt value for %v", v)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/opGen.go

    			},
    		},
    	},
    	{
    		name:    "BTLconst",
    		auxType: auxInt8,
    		argLen:  1,
    		asm:     x86.ABTL,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 49151}, // AX CX DX BX SP BP SI DI R8 R9 R10 R11 R12 R13 R15
    			},
    		},
    	},
    	{
    		name:    "BTQconst",
    		auxType: auxInt8,
    		argLen:  1,
    		asm:     x86.ABTQ,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc.go

    	}
    	if op == OpArgIntReg {
    		reg := v.Block.Func.Config.intParamRegs[v.AuxInt8()]
    		return regInfo{outputs: []outputInfo{{regs: 1 << uint(reg)}}}
    	}
    	if op == OpArgFloatReg {
    		reg := v.Block.Func.Config.floatParamRegs[v.AuxInt8()]
    		return regInfo{outputs: []outputInfo{{regs: 1 << uint(reg)}}}
    	}
    	if op.IsCall() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	case opHasAuxInt(op) && auxint == "" && auxint2 == "":
    		fmt.Printf("%s: rule silently zeros auxint, either copy auxint or explicitly zero\n", rule.Loc)
    	default:
    		fmt.Printf("%s: possible ellipsis rule candidate%s: %q\n", rule.Loc, usingCopy, rule.Rule)
    	}
    }
    
    func opByName(arch arch, name string) opData {
    	name = name[2:]
    	for _, x := range genericOps {
    		if name == x.name {
    			return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "CMPWconst", argLength: 1, reg: gp1flags, asm: "CMPW", typ: "Flags", aux: "Int16"}, // arg0 compare to auxint
    		{name: "CMPBconst", argLength: 1, reg: gp1flags, asm: "CMPB", typ: "Flags", aux: "Int8"},  // arg0 compare to auxint
    
    		// compare *(arg0+auxint+aux) to arg1 (in that order). arg2=mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "BTQconst", argLength: 1, reg: gp1flags, asm: "BTQ", typ: "Flags", aux: "Int8"},                         // test whether bit auxint in arg0 is set, 0 <= auxint < 64
    		{name: "BTCQconst", argLength: 1, reg: gp11, asm: "BTCQ", resultInArg0: true, clobberFlags: true, aux: "Int8"}, // complement bit auxint in arg0, 31 <= auxint < 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  10. src/cmd/compile/internal/ssa/rewritedec.go

    	// result: (IData x)
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpIData {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpIData)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ArraySelect [i] x:(Load <t> ptr mem))
    	// result: @x.Block (Load <v.Type> (OffPtr <v.Type.PtrTo()> [t.Elem().Size()*i] ptr) mem)
    	for {
    		i := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpLoad {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
Back to top