commit | c2e3ac69161b87d9127e670dbd76dc3fe1f7944c | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Tue Sep 08 16:05:33 2020 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Wed Sep 09 20:54:13 2020 +0100 |
tree | ee06d76bb33605d67bce249151f96f194e655dcc | |
parent | c8b4241643ff2707edba66910fcfb7dd4a289ab4 [diff] |
target/arm: Make isar_feature_aa32_fp16_arith() handle M-profile The M-profile definition of the MVFR1 ID register differs slightly from the A-profile one, and in particular the check for "does the CPU support fp16 arithmetic" is not the same. We don't currently implement any M-profile CPUs with fp16 arithmetic, so this is not yet a visible bug, but correcting the logic now disarms this beartrap for when we eventually do. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>