Przeglądaj źródła

+ defines for llvm targets

git-svn-id: branches/hlcgllvm@26053 -
Jonas Maebe 11 lat temu
rodzic
commit
fd9b32f87d
1 zmienionych plików z 11 dodań i 0 usunięć
  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}