]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-arm: Give the FPSCR rounding modes names
authorAlexander Graf <agraf@suse.de>
Sat, 4 Jan 2014 22:15:51 +0000 (22:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 19:18:06 +0000 (19:18 +0000)
commitf9dfa55857f4f172d4c23011d18f260c875e4bfb
tree1eaa6aa71aee29e33dcdb9f0497de37d7e7dca83
parent7b2440e4384e59a3d5228cbd53b76089075e9e71
target-arm: Give the FPSCR rounding modes names

When setting rounding modes we currently just hardcode the numeric values
for rounding modes in a big switch statement.

With AArch64 support coming, we will need to refer to these rounding modes
at different places throughout the code though, so let's better give them
names so we don't get confused by accident.

Signed-off-by: Alexander Graf <agraf@suse.de>
[WN: Commit message tweak, use names from ARM ARM.]
Signed-off-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-arm/cpu.h
target-arm/helper.c