Admin/polyml/README
author wenzelm
Mon, 20 Dec 2010 23:26:17 +0100
changeset 41331 8cdadd543fc8
parent 41330 a4d9831c21d4
child 45147 c23029f6357f
permissions -rw-r--r--
tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38469
5c6c5d63f3c3 updated for prospective Poly/ML 5.4;
wenzelm
parents: 37122
diff changeset
     1
Poly/ML for Isabelle
5c6c5d63f3c3 updated for prospective Poly/ML 5.4;
wenzelm
parents: 37122
diff changeset
     2
====================
27012
e6229d8d6aaa moved README-polyml to polyml/README;
wenzelm
parents:
diff changeset
     3
41331
wenzelm
parents: 41330
diff changeset
     4
This compilation of Poly/ML 5.4 is based on the official sources from
wenzelm
parents: 41330
diff changeset
     5
http://www.polyml.org with the following patch from the SVN (which is
41330
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
     6
also part of the fixes-5.4 source tree):
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
     7
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
     8
------------------------------------------------------------------------
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
     9
r1214 | dcjm | 2010-09-14 20:03:52 +0200 (Tue, 14 Sep 2010) | 1 line
37122
3ac12f743fe5 misc updates for release;
wenzelm
parents: 33540
diff changeset
    10
41330
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    11
Fix to arbitrary precision emulation for X86.  A GC during emulating
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    12
an operation could cause the stack to move resulting in the result of
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    13
the operation not being stored into the result register.
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    14
------------------------------------------------------------------------
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    15
diff libpolyml/x86_dep.cpp libpolyml/x86_dep.cpp.orig
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    16
1308,1311c1308
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    17
<                     if (! inConsts) {
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    18
<                         destReg = get_reg(taskData, rrr); // May have moved because of a GC.
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    19
<                         *destReg = PolyWord::FromUnsigned(destReg->AsUnsigned()+1);
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    20
<                     }
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    21
---
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    22
>                     if (! inConsts) *destReg = PolyWord::FromUnsigned(destReg->AsUnsigned()+1);
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    23
1344,1347c1341
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    24
<                     if (! inConsts) {
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    25
<                         destReg = get_reg(taskData, rrr); // May have moved because of a GC.
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    26
<                         *destReg = PolyWord::FromUnsigned(destReg->AsUnsigned()-1);
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    27
<                     }
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    28
---
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    29
>                     if (! inConsts) *destReg = PolyWord::FromUnsigned(destReg->AsUnsigned()-1);
37122
3ac12f743fe5 misc updates for release;
wenzelm
parents: 33540
diff changeset
    30
41330
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    31
------------------------------------------------------------------------
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    32
41331
wenzelm
parents: 41330
diff changeset
    33
41330
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    34
The included build script is used like this:
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    35
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    36
  ./build src x86-linux --with-gmp
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    37
  ./build src x86_64-linux --with-gmp
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    38
  ./build src x86-darwin --without-gmp
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    39
  ./build src x86_64-darwin --without-gmp
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    40
  ./build src x86-cygwin --with-gmp
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    41
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    42
The multi-platform directory layout for executables and shared
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    43
libraries accommodates the standard ML_HOME settings for Isabelle.
27012
e6229d8d6aaa moved README-polyml to polyml/README;
wenzelm
parents:
diff changeset
    44
e6229d8d6aaa moved README-polyml to polyml/README;
wenzelm
parents:
diff changeset
    45
41331
wenzelm
parents: 41330
diff changeset
    46
Also note that the separate "sha1" library module is required for
wenzelm
parents: 41330
diff changeset
    47
efficient digesting of strings according to SHA-1.
wenzelm
parents: 41330
diff changeset
    48
wenzelm
parents: 41330
diff changeset
    49
27012
e6229d8d6aaa moved README-polyml to polyml/README;
wenzelm
parents:
diff changeset
    50
	Makarius
41330
a4d9831c21d4 updated for Poly/ML 5.4.0;
wenzelm
parents: 38469
diff changeset
    51
	20-Dec-2010