X7ROOT File Manager
Current Path:
/opt/golang/1.22.0/src/reflect
opt
/
golang
/
1.22.0
/
src
/
reflect
/
π
..
π
abi.go
(15.02 KB)
π
abi_test.go
(26.39 KB)
π
all_test.go
(214.57 KB)
π
arena.go
(570 B)
π
asm_386.s
(1.07 KB)
π
asm_amd64.s
(2.76 KB)
π
asm_arm.s
(1.13 KB)
π
asm_arm64.s
(2.77 KB)
π
asm_loong64.s
(2.87 KB)
π
asm_mips64x.s
(1.16 KB)
π
asm_mipsx.s
(1.16 KB)
π
asm_ppc64x.s
(3.31 KB)
π
asm_riscv64.s
(2.58 KB)
π
asm_s390x.s
(1.1 KB)
π
asm_wasm.s
(1.15 KB)
π
benchmark_test.go
(8.82 KB)
π
deepequal.go
(7.42 KB)
π
example_test.go
(4.53 KB)
π
export_test.go
(3.73 KB)
π
float32reg_generic.go
(681 B)
π
float32reg_ppc64x.s
(838 B)
π
float32reg_riscv64.s
(794 B)
π
internal
π
makefunc.go
(5.91 KB)
π
nih_test.go
(1004 B)
π
set_test.go
(5.71 KB)
π
stubs_ppc64x.go
(292 B)
π
stubs_riscv64.go
(263 B)
π
swapper.go
(2 KB)
π
tostring_test.go
(2.14 KB)
π
type.go
(80.47 KB)
π
type_test.go
(1.26 KB)
π
value.go
(118.95 KB)
π
visiblefields.go
(2.97 KB)
π
visiblefields_test.go
(5.27 KB)
Editing: float32reg_riscv64.s
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // 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 // would need rounding, but riscv64 store valid // float32 in the lower 32 bits, thus we only need to // unboxed the NaN-box by store a float32. MOVD reg+0(FP), F1 MOVF F1, ret+8(FP) RET
Upload File
Create Folder