Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for AuxInt (0.2 sec)

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

    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != Op386ANDLconst {
    			break
    		}
    		d := auxIntToInt32(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(Op386ANDLconst)
    		v.AuxInt = int32ToAuxInt(c & d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDLconst [c] _)
    	// cond: c==0
    	// result: (MOVLconst [0])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if !(c == 0) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64.go

    	for {
    		val := auxIntToInt64(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValuePPC64_OpConst8(v *Value) bool {
    	// match: (Const8 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteS390X.go

    	for {
    		val := auxIntToInt32(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueS390X_OpConst64(v *Value) bool {
    	// match: (Const64 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt64(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteWasm.go

    	// result: (I64Const [int64(c)])
    	for {
    		c := auxIntToInt16(v.AuxInt)
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(int64(c))
    		return true
    	}
    }
    func rewriteValueWasm_OpConst32(v *Value) bool {
    	// match: (Const32 [c])
    	// result: (I64Const [int64(c)])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(int64(c))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		{name: "MOVFconst", argLength: 0, reg: fp01, aux: "Float32", asm: "MOVF", typ: "Float32", rematerializeable: true}, // auxint as 64-bit float, convert to 32-bit float
    		{name: "MOVDconst", argLength: 0, reg: fp01, aux: "Float64", asm: "MOVD", typ: "Float64", rematerializeable: true}, // auxint as 64-bit float
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ppc64/ssa.go

    	case ssa.OpPPC64ISEL, ssa.OpPPC64ISELZ:
    		// ISEL  AuxInt ? arg0 : arg1
    		// ISELZ is a special case of ISEL where arg1 is implicitly $0.
    		//
    		// AuxInt value indicates conditions 0=LT 1=GT 2=EQ 3=SO 4=GE 5=LE 6=NE 7=NSO.
    		// ISEL accepts a CR bit argument, not a condition as expressed by AuxInt.
    		// Convert the condition to a CR bit argument by the following conversion:
    		//
    		// AuxInt&3 ? arg0 : arg1 for conditions LT, GT, EQ, SO
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/phiopt.go

    		return
    	}
    
    	switch a0.Op {
    	case OpConst8, OpConst16, OpConst32, OpConst64:
    	default:
    		return
    	}
    
    	negate := false
    	switch {
    	case a0.AuxInt == 0 && a1.AuxInt == 1:
    		negate = true
    	case a0.AuxInt == 1 && a1.AuxInt == 0:
    	default:
    		return
    	}
    
    	if reverse == 1 {
    		negate = !negate
    	}
    
    	a := b0.Controls[0]
    	if negate {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		{name: "ADDVconst", argLength: 1, reg: gp11sp, asm: "ADDVU", aux: "Int64"}, // arg0 + auxInt. auxInt is 32-bit, also in other *const ops.
    		{name: "SUBV", argLength: 2, reg: gp21, asm: "SUBVU"},                      // arg0 - arg1
    		{name: "SUBVconst", argLength: 1, reg: gp11, asm: "SUBVU", aux: "Int64"},   // arg0 - auxInt
    
    		{name: "MULV", argLength: 2, reg: gp21, asm: "MULV", commutative: true, typ: "Int64"},      // arg0 * arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    		{name: "SUBV", argLength: 2, reg: gp21, asm: "SUBVU"},                                                // arg0 - arg1
    		{name: "SUBVconst", argLength: 1, reg: gp11, asm: "SUBVU", aux: "Int64"},                             // arg0 - auxInt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/zcse.go

    	t  *types.Type // type
    }
    
    // keyFor returns the AuxInt portion of a  key structure uniquely identifying a
    // zero arg value for the supported ops.
    func keyFor(v *Value) int64 {
    	switch v.Op {
    	case OpConst64, OpConst64F, OpConst32F:
    		return v.AuxInt
    	case OpConst32:
    		return int64(int32(v.AuxInt))
    	case OpConst16:
    		return int64(int16(v.AuxInt))
    	case OpConst8, OpConstBool:
    		return int64(int8(v.AuxInt))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
Back to top