diff options
author | Peter Maydell | 2021-02-11 13:27:45 +0100 |
---|---|---|
committer | Alex Bennée | 2021-02-15 10:38:37 +0100 |
commit | d20711bd6d88ecd5890818b074a62a9f0858ffef (patch) | |
tree | df10ffa672fd9201b1ec191e66c0d1efc5e651cd /qemu-options.h | |
parent | MAINTAINERS: Add gdbstub.h to the "GDB stub" section (diff) | |
download | qemu-d20711bd6d88ecd5890818b074a62a9f0858ffef.tar.gz qemu-d20711bd6d88ecd5890818b074a62a9f0858ffef.tar.xz qemu-d20711bd6d88ecd5890818b074a62a9f0858ffef.zip |
target/sh4: Drop use of gdb_get_float32() and ldfl_p()
We used to make a distinction between 'float64'/'float32' types and
the 'uint64_t'/'uint32_t' types, requiring special conversion
operations to go between them. We've now dropped this distinction as
unnecessary, and the 'float*' types remain primarily for
documentation purposes when used in places like the function
prototypes of TCG helper functions.
This means that there's no need for a special gdb_get_float32()
function to write a float32 value to the GDB protocol buffer; we can
just use gdb_get_reg32().
Similarly, for reading a value out of the GDB buffer into a float32
we can use ldl_p() and need not use ldfl_p().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210208113428.7181-2-peter.maydell@linaro.org>
Message-Id: <20210211122750.22645-11-alex.bennee@linaro.org>
Diffstat (limited to 'qemu-options.h')
0 files changed, 0 insertions, 0 deletions