[llvm-commits] [llvm] r67629 - /llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp

Dale Johannesen dalej at apple.com
Tue Mar 24 10:35:45 PDT 2009


Author: johannes
Date: Tue Mar 24 12:35:45 2009
New Revision: 67629

URL: http://llvm.org/viewvc/llvm-project?rev=67629&view=rev
Log:
Change JIT for different layout of fp80.


Modified:
    llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp

Modified: llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp?rev=67629&r1=67628&r2=67629&view=diff

==============================================================================
--- llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp Tue Mar 24 12:35:45 2009
@@ -752,11 +752,11 @@
       uint16_t *Dest = (uint16_t*)Ptr;
       const uint16_t *Src = (uint16_t*)Val.IntVal.getRawData();
       // This is endian dependent, but it will only work on x86 anyway.
-      Dest[0] = Src[4];
-      Dest[1] = Src[0];
-      Dest[2] = Src[1];
-      Dest[3] = Src[2];
-      Dest[4] = Src[3];
+      Dest[0] = Src[0];
+      Dest[1] = Src[1];
+      Dest[2] = Src[2];
+      Dest[3] = Src[3];
+      Dest[4] = Src[4];
       break;
     }
   case Type::PointerTyID:





More information about the llvm-commits mailing list