Bytes and shorts are aligned differently from words.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 9 Dec 2004 18:51:02 +0000 (18:51 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 9 Dec 2004 18:51:02 +0000 (18:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18713 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcTargetMachine.cpp
lib/Target/SparcV8/SparcV8TargetMachine.cpp

index 604f683499f760d98002f2f36a164f9ed642650f..324fc5b1c95f1cda281d98302a0f4ea0890f462e 100644 (file)
@@ -31,7 +31,7 @@ namespace {
 ///
 SparcV8TargetMachine::SparcV8TargetMachine(const Module &M,
                                            IntrinsicLowering *IL)
-  : TargetMachine("SparcV8", IL, false, 4, 4, 8, 4, 8, 4, 4, 4, 4),
+  : TargetMachine("SparcV8", IL, false, 4, 4, 8, 4, 8, 4, 2, 1, 4),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0), JITInfo(*this) {
 }
 
index 604f683499f760d98002f2f36a164f9ed642650f..324fc5b1c95f1cda281d98302a0f4ea0890f462e 100644 (file)
@@ -31,7 +31,7 @@ namespace {
 ///
 SparcV8TargetMachine::SparcV8TargetMachine(const Module &M,
                                            IntrinsicLowering *IL)
-  : TargetMachine("SparcV8", IL, false, 4, 4, 8, 4, 8, 4, 4, 4, 4),
+  : TargetMachine("SparcV8", IL, false, 4, 4, 8, 4, 8, 4, 2, 1, 4),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0), JITInfo(*this) {
 }