Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for int32ToAuxInt (0.28 sec)

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

    		mem := v_2
    		v.reset(OpMIPSMOVBstore)
    		v.AuxInt = int32ToAuxInt(3)
    		v0 := b.NewValue0(v.Pos, OpMIPSMOVBUload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(3)
    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpMIPSMOVBstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(2)
    		v2 := b.NewValue0(v.Pos, OpMIPSMOVBUload, typ.UInt8)
    		v2.AuxInt = int32ToAuxInt(2)
    		v2.AddArg2(src, mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite386splitload.go

    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		v.reset(Op386CMPLconst)
    		v.AuxInt = int32ToAuxInt(vo.Val())
    		v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValue386splitload_Op386CMPLload(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM.go

    		if v_0.Op != OpARMMOVWconst {
    			break
    		}
    		c := auxIntToInt32(v_0.AuxInt)
    		x := v_1
    		flags := v_2
    		v.reset(OpARMADCconst)
    		v.AuxInt = int32ToAuxInt(c)
    		v0 := b.NewValue0(v.Pos, OpARMSLLconst, x.Type)
    		v0.AuxInt = int32ToAuxInt(d)
    		v0.AddArg(x)
    		v.AddArg2(v0, flags)
    		return true
    	}
    	// match: (ADCshiftLL x (MOVWconst [c]) [d] flags)
    	// result: (ADCconst x [c<<uint64(d)] flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() != 0) {
    			break
    		}
    		v.reset(OpAMD64CMPLconst)
    		v.AuxInt = int32ToAuxInt(vo.Val())
    		v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32)
    		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/rewriteAMD64.go

    		v.reset(OpAMD64LEAL1)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (ADDLconst [c] (SHLLconst [1] x))
    	// result: (LEAL1 [c] x x)
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpAMD64SHLLconst || auxIntToInt8(v_0.AuxInt) != 1 {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpAMD64LEAL1)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg2(x, 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)
  6. src/cmd/compile/internal/ssa/rewrite386.go

    			break
    		}
    		v.reset(Op386LEAL)
    		v.AuxInt = int32ToAuxInt(c + d)
    		v.Aux = symToAux(s)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ADDLconst [c] x:(SP))
    	// result: (LEAL [c] x)
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if x.Op != OpSP {
    			break
    		}
    		v.reset(Op386LEAL)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		mem := v_2
    		v.reset(OpLOONG64MOVBstore)
    		v.AuxInt = int32ToAuxInt(3)
    		v0 := b.NewValue0(v.Pos, OpLOONG64MOVBload, typ.Int8)
    		v0.AuxInt = int32ToAuxInt(3)
    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpLOONG64MOVBstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(2)
    		v2 := b.NewValue0(v.Pos, OpLOONG64MOVBload, typ.Int8)
    		v2.AuxInt = int32ToAuxInt(2)
    		v2.AddArg2(src, mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		v.reset(OpPPC64ISELZ)
    		v.AuxInt = int32ToAuxInt(a)
    		v.AddArg2(x, z)
    		return true
    	}
    	// match: (ISEL [a] (MOVDconst [0]) y z)
    	// result: (ISELZ [a^0x4] y z)
    	for {
    		a := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpPPC64MOVDconst || auxIntToInt64(v_0.AuxInt) != 0 {
    			break
    		}
    		y := v_1
    		z := v_2
    		v.reset(OpPPC64ISELZ)
    		v.AuxInt = int32ToAuxInt(a ^ 0x4)
    		v.AddArg2(y, z)
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		mem := v_2
    		v.reset(OpMIPS64MOVBstore)
    		v.AuxInt = int32ToAuxInt(3)
    		v0 := b.NewValue0(v.Pos, OpMIPS64MOVBload, typ.Int8)
    		v0.AuxInt = int32ToAuxInt(3)
    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpMIPS64MOVBstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(2)
    		v2 := b.NewValue0(v.Pos, OpMIPS64MOVBload, typ.Int8)
    		v2.AuxInt = int32ToAuxInt(2)
    		v2.AddArg2(src, mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewritePPC64.go

    		mem := v_2
    		v.reset(OpPPC64MOVBstore)
    		v.AuxInt = int32ToAuxInt(6)
    		v0 := b.NewValue0(v.Pos, OpPPC64MOVBZload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(6)
    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpPPC64MOVHstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(4)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVHZload, typ.UInt16)
    		v2.AuxInt = int32ToAuxInt(4)
    		v2.AddArg2(src, mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top