Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for TFLOAT32 (0.14 sec)

  1. src/cmd/compile/internal/typecheck/builtin.go

    	typs[134] = newSig(params(typs[20]), params(typs[24]))
    	typs[135] = newSig(params(typs[20]), params(typs[60]))
    	typs[136] = newSig(params(typs[22]), params(typs[20]))
    	typs[137] = types.Types[types.TFLOAT32]
    	typs[138] = newSig(params(typs[22]), params(typs[137]))
    	typs[139] = newSig(params(typs[24]), params(typs[20]))
    	typs[140] = newSig(params(typs[24]), params(typs[137]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/size.go

    		w = 2
    		t.intRegs = 1
    
    	case TINT32, TUINT32:
    		w = 4
    		t.intRegs = 1
    
    	case TINT64, TUINT64:
    		w = 8
    		t.align = uint8(RegSize)
    		t.intRegs = uint8(8 / RegSize)
    
    	case TFLOAT32:
    		w = 4
    		t.floatRegs = 1
    		t.setAlg(AFLOAT32)
    
    	case TFLOAT64:
    		w = 8
    		t.align = uint8(RegSize)
    		t.floatRegs = 1
    		t.setAlg(AFLOAT64)
    
    	case TCOMPLEX64:
    		w = 8
    		t.align = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/fmt.go

    	TUINT8:      "uint8",
    	TINT16:      "int16",
    	TUINT16:     "uint16",
    	TINT32:      "int32",
    	TUINT32:     "uint32",
    	TINT64:      "int64",
    	TUINT64:     "uint64",
    	TUINTPTR:    "uintptr",
    	TFLOAT32:    "float32",
    	TFLOAT64:    "float64",
    	TCOMPLEX64:  "complex64",
    	TCOMPLEX128: "complex128",
    	TBOOL:       "bool",
    	TANY:        "any",
    	TSTRING:     "string",
    	TNIL:        "nil",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/expr.go

    		n.SetType(nil)
    		return n
    	}
    
    	n.SetOp(op)
    	switch n.Op() {
    	case ir.OCONVNOP:
    		if t.Kind() == n.Type().Kind() {
    			switch t.Kind() {
    			case types.TFLOAT32, types.TFLOAT64, types.TCOMPLEX64, types.TCOMPLEX128:
    				// Floating point casts imply rounding and
    				// so the conversion must be kept.
    				n.SetOp(ir.OCONV)
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/typecheck.go

    	types.TUINT32:     "uint32",
    	types.TINT64:      "int64",
    	types.TUINT64:     "uint64",
    	types.TUINTPTR:    "uintptr",
    	types.TCOMPLEX64:  "complex64",
    	types.TCOMPLEX128: "complex128",
    	types.TFLOAT32:    "float32",
    	types.TFLOAT64:    "float64",
    	types.TBOOL:       "bool",
    	types.TSTRING:     "string",
    	types.TPTR:        "pointer",
    	types.TUNSAFEPTR:  "unsafe.Pointer",
    	types.TSTRUCT:     "struct",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/func.go

    }
    
    func (f *Func) SplitComplex(name *LocalSlot) (*LocalSlot, *LocalSlot) {
    	s := name.Type.Size() / 2
    	var t *types.Type
    	if s == 8 {
    		t = types.Types[types.TFLOAT64]
    	} else {
    		t = types.Types[types.TFLOAT32]
    	}
    	r := f.SplitSlot(name, ".real", 0, t)
    	i := f.SplitSlot(name, ".imag", t.Size(), t)
    	return r, i
    }
    
    func (f *Func) SplitInt64(name *LocalSlot) (*LocalSlot, *LocalSlot) {
    	var t *types.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/builtin.go

    			} else {
    				on = typecheck.LookupRuntime("printuint")
    			}
    		case types.TINT, types.TINT8, types.TINT16, types.TINT32, types.TINT64:
    			on = typecheck.LookupRuntime("printint")
    		case types.TFLOAT32, types.TFLOAT64:
    			on = typecheck.LookupRuntime("printfloat")
    		case types.TCOMPLEX64, types.TCOMPLEX128:
    			on = typecheck.LookupRuntime("printcomplex")
    		case types.TBOOL:
    			on = typecheck.LookupRuntime("printbool")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/regalloc.go

    func (s *regAllocState) compatRegs(t *types.Type) regMask {
    	var m regMask
    	if t.IsTuple() || t.IsFlags() {
    		return 0
    	}
    	if t.IsFloat() || t == types.TypeInt128 {
    		if t.Kind() == types.TFLOAT32 && s.f.Config.fp32RegMask != 0 {
    			m = s.f.Config.fp32RegMask
    		} else if t.Kind() == types.TFLOAT64 && s.f.Config.fp64RegMask != 0 {
    			m = s.f.Config.fp64RegMask
    		} else {
    			m = s.f.Config.fpRegMask
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top