Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 546 for putint (0.21 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc

      if (!producer) return mlir::failure();
      versions->set_producer(producer.getInt());
    
      auto min_consumer = mlir::dyn_cast_or_null<mlir::IntegerAttr>(
          version_attr.get("min_consumer"));
      if (min_consumer) versions->set_min_consumer(min_consumer.getInt());
    
      auto bad_consumers = mlir::dyn_cast_or_null<mlir::ArrayAttr>(
          version_attr.get("bad_consumers"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/op.go

    const (
    	auxNone           auxType = iota
    	auxBool                   // auxInt is 0/1 for false/true
    	auxInt8                   // auxInt is an 8-bit integer
    	auxInt16                  // auxInt is a 16-bit integer
    	auxInt32                  // auxInt is a 32-bit integer
    	auxInt64                  // auxInt is a 64-bit integer
    	auxInt128                 // auxInt represents a 128-bit integer.  Always 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. tests/fuzz/pilot_model_fuzzer.go

    	if err != nil {
    		return si, err
    	}
    	return si, nil
    }
    
    // Gets a protocol from global var protocols
    func getProtocolInstance(f *fuzz.ConsumeFuzzer) (protocol.Instance, error) {
    	pIndex, err := f.GetInt()
    	if err != nil {
    		return protocol.Unsupported, errors.New("could not create protocolInstance")
    	}
    	i := protocols[pIndex%len(protocols)]
    	return i, nil
    }
    
    // Creates a new fuzzed Port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

      p << " num_args(" << op->getAttrOfType<mlir::IntegerAttr>("num_args").getInt()
        << ')';
    }
    
    void ExecuteOp::print(OpAsmPrinter &p) {
      ExecuteOp op = *this;
      p << " key(" << op->getAttrOfType<mlir::IntegerAttr>("op_key").getInt()
        << ") cost(" << op->getAttrOfType<mlir::IntegerAttr>("_tfrt_cost").getInt()
        << ") device(" << op->getAttr("device") << ") " << op->getAttr("op_name")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	default:
    		log.Fatalf("too many controls: %d", outdata.controls)
    	}
    
    	if auxint != "" {
    		// Make sure auxint value has the right type.
    		rr.add(stmtf("b.AuxInt = %sToAuxInt(%s)", unTitle(outdata.auxIntType()), auxint))
    	}
    	if aux != "" {
    		// Make sure aux value has the right type.
    		rr.add(stmtf("b.Aux = %sToAux(%s)", unTitle(outdata.auxType()), aux))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// constants. Constant values are stored in the aux or
    	// auxint fields.
    	{name: "ConstBool", aux: "Bool"},     // auxint is 0 for false and 1 for true
    	{name: "ConstString", aux: "String"}, // value is aux.(string)
    	{name: "ConstNil", typ: "BytePtr"},   // nil pointer
    	{name: "Const8", aux: "Int8"},        // auxint is sign-extended 8 bits
    	{name: "Const16", aux: "Int16"},      // auxint is sign-extended 16 bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top