Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 19:06:03 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 37636 for review
Message-ID:  <200309060206.h86263dd085439@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=37636

Change 37636 by peter@peter_daintree on 2003/09/05 19:05:31

	undo magic 128 bit alignment support. its not needed after all.

Affected files ...

.. //depot/projects/ezm3/language/modula3/m3compiler/m3middle/src/Target.i3#3 edit
.. //depot/projects/ezm3/language/modula3/m3compiler/m3middle/src/Target.m3#7 edit

Differences ...

==== //depot/projects/ezm3/language/modula3/m3compiler/m3middle/src/Target.i3#3 (text+ko) ====

@@ -124,7 +124,7 @@
 
 
 VAR (*CONST*) (* sorted list of supported machine alignments *)
-  Alignments: ARRAY [0..4] OF CARDINAL;
+  Alignments: ARRAY [0..3] OF CARDINAL;
 
 (*------------------------------------------------------- procedure calls ---*)
 

==== //depot/projects/ezm3/language/modula3/m3compiler/m3middle/src/Target.m3#7 (text+ko) ====

@@ -132,7 +132,6 @@
     Alignments[1] := 16;
     Alignments[2] := 32;
     Alignments[3] := 64;
-    Alignments[4] := 128;
 
     CCs := NIL;
 
@@ -312,8 +311,6 @@
                  EOL                       := "\n";
 
     | Systems.FBSD_AMD64 =>
-                 Extended.align   := 128;
-
                  Int_C.cg_type    := CGType.Int_C;
                  Word_C.cg_type   := CGType.Word_C;
                  Word_C.max.x[1]  := FF;
@@ -334,7 +331,7 @@
                  Address          := Word_D;
                  Address.cg_type  := CGType.Addr;
 
-                 max_align                 := 128;
+                 max_align                 := 64;
                  Little_endian             := TRUE;
                  PCC_bitfield_type_matters := TRUE;
                  Structure_size_boundary   := 8;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309060206.h86263dd085439>