Fix warning for unused param in VL_RTOIROUND_Q_D (#2356)

This commit is contained in:
Jan Van Winkel 2020-05-25 14:13:12 +02:00 committed by GitHub
parent f7249ad23a
commit 424769c32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ Howard Su
Huang Rui
Iztok Jeras
James Hanlon
Jan Van Winkel
Jeremy Bennett
John Coiner
John Demme

View File

@ -2384,7 +2384,7 @@ static inline WDataOutP VL_SEL_WWII(int obits, int lbits, int, int, WDataOutP ow
/// Return QData from double (numeric)
// EMIT_RULE: VL_RTOIROUND_Q_D: oclean=dirty; lclean==clean/real
static inline QData VL_RTOIROUND_Q_D(int bits, double lhs) VL_PURE {
static inline QData VL_RTOIROUND_Q_D(int, double lhs) VL_PURE {
// IEEE format: [63]=sign [62:52]=exp+1023 [51:0]=mantissa
// This does not need to support subnormals as they are sub-integral
lhs = VL_ROUND(lhs);