Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for float64FromBits (0.25 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    }
    
    // auxTo32F decodes a float32 from the AuxInt value provided.
    func auxTo32F(i int64) float32 {
    	return truncate64Fto32F(math.Float64frombits(uint64(i)))
    }
    
    // auxTo64F decodes a float64 from the AuxInt value provided.
    func auxTo64F(i int64) float64 {
    	return math.Float64frombits(uint64(i))
    }
    
    func auxIntToBool(i int64) bool {
    	if i == 0 {
    		return false
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (MOVDstore [off] {sym} ptr (MFVSRD x) mem) => (FMOVDstore [off] {sym} ptr x mem)
    
    (MTVSRD (MOVDconst [c])) && !math.IsNaN(math.Float64frombits(uint64(c))) => (FMOVDconst [math.Float64frombits(uint64(c))])
    (MFVSRD (FMOVDconst [c])) => (MOVDconst [int64(math.Float64bits(c))])
    
    (MTVSRD x:(MOVDload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (FMOVDload [off] {sym} ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    							if sdat, err := sect.Data(); err == nil {
    								data := sdat[s.Value-sect.Addr:]
    								floats = make([]float64, len(data)/8)
    								for i := range floats {
    									floats[i] = math.Float64frombits(bo.Uint64(data[i*8:]))
    								}
    							}
    						}
    					}
    				default:
    					if n := indexOfDebugStr(s.Name); n != -1 {
    						// Found it. Now find data section.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ppc64/ssa.go

    		p.From.Offset = v.AuxInt
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64FMOVDconst, ssa.OpPPC64FMOVSconst:
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_FCONST
    		p.From.Val = math.Float64frombits(uint64(v.AuxInt))
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64FCMPU, ssa.OpPPC64CMP, ssa.OpPPC64CMPW, ssa.OpPPC64CMPU, ssa.OpPPC64CMPWU:
    		p := s.Prog(v.Op.Asm())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top