aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2011-03-31 21:31:50 +0000
committerCaroline Tice <ctice@apple.com>2011-03-31 21:31:50 +0000
commitd20c8d1a17176d2233ec44579824e57a225ecc7a (patch)
tree423380606f10ed9733783a4c1229ea63d9035466
parent70568c2be7f0701b6b74cf494a39169d73ff530b (diff)
downloadllvm-d20c8d1a17176d2233ec44579824e57a225ecc7a.zip
llvm-d20c8d1a17176d2233ec44579824e57a225ecc7a.tar.gz
llvm-d20c8d1a17176d2233ec44579824e57a225ecc7a.tar.bz2
Fix a few typos in the previous commit.
llvm-svn: 128671
-rw-r--r--lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp10
-rw-r--r--lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h4
2 files changed, 5 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
index a07504e..9db4871 100644
--- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
+++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
@@ -11216,8 +11216,8 @@ EmulateInstructionARM::EmulateVLD1Single (const uint32_t opcode, const ARMEncodi
uint32_t size = Bits32 (opcode, 11, 10);
uint32_t index_align = Bits32 (opcode, 7, 4);
// if size == ‘11’ then SEE VLD1 (single element to all lanes);
- // if (size == 3)
- // return EmulateVLD1SingleAll (opcode, encoding);
+ if (size == 3)
+ return EmulateVLD1SingleAll (opcode, encoding);
// case size of
if (size == 0) // when '00'
{
@@ -11675,10 +11675,10 @@ EmulateInstructionARM::EmulateVST1Single (const uint32_t opcode, ARMEncoding enc
return true;
}
-// A8.6.309 VST1 (single element to all lanes)
-//
+// A8.6.309 VLD1 (single element to all lanes)
+// This instruction loads one element from memory into every element of one or two vectors.
bool
-EmulateInstructionARM::EmulateVST1SingleAll (const uint32_t opcode, const ARMEncoding encoding)
+EmulateInstructionARM::EmulateVLD1SingleAll (const uint32_t opcode, const ARMEncoding encoding)
{
#if 0
if ConditionPassed() then
diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
index a0b0f65..501b6cd 100644
--- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
+++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
@@ -898,10 +898,6 @@ protected:
bool
EmulateVST1Single (const uint32_t opcode, const ARMEncoding encoding);
- // A8.6.393 VST1 (single element to all lanes
- bool
- EmulateVST1SingleAll (const uint32_t opcode, const ARMEncoding encoding);
-
// A8.6.317 VLDR
bool
EmulateVLDR (const uint32_t opcode, const ARMEncoding encoding);