Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for IsFloat (1.08 sec)

  1. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (Store {t} ptr val mem) && t.Size() == 4 && !t.IsFloat() => (MOVWstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 && !t.IsFloat() => (MOVVstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 4 &&  t.IsFloat() => (MOVFstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 &&  t.IsFloat() => (MOVDstore ptr val mem)
    
    // zeroing
    (Zero [0] _ mem) => mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Store {t} ptr val mem) && t.Size() == 4 && !t.IsFloat() => (MOVWstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 && !t.IsFloat() => (MOVDstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 4 &&  t.IsFloat() => (FMOVWstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 &&  t.IsFloat() => (FMOVDstore ptr val mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

              BuildVhloStringV1Attr(value.AsString().str(), builder));
        } else if (value.IsInt()) {
          mlir_vector.push_back(BuildVhloIntV1Attr(value.AsInt64(), builder));
        } else if (value.IsFloat()) {
          mlir_vector.push_back(BuildVhloFloatV1Attr(value.AsFloat(), builder));
        } else if (value.IsVector()) {
          std::vector<mlir::Attribute> nested_mlir_vector =
              BuildAttributeVectorFromFlatbuffer(value.AsVector(), builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    				op += byteSizeSuffix(inst.DataSize / 8)
    			} else if inst.Mode == 64 {
    				op += "q"
    			} else {
    				op += byteSizeSuffix(inst.MemBytes)
    			}
    
    		default:
    			if isFloat(inst.Op) {
    				// I can't explain any of this, but it's what libopcodes does.
    				switch inst.MemBytes {
    				default:
    					if (inst.Op == FLD || inst.Op == FSTP) && isMem(inst.Args[0]) {
    						op += "t"
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/check.go

    					f.Fatalf("bad arg 0 to OpLocalAddr %v", v)
    				}
    				if !v.Args[1].Type.IsMemory() {
    					f.Fatalf("bad arg 1 to OpLocalAddr %v", v)
    				}
    			}
    
    			if f.RegAlloc != nil && f.Config.SoftFloat && v.Type.IsFloat() {
    				f.Fatalf("unexpected floating-point type %v", v.LongString())
    			}
    
    			// Check types.
    			// TODO: more type checks?
    			switch c := f.Config; v.Op {
    			case OpSP, OpSB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/text/template/exec.go

    	// we'd know what we need.) The syntax guides us to some extent.
    	s.at(constant)
    	switch {
    	case constant.IsComplex:
    		return reflect.ValueOf(constant.Complex128) // incontrovertible.
    
    	case constant.IsFloat &&
    		!isHexInt(constant.Text) && !isRuneInt(constant.Text) &&
    		strings.ContainsAny(constant.Text, ".eEpP"):
    		return reflect.ValueOf(constant.Float64)
    
    	case constant.IsInt:
    		n := int(constant.Int64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/iimport.go

    		val = constant.MakeBool(r.bool())
    
    	case types.IsString:
    		val = constant.MakeString(r.string())
    
    	case types.IsInteger:
    		var x big.Int
    		r.mpint(&x, b)
    		val = constant.Make(&x)
    
    	case types.IsFloat:
    		val = r.mpfloat(b)
    
    	case types.IsComplex:
    		re := r.mpfloat(b)
    		im := r.mpfloat(b)
    		val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/expr.go

    		return typecheck.Conv(call, t)
    	}
    
    	// Nothing to do for float divisions.
    	if types.IsFloat[et] {
    		return n
    	}
    
    	// rewrite 64-bit div and mod on 32-bit architectures.
    	// TODO: Remove this code once we can introduce
    	// runtime calls late in SSA processing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top