]> granicus.if.org Git - clang/commitdiff
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 18 Feb 2011 08:44:38 +0000 (08:44 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 18 Feb 2011 08:44:38 +0000 (08:44 +0000)
TCE target has some too strict alignment rules (that the HW really does not require, but which caused problems elsewhere) for data types and an ABI change was decided.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125833 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 45b08e11fccc83c78316c9928ba72e9f7612deea..a8198e4ae79e288207cc8e73bcc96da7e8345793 100644 (file)
@@ -2361,8 +2361,8 @@ namespace {
       LongDoubleFormat = &llvm::APFloat::IEEEsingle;
       DescriptionString = "E-p:32:32:32-i1:8:8-i8:8:32-"
                           "i16:16:32-i32:32:32-i64:32:32-"
-                          "f32:32:32-f64:64:64-v64:64:64-"
-                          "v128:128:128-a0:0:64-n32";
+                          "f32:32:32-f64:32:32-v64:32:32-"
+                          "v128:32:32-a0:0:32-n32";
     }
 
     virtual void getTargetDefines(const LangOptions &Opts,