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