cpu_ldst_template.h: Use ld*_p directly rather than via ld*_raw macros
commit355392329e4a843580e53cb027ed85e0cbebb640
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Jan 2015 15:19:34 +0000 (20 15:19 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Jan 2015 15:19:34 +0000 (20 15:19 +0000)
treee045e97ce0740e5dfd278baa70209cf8e31648ef
parent9220fe54c679d145232a28df6255e166ebf91bab
cpu_ldst_template.h: Use ld*_p directly rather than via ld*_raw macros

The ld*_raw and st*_raw macros are now only used within the code
produced by cpu_ldst_template.h, and only in three places.
Expand these out to just call the ld_p and st_p functions directly.

Note that in all the callsites the address argument is a uintptr_t,
so we can drop that part of the double-cast used in the saddr() and
laddr() macros.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1421334118-3287-13-git-send-email-peter.maydell@linaro.org
include/exec/cpu_ldst_template.h