Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for IsFloat (0.11 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isULong -> KaConstantValue.KaUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
                type.isString -> KaConstantValue.KaStringConstantValue(value.toString(), expression)
                type.isFloat -> KaConstantValue.KaFloatConstantValue((value as Number).toFloat(), expression)
                type.isDouble -> KaConstantValue.KaDoubleConstantValue((value as Number).toDouble(), expression)
                else -> null
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/s390x/ssa.go

    		}
    		for _, a := range v.Args {
    			if a.Type.IsFlags() {
    				flive = true
    			}
    		}
    	}
    }
    
    // loadByType returns the load instruction of the given type.
    func loadByType(t *types.Type) obj.As {
    	if t.IsFloat() {
    		switch t.Size() {
    		case 4:
    			return s390x.AFMOVS
    		case 8:
    			return s390x.AFMOVD
    		}
    	} else {
    		switch t.Size() {
    		case 1:
    			if t.IsSigned() {
    				return s390x.AMOVB
    			} else {
    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/x86/ssa.go

    	// Avoid partial register write
    	if !t.IsFloat() {
    		switch t.Size() {
    		case 1:
    			return x86.AMOVBLZX
    		case 2:
    			return x86.AMOVWLZX
    		}
    	}
    	// Otherwise, there's no difference between load and store opcodes.
    	return storeByType(t)
    }
    
    // storeByType returns the store instruction of the given type.
    func storeByType(t *types.Type) obj.As {
    	width := t.Size()
    	if t.IsFloat() {
    		switch width {
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/wasm/ssa.go

    }
    
    func setReg(s *ssagen.State, reg int16) {
    	p := s.Prog(wasm.ASet)
    	p.To = obj.Addr{Type: obj.TYPE_REG, Reg: reg}
    }
    
    func loadOp(t *types.Type) obj.As {
    	if t.IsFloat() {
    		switch t.Size() {
    		case 4:
    			return wasm.AF32Load
    		case 8:
    			return wasm.AF64Load
    		default:
    			panic("bad load type")
    		}
    	}
    
    	switch t.Size() {
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/MIPS64.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: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (Store {t} ptr val mem) && t.Size() == 2 => (MOVHstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 4 && !t.IsFloat() => (MOVWstore 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)
    
    // float <=> int register moves, with no conversion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
Back to top