On 12/28/2013 01:49 PM, Peter Maydell wrote: > From: Alexander Graf <ag...@suse.de> > > 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 <ag...@suse.de> > [WN: Commit message tweak, use names from ARM ARM.] > Signed-off-by: Will Newton <will.new...@linaro.org> > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target-arm/cpu.h | 9 +++++++++ > target-arm/helper.c | 8 ++++---- > 2 files changed, 13 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <r...@twiddle.net> r~