]> granicus.if.org Git - gc/commitdiff
Remove unused ALIGN_DOUBLE macro (TILE-Gx/Pro)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 18 May 2017 21:44:29 +0000 (00:44 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 18 May 2017 21:44:29 +0000 (00:44 +0300)
(fix commits e35a4171240658)

* doc/porting.html (ALIGN_DOUBLE): Remove documentation for the macro.
* include/private/gcconfig.h [TILEPRO, TILEGX] (ALIGN_DOUBLE): Remove
macro (no longer needed).

doc/porting.html
include/private/gcconfig.h

index 8f74524547b8f611e42e95973e9c30d16497eb94..3d2890e71bca66937327218e3462f93c66220070 100644 (file)
@@ -196,12 +196,6 @@ word stores of 0 are used instead.
 <DD>
 <TT>HEAP_START</tt> may be defined as the initial address hint for mmap-based
 allocation.
-<DT><TT>ALIGN_DOUBLE</tt>
-<DD>
-Should be defined if the architecture requires double-word alignment
-of <TT>GC_malloc</tt>ed memory, e.g. 8-byte alignment with a
-32-bit ABI.  Most modern machines are likely to require this.
-This is no longer needed for GC7 and later.
 </dl>
 <H2>Additional requirements for a basic port</h2>
 In some cases, you may have to add additional platform-specific code
index 8c530557e27811963d77a39a04aa05c2f88243df..b011bb27f7883e2d83b6b2439aec7bf4528df403 100644 (file)
 #   define CPP_WORDSZ 32
 #   define MACH_TYPE "TILEPro"
 #   define ALIGNMENT 4
-#   define ALIGN_DOUBLE
 #   define PREFETCH(x) __insn_prefetch(x)
 #   define CACHE_LINE_SIZE 64
 #   ifdef LINUX
 #   define MACH_TYPE "TILE-Gx"
 #   define ALIGNMENT __SIZEOF_POINTER__
 #   if CPP_WORDSZ < 64
-#     define ALIGN_DOUBLE /* Guarantee 64-bit alignment for allocations. */
-      /* Take advantage of 64-bit stores. */
 #     define CLEAR_DOUBLE(x) (*(long long *)(x) = 0)
 #   endif
 #   define PREFETCH(x) __insn_prefetch_l1(x)