Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for AuxInt (0.14 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "SLDconst", argLength: 1, reg: gp11, asm: "SLD", aux: "Int64"},       // arg0 << auxInt, 0 <= auxInt < 64, 64 bit width
    		{name: "SLWconst", argLength: 1, reg: gp11, asm: "SLW", aux: "Int64"},       // arg0 << auxInt, 0 <= auxInt < 32, 32 bit width
    
    		{name: "ROTLconst", argLength: 1, reg: gp11, asm: "ROTL", aux: "Int64"},   // arg0 rotate left by auxInt bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/s390x/ssa.go

    		p.From.Reg = r1
    		p.Reg = r2
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    	case ssa.OpS390XFIDBR:
    		switch v.AuxInt {
    		case 0, 1, 3, 4, 5, 6, 7:
    			opregregimm(s, v.Op.Asm(), v.Reg(), v.Args[0].Reg(), v.AuxInt)
    		default:
    			v.Fatalf("invalid FIDBR mask: %v", v.AuxInt)
    		}
    	case ssa.OpS390XCPSDR:
    		p := opregreg(s, v.Op.Asm(), v.Reg(), v.Args[1].Reg())
    		p.Reg = v.Args[0].Reg()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopbce.go

    					v := limit.AuxInt
    					if !inclusive {
    						if v == minSignedValue(limit.Type) {
    							return false // < minint is never satisfiable.
    						}
    						v--
    					}
    					if init.isGenericIntConst() {
    						// Use stride to compute a better lower limit.
    						if init.AuxInt > v {
    							return false
    						}
    						v = addU(init.AuxInt, diff(v, init.AuxInt)/uint64(step)*uint64(step))
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritedec64.go

    	for {
    		off := auxIntToInt32(v.AuxInt)
    		n := auxToSym(v.Aux)
    		if !(is64BitInt(v.Type) && !config.BigEndian && v.Type.IsSigned() && !(b.Func.pass.name == "decompose builtin")) {
    			break
    		}
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpArg, typ.Int32)
    		v0.AuxInt = int32ToAuxInt(off + 4)
    		v0.Aux = symToAux(n)
    		v1 := b.NewValue0(v.Pos, OpArg, typ.UInt32)
    		v1.AuxInt = int32ToAuxInt(off)
    		v1.Aux = symToAux(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/addressingmodes.go

    				}
    				if !isInImmediateRange(v.AuxInt + p.AuxInt) {
    					continue
    				}
    				if p.Aux != nil {
    					v.Aux = p.Aux
    				}
    				v.AuxInt += p.AuxInt
    			case [2]auxType{auxSymValAndOff, auxInt32}:
    				vo := ValAndOff(v.AuxInt)
    				if !vo.canAdd64(p.AuxInt) {
    					continue
    				}
    				v.AuxInt = int64(vo.addOffset64(p.AuxInt))
    			case [2]auxType{auxSymValAndOff, auxSymOff}:
    				vo := ValAndOff(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		// auxint+aux == add auxint and the offset of the symbol in aux (if any) to the effective address
    
    		{name: "MOVDconst", reg: gp01, asm: "MOV", typ: "UInt64", aux: "Int64", rematerializeable: true}, // auxint
    
    		// Loads: load <size> bits from arg0+auxint+aux and extend to 64 bits; arg1=mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/softfloat.go

    					v.Type = f.Config.Types.UInt32
    					v.AuxInt = int64(int32(math.Float32bits(auxTo32F(v.AuxInt))))
    				case OpConst64F:
    					v.Op = OpConst64
    					v.Type = f.Config.Types.UInt64
    				case OpNeg32F:
    					arg0 := v.Args[0]
    					v.reset(OpXor32)
    					v.Type = f.Config.Types.UInt32
    					v.AddArg(arg0)
    					mask := v.Block.NewValue0(v.Pos, OpConst32, v.Type)
    					mask.AuxInt = -0x80000000
    					v.AddArg(mask)
    				case OpNeg64F:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	// match: (ADDSconstflags [c] x)
    	// cond: !isARM64addcon(c)
    	// result: (ADDSflags x (MOVDconst [c]))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(c)
    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func_test.go

    	f.f.freeValue(v1)
    	f.f.freeValue(v2)
    	v3 := f.f.ConstBool(c.config.Types.Bool, false)
    	v4 := f.f.ConstBool(c.config.Types.Bool, true)
    	if v3.AuxInt != 0 {
    		t.Errorf("expected %s to have auxint of 0\n", v3.LongString())
    	}
    	if v4.AuxInt != 1 {
    		t.Errorf("expected %s to have auxint of 1\n", v4.LongString())
    	}
    
    }
    
    // opcodeMap returns a map from opcode to the number of times that opcode
    // appears in the function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top