Explorar o código

+ defines for llvm targets

git-svn-id: branches/hlcgllvm@26053 -
Jonas Maebe %!s(int64=11) %!d(string=hai) anos
pai
achega
fd9b32f87d
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      compiler/fpcdefs.inc

+ 11 - 0
compiler/fpcdefs.inc

@@ -257,3 +257,14 @@
 {$if not defined(FPC_HAS_TYPE_EXTENDED) and defined(i386)}
 {$error Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time }
 {$endif}
+
+{ llvm backends partially use other backends for parameter info calculation,
+  alignment info, data sizes etc. They always support 64 bit alu though.
+}
+{$ifdef llvm}
+  {$undef SUPPORT_MMX}
+  {$undef cpu16bitalu}
+  {$undef cpu32bitalu}
+  {$define cpu64bitalu}
+  {$define cpuhighleveltarget}
+{$endif}