Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AuxInt (0.11 sec)

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

    	v.AuxInt = auxint
    	v.Args = v.argstorage[:2]
    	v.argstorage[0] = arg0
    	v.argstorage[1] = arg1
    	arg0.Uses++
    	arg1.Uses++
    	return v
    }
    
    // NewValue2IA returns a new value in the block with two arguments and both an auxint and aux values.
    func (b *Block) NewValue2IA(pos src.XPos, op Op, t *types.Type, auxint int64, aux Aux, arg0, arg1 *Value) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Aux = aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K 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/rewrite.go

    	}
    	return int32(sh<<16 | mb<<8 | me)
    }
    
    func GetPPC64Shiftsh(auxint int64) int64 {
    	return int64(int8(auxint >> 16))
    }
    
    func GetPPC64Shiftmb(auxint int64) int64 {
    	return int64(int8(auxint >> 8))
    }
    
    func GetPPC64Shiftme(auxint int64) int64 {
    	return int64(int8(auxint))
    }
    
    // Test if this value can encoded as a mask for a rlwinm like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Rewrite to a cmp int64(0) to lower into ANDCCconst in the latelower pass.
    (CMP(W|U|WU)const [0] a:(ANDconst [n] z)) => (CMPconst [0] a)
    
    // SETBC auxInt values 0=LT 1=GT 2=EQ   Crbit==1 ? 1 : 0
    // SETBCR auxInt values 0=LT 1=GT 2=EQ   Crbit==1 ? 0 : 1
    (Equal cmp) => (SETBC [2] cmp)
    (NotEqual cmp) => (SETBCR [2] cmp)
    (LessThan cmp) => (SETBC [0] cmp)
    (FLessThan cmp) => (SETBC [0] cmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    	return s.curBlock.NewValue0A(s.peekPos(), op, t, aux)
    }
    
    // newValue0I adds a new value with no arguments and an auxint value to the current block.
    func (s *state) newValue0I(op ssa.Op, t *types.Type, auxint int64) *ssa.Value {
    	return s.curBlock.NewValue0I(s.peekPos(), op, t, auxint)
    }
    
    // newValue1 adds a new value with one argument to the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug.go

    	}
    	synthesizeOpIntFloatArg := func(n *ir.Name, t *types.Type, reg abi.RegIndex, sl LocalSlot) *Value {
    		aux := &AuxNameOffset{n, sl.Off}
    		op, auxInt := ArgOpAndRegisterFor(reg, f.ABISelf)
    		v := f.newValueNoBlock(op, t, pos)
    		v.AuxInt = auxInt
    		v.Aux = aux
    		v.Args = nil
    		v.Block = f.Entry
    		newValues = append(newValues, v)
    		addToNV(v, sl)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top