Searched hist:13824 (Results 1 - 2 of 2) sorted by relevance

/gem5/src/arch/arm/isa/insts/
H A Dsve.isadiff 13824:54e92033cf67 Thu Mar 14 18:20:00 EDT 2019 Andrea Mondelli <Andrea.Mondelli@ucf.edu> dev-arm: Correct cast of template parameter

Clang with -Wconstant-conversion is _very_ restrictive on casting.
The shift operator results in an incorrect promotion.

This patch add a compile-time static cast that remove the error
when clang is used.

Change-Id: I3aa1e77da2565799feadc32317d5faa111b2de86
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17308
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
/gem5/src/base/
H A Dbitfield.hhdiff 13824:54e92033cf67 Thu Mar 14 18:20:00 EDT 2019 Andrea Mondelli <Andrea.Mondelli@ucf.edu> dev-arm: Correct cast of template parameter

Clang with -Wconstant-conversion is _very_ restrictive on casting.
The shift operator results in an incorrect promotion.

This patch add a compile-time static cast that remove the error
when clang is used.

Change-Id: I3aa1e77da2565799feadc32317d5faa111b2de86
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17308
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

Completed in 17 milliseconds