- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for archFloat32ToReg (0.34 sec)
-
src/reflect/stubs_riscv64.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package reflect func archFloat32FromReg(reg uint64) float32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 04 13:38:32 UTC 2022 - 263 bytes - Viewed (0) -
src/reflect/float32reg_generic.go
// zero argument registers, but is not used. func archFloat32FromReg(reg uint64) float32 { i := uint32(reg) return *(*float32)(unsafe.Pointer(&i)) } func archFloat32ToReg(val float32) uint64 { return uint64(*(*uint32)(unsafe.Pointer(&val)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 04 13:38:32 UTC 2022 - 681 bytes - Viewed (0) -
src/reflect/stubs_ppc64x.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ppc64le || ppc64 package reflect func archFloat32FromReg(reg uint64) float32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 292 bytes - Viewed (0) -
src/reflect/float32reg_ppc64x.s
// On PPC64, the float32 becomes a float64 // when loaded in a register, different from // other platforms. These functions are // needed to ensure correct conversions on PPC64. // Convert float32->uint64 TEXT ·archFloat32ToReg(SB),NOSPLIT,$0-16 FMOVS val+0(FP), F1 FMOVD F1, ret+8(FP) RET // Convert uint64->float32 TEXT ·archFloat32FromReg(SB),NOSPLIT,$0-12 FMOVD reg+0(FP), F1 // Normally a float64->float32 conversion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 838 bytes - Viewed (0) -
src/reflect/float32reg_riscv64.s
// riscv64 allows 32-bit floats to live in the bottom // part of the register, it expects them to be NaN-boxed. // These functions are needed to ensure correct conversions // on riscv64. // Convert float32->uint64 TEXT ·archFloat32ToReg(SB),NOSPLIT,$0-16 MOVF val+0(FP), F1 MOVD F1, ret+8(FP) RET // Convert uint64->float32 TEXT ·archFloat32FromReg(SB),NOSPLIT,$0-12 // Normally a float64->float32 conversion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 04 13:38:32 UTC 2022 - 794 bytes - Viewed (0) -
src/reflect/abi.go
// // argSize must be either 4 or 8. func floatToReg(r *abi.RegArgs, reg int, argSize uintptr, from unsafe.Pointer) { switch argSize { case 4: r.Floats[reg] = archFloat32ToReg(*(*float32)(from)) case 8: r.Floats[reg] = *(*uint64)(from) default: panic("bad argSize") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0)