arch-riscv: Fix braces around scalar initializer
clang complains that this scalar should not be surrounded by braces. Change-Id: Id399d7fbe06f3edaa1e1d569f968cd1674b2ac1d Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44365 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
bdb941b6d7
commit
667cad35db
@@ -78,7 +78,7 @@ unboxF32(uint64_t v)
|
||||
return defaultNaNF32UI;
|
||||
}
|
||||
|
||||
static constexpr uint64_t boxF32(uint32_t v) { return {mask(63, 32) | v}; }
|
||||
static constexpr uint64_t boxF32(uint32_t v) { return mask(63, 32) | v; }
|
||||
|
||||
// Create fixed size floats from raw bytes or generic floating point values.
|
||||
static constexpr float32_t f32(uint32_t v) { return {v}; }
|
||||
|
||||
Reference in New Issue
Block a user