github.com/primecitizens/pcz/std@v0.2.1/builtin/float/mode_386.s (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build pcz && 386 5 6 #include "textflag.h" 7 8 // func SetFPUMode(uint16) 9 TEXT ·SetFPUMode(SB),NOSPLIT,$2-2 10 FLDCW mode+0(FP) 11 RET 12 13 // func GetFPUMode() uint16 14 TEXT ·GetFPUMode(SB),NOSPLIT,$2-2 15 FSTCW mode+0(FP) 16 RET