diff options
author | Andrew Waterman <andrew@sifive.com> | 2022-09-22 17:31:47 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2022-10-04 15:40:01 -0700 |
commit | ae747db810ac59da81d6c5f055c04ed2a882aded (patch) | |
tree | 848afc1e9a5f95ade64e34e8506edea9a7f0a590 /softfloat/specialize.h | |
parent | 36009d07e8545dd43349c309f052fbb9b2ccce8c (diff) | |
download | spike-ae747db810ac59da81d6c5f055c04ed2a882aded.zip spike-ae747db810ac59da81d6c5f055c04ed2a882aded.tar.gz spike-ae747db810ac59da81d6c5f055c04ed2a882aded.tar.bz2 |
Suppress unused-paramter warnings in softfloat
Diffstat (limited to 'softfloat/specialize.h')
-rw-r--r-- | softfloat/specialize.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/softfloat/specialize.h b/softfloat/specialize.h index 556476c..d8a1985 100644 --- a/softfloat/specialize.h +++ b/softfloat/specialize.h @@ -238,6 +238,9 @@ INLINE struct uint128 softfloat_commonNaNToExtF80UI( const struct commonNaN *aPtr ) { struct uint128 uiZ; + + (void) aPtr; + uiZ.v64 = defaultNaNExtF80UI64; uiZ.v0 = defaultNaNExtF80UI0; return uiZ; @@ -295,6 +298,9 @@ INLINE struct uint128 softfloat_commonNaNToF128UI( const struct commonNaN *aPtr ) { struct uint128 uiZ; + + (void) aPtr; + uiZ.v64 = defaultNaNF128UI64; uiZ.v0 = defaultNaNF128UI0; return uiZ; |