diff options
author | Zoltan Varga <vargaz@gmail.com> | 2009-11-10 04:00:32 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2009-11-10 04:00:32 +0300 |
commit | eb92a1217dac9080f2245a37324ca650de3be2a5 (patch) | |
tree | 2440e80cb8b1fa4707a413d17c92492a5c61e522 | |
parent | 9f97213017e82ca477addd94c99c2ce7e0ca0261 (diff) |
2009-11-10 Zoltan Varga <vargaz@gmail.com>
* arm/arm-codegen.h: Fix the names of the LDMIA/STMIA macros, they don't actually
update the base register.
svn path=/branches/mono-2-6/mono/; revision=145788
-rw-r--r-- | mono/arch/arm/arm-codegen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mono/arch/arm/arm-codegen.h b/mono/arch/arm/arm-codegen.h index 1503318ba19..e7dc99f9316 100644 --- a/mono/arch/arm/arm-codegen.h +++ b/mono/arch/arm/arm-codegen.h @@ -449,8 +449,8 @@ typedef struct { ARM_DEF_COND(cond) -#define ARM_LDMIA(p, base, regs) ARM_EMIT(p, ARM_DEF_MRT(regs, base, 1, 0, 0, 1, 0, ARMCOND_AL)) -#define ARM_STMIA(p, base, regs) ARM_EMIT(p, ARM_DEF_MRT(regs, base, 0, 0, 0, 1, 0, ARMCOND_AL)) +#define ARM_LDM(p, base, regs) ARM_EMIT(p, ARM_DEF_MRT(regs, base, 1, 0, 0, 1, 0, ARMCOND_AL)) +#define ARM_STM(p, base, regs) ARM_EMIT(p, ARM_DEF_MRT(regs, base, 0, 0, 0, 1, 0, ARMCOND_AL)) /* stmdb sp!, {regs} */ #define ARM_PUSH(p, regs) ARM_EMIT(p, ARM_DEF_MRT(regs, ARMREG_SP, 0, 1, 0, 0, 1, ARMCOND_AL)) |