diff options
author | Rekai Gonzalez-Alberquilla <rekai.gonzalezalberquilla@arm.com> | 2017-04-25 18:35:54 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-05-23 17:30:03 +0000 |
commit | 1d10cd6185edfd46d51f6562bff832a9b5d36cff (patch) | |
tree | c722ee2dad7a560b9f1a2fd74e85334238a4df37 /src/arch/riscv | |
parent | 6914a229a038206341ae1fea46393965a555ca9a (diff) | |
download | gem5-1d10cd6185edfd46d51f6562bff832a9b5d36cff.tar.xz |
arch-arm: Fix some poorly done type max and min in NEON
The ISA code for ARM calculates min and max elements for types using
bit manipulation. That triggers some warnings, treated as errors, as
the compiler can tell that there is an overflow and the sign
flips. Fixed using standard lib definitions instead.
Change-Id: Ie2331b410c7f76d4bd87da5afe9edf20c8ac91b3
Reviewed-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/3481
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/riscv')
0 files changed, 0 insertions, 0 deletions