diff options
author | Chris Robinson <[email protected]> | 2023-10-08 02:53:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-10-08 02:53:49 -0700 |
commit | afd3c4adeb7a2fa433314773e6496ef6b9ea29ac (patch) | |
tree | 4b1f4f7a67b4ba1fafb638944a3861aa59c885bb | |
parent | d59338e95f5617c71402a3a6be5c6f5f4168c501 (diff) |
Mark some functions as maybe_unused
For non-SSE-capable targets
-rw-r--r-- | core/fpu_ctrl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpu_ctrl.cpp b/core/fpu_ctrl.cpp index 701f517d..435855ad 100644 --- a/core/fpu_ctrl.cpp +++ b/core/fpu_ctrl.cpp @@ -25,6 +25,7 @@ namespace { #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) [[gnu::target("sse")]] #endif +[[maybe_unused]] void disable_denormals(unsigned int *state [[maybe_unused]]) { #if defined(HAVE_SSE_INTRINSICS) @@ -52,6 +53,7 @@ void disable_denormals(unsigned int *state [[maybe_unused]]) #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) [[gnu::target("sse")]] #endif +[[maybe_unused]] void reset_fpu(unsigned int state [[maybe_unused]]) { #if defined(HAVE_SSE_INTRINSICS) || defined(HAVE_SSE) |