[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 25/29] exec: Rename USUFFIX to LSUFFIX
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PULL 25/29] exec: Rename USUFFIX to LSUFFIX |
Date: |
Mon, 2 Sep 2013 09:29:10 -0700 |
In a following patch, there will be confusion between multiple "unsigned"
suffixes; rename this one so as to imply "load".
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
include/exec/softmmu_template.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/exec/softmmu_template.h b/include/exec/softmmu_template.h
index 2fc6ea3..f9922e2 100644
--- a/include/exec/softmmu_template.h
+++ b/include/exec/softmmu_template.h
@@ -28,19 +28,19 @@
#if DATA_SIZE == 8
#define SUFFIX q
-#define USUFFIX q
+#define LSUFFIX q
#define DATA_TYPE uint64_t
#elif DATA_SIZE == 4
#define SUFFIX l
-#define USUFFIX l
+#define LSUFFIX l
#define DATA_TYPE uint32_t
#elif DATA_SIZE == 2
#define SUFFIX w
-#define USUFFIX uw
+#define LSUFFIX uw
#define DATA_TYPE uint16_t
#elif DATA_SIZE == 1
#define SUFFIX b
-#define USUFFIX ub
+#define LSUFFIX ub
#define DATA_TYPE uint8_t
#else
#error unsupported data size
@@ -147,7 +147,7 @@ glue(glue(helper_ret_ld, SUFFIX), MMUSUFFIX)(CPUArchState
*env,
#endif
haddr = addr + env->tlb_table[mmu_idx][index].addend;
- return glue(glue(ld, USUFFIX), _raw)((uint8_t *)haddr);
+ return glue(glue(ld, LSUFFIX), _raw)((uint8_t *)haddr);
}
DATA_TYPE
@@ -264,6 +264,6 @@ glue(glue(helper_st, SUFFIX), MMUSUFFIX)(CPUArchState *env,
target_ulong addr,
#undef SHIFT
#undef DATA_TYPE
#undef SUFFIX
-#undef USUFFIX
+#undef LSUFFIX
#undef DATA_SIZE
#undef ADDR_READ
--
1.8.1.4
- [Qemu-devel] [PULL 15/29] tcg: Use uintptr_t in TCGHelperInfo, (continued)
- [Qemu-devel] [PULL 15/29] tcg: Use uintptr_t in TCGHelperInfo, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 16/29] tcg: Change tcg_gen_exit_tb argument to uintptr_t, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 17/29] tcg: Change tcg_out_ld/st offset to intptr_t, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 18/29] tcg: Use appropriate types in tcg_reg_alloc_call, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 19/29] tcg: Fix jit debug for x32, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 20/29] tcg-i386: Use intptr_t appropriately, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 21/29] tcg-i386: Adjust tcg_out_tlb_load for x32, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 22/29] configure: Allow x32 as a host, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 23/29] exec: Reorganize the GETRA/GETPC macros, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 24/29] tcg-i386: Don't perform GETPC adjustment in TCG code, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 25/29] exec: Rename USUFFIX to LSUFFIX,
Richard Henderson <=
- [Qemu-devel] [PULL 26/29] target: Include softmmu_exec.h where forgotten, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 27/29] exec: Split softmmu_defs.h, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 28/29] tcg: Introduce zero and sign-extended versions of load helpers, Richard Henderson, 2013/09/02
- [Qemu-devel] [PULL 29/29] tcg-i386: Make use of zero-extended memory helper routines, Richard Henderson, 2013/09/02
- Re: [Qemu-devel] [PULL 00/29] Three tcg patch sets, Aurelien Jarno, 2013/09/03