Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for int8ToAuxInt (0.31 sec)

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

    	// result: (CMPBconst (MOVBload {sym} [vo.Off()] ptr mem) [vo.Val8()])
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		v.reset(Op386CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v.reset(OpAMD64BTRQconst)
    		v.AuxInt = int8ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (BTRQconst [c] (BTCQconst [c] x))
    	// result: (BTRQconst [c] x)
    	for {
    		c := auxIntToInt8(v.AuxInt)
    		if v_0.Op != OpAMD64BTCQconst || auxIntToInt8(v_0.AuxInt) != c {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpAMD64BTRQconst)
    		v.AuxInt = int8ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    					v2 := b.NewValue0(v.Pos, OpConst8, typ.UInt8)
    					v2.AuxInt = int8ToAuxInt(int8(udivisible8(c).m))
    					v1.AddArg2(v2, x)
    					v3 := b.NewValue0(v.Pos, OpConst8, typ.UInt8)
    					v3.AuxInt = int8ToAuxInt(int8(8 - udivisible8(c).k))
    					v0.AddArg2(v1, v3)
    					v4 := b.NewValue0(v.Pos, OpConst8, typ.UInt8)
    					v4.AuxInt = int8ToAuxInt(int8(udivisible8(c).max))
    					v.AddArg2(v0, v4)
    					return true
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() != 0) {
    			break
    		}
    		v.reset(OpAMD64CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite386.go

    	// result: (CMPBconst x [int8(c)])
    	for {
    		x := v_0
    		if v_1.Op != Op386MOVLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		v.reset(Op386CMPBconst)
    		v.AuxInt = int8ToAuxInt(int8(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMPB (MOVLconst [c]) x)
    	// result: (InvertFlags (CMPBconst x [int8(c)]))
    	for {
    		if v_0.Op != Op386MOVLconst {
    			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)
  6. src/cmd/compile/internal/ssa/rewriteS390X.go

    	for {
    		x := v_0
    		v.reset(OpS390XFIDBR)
    		v.AuxInt = int8ToAuxInt(1)
    		v.AddArg(x)
    		return true
    	}
    }
    func rewriteValueS390X_OpRoundToEven(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (RoundToEven x)
    	// result: (FIDBR [4] x)
    	for {
    		x := v_0
    		v.reset(OpS390XFIDBR)
    		v.AuxInt = int8ToAuxInt(4)
    		v.AddArg(x)
    		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)
  7. src/cmd/compile/internal/ssa/rewritedec64.go

    		v5 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32)
    		v5.AddArg(x)
    		v6 := b.NewValue0(v.Pos, OpSub8, typ.UInt8)
    		v7 := b.NewValue0(v.Pos, OpConst8, typ.UInt8)
    		v7.AuxInt = int8ToAuxInt(32)
    		v6.AddArg2(v7, s)
    		v4.AddArg2(v5, v6)
    		v1.AddArg2(v2, v4)
    		v8 := b.NewValue0(v.Pos, OpLsh32x8, typ.UInt32)
    		v9 := b.NewValue0(v.Pos, OpSub8, typ.UInt8)
    		v9.AddArg2(s, v7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	return flagConstant(x)
    }
    
    func auxIntToOp(cc int64) Op {
    	return Op(cc)
    }
    
    func boolToAuxInt(b bool) int64 {
    	if b {
    		return 1
    	}
    	return 0
    }
    func int8ToAuxInt(i int8) int64 {
    	return int64(i)
    }
    func int16ToAuxInt(i int16) int64 {
    	return int64(i)
    }
    func int32ToAuxInt(i int32) int64 {
    	return int64(i)
    }
    func int64ToAuxInt(i int64) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteARM.go

    	for {
    		if v_1.Op != OpConst64 {
    			break
    		}
    		c := auxIntToInt64(v_1.AuxInt)
    		if !(uint64(c) >= 8) {
    			break
    		}
    		v.reset(OpConst8)
    		v.AuxInt = int8ToAuxInt(0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM_OpLsh8x8(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top