diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-22 15:09:20 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:29:54 -0600 |
commit | 431d6070af80bccd840b012c5f708d53b686e6f7 (patch) | |
tree | 2fe42671901751d1482e33ff0d069a2669147b93 /target-alpha | |
parent | d1b7946e1bba54cbf106b0d28f459efea5f40410 (diff) | |
download | hqemu-431d6070af80bccd840b012c5f708d53b686e6f7.zip hqemu-431d6070af80bccd840b012c5f708d53b686e6f7.tar.gz |
fpu: Replace uint64 typedef with uint64_t
Replace the uint64 softfloat-specific typedef with uint64_t.
This change was made with
find include fpu target-* -name '*.[ch]' | xargs sed -i -e 's/\buint64\b/uint64_t/g'
together with manual removal of the typedef definition, and
manual undoing of some mis-hits where macro arguments were
being used for token pasting rather than as a type.
Note that the target-mips/kvm.c and target-s390x/kvm.c changes are fixing
code that should not have been using the uint64 type in the first place.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Leon Alrae <leon.alrae@imgtec.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Message-id: 1452603315-27030-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/fpu_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/fpu_helper.c b/target-alpha/fpu_helper.c index b091aa8..0c65e1f 100644 --- a/target-alpha/fpu_helper.c +++ b/target-alpha/fpu_helper.c @@ -437,7 +437,7 @@ uint64_t helper_cvtqs(CPUAlphaState *env, uint64_t a) return float32_to_s(fr); } -/* Implement float64 to uint64 conversion without saturation -- we must +/* Implement float64 to uint64_t conversion without saturation -- we must supply the truncated result. This behaviour is used by the compiler to get unsigned conversion for free with the same instruction. */ |