[Lldb-commits] [lldb] r128671 - in /lldb/trunk/source/Plugins/Instruction/ARM: EmulateInstructionARM.cpp EmulateInstructionARM.h

Caroline Tice ctice at apple.com
Thu Mar 31 14:31:50 PDT 2011


Author: ctice
Date: Thu Mar 31 16:31:50 2011
New Revision: 128671

URL: http://llvm.org/viewvc/llvm-project?rev=128671&view=rev
Log:

Fix a few typos in the previous commit.


Modified:
    lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
    lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.h

Modified: lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp?rev=128671&r1=128670&r2=128671&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp Thu Mar 31 16:31:50 2011
@@ -11216,8 +11216,8 @@
                 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 @@
     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

Modified: lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.h?rev=128671&r1=128670&r2=128671&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.h (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.h Thu Mar 31 16:31:50 2011
@@ -898,10 +898,6 @@
     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);





More information about the lldb-commits mailing list