aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2010-05-13 15:19:51 -0700
committerShih-wei Liao <sliao@google.com>2010-05-13 15:19:51 -0700
commit1feebb5df60f176a6338d45bef7cdf8b55aa2298 (patch)
treefe851e7dc0c82d50af2c98ee7446512b6942b53b
parentf034392cf27727b6f43a5e6e9a35a4090c475660 (diff)
downloadexternal_llvm-1feebb5df60f176a6338d45bef7cdf8b55aa2298.zip
external_llvm-1feebb5df60f176a6338d45bef7cdf8b55aa2298.tar.gz
external_llvm-1feebb5df60f176a6338d45bef7cdf8b55aa2298.tar.bz2
Add "*2" to vstmia
Change-Id: I95e6eda70555757ca9378d508d0470b5ef0f64b2
-rw-r--r--lib/Target/ARM/ARMCodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp
index 960416e..76522c0 100644
--- a/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -1533,7 +1533,7 @@ ARMCodeEmitter::emitVFPLoadStoreMultipleInstruction(const MachineInstr &MI) {
break;
++NumRegs;
}
- Binary |= NumRegs;
+ Binary |= NumRegs * 2;
emitWordLE(Binary);
}