summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Bennée2019-10-21 17:09:10 +0200
committerRichard Henderson2019-10-28 10:26:02 +0100
commit4cef72d0425c34cca05f1df9796bd57a96318310 (patch)
tree6e6cac046edb6b4ebc2840e0c3c98705016071d0 /include
parenttci: Add implementation for INDEX_op_ld16u_i64 (diff)
downloadqemu-4cef72d0425c34cca05f1df9796bd57a96318310.tar.gz
qemu-4cef72d0425c34cca05f1df9796bd57a96318310.tar.xz
qemu-4cef72d0425c34cca05f1df9796bd57a96318310.zip
cputlb: ensure _cmmu helper functions follow the naming standard
We document this in docs/devel/load-stores.rst so lets follow it. The 32 bit and 64 bit access functions have historically not included the sign so we leave those as is. We also introduce some signed helpers which are used for loading immediate values in the translator. Fixes: 282dffc8 Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20191021150910.23216-1-alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/cpu_ldst_template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/cpu_ldst_template.h b/include/exec/cpu_ldst_template.h
index af7e0b49f2..3d24ed9bd0 100644
--- a/include/exec/cpu_ldst_template.h
+++ b/include/exec/cpu_ldst_template.h
@@ -65,8 +65,8 @@
#ifdef SOFTMMU_CODE_ACCESS
#define ADDR_READ addr_code
#define MMUSUFFIX _cmmu
-#define URETSUFFIX SUFFIX
-#define SRETSUFFIX SUFFIX
+#define URETSUFFIX USUFFIX
+#define SRETSUFFIX glue(s, SUFFIX)
#else
#define ADDR_READ addr_read
#define MMUSUFFIX _mmu