diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-02-24 15:07:39 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-02-24 15:07:39 +0000 |
commit | 604c61384899bf29bcc1c00593dc0a61d5c2e611 (patch) | |
tree | 07371654f738041c33e716c846f1086d7203834b /acinclude.m4 | |
parent | cb55db0481666489ed9ff7796c475a4621761a30 (diff) | |
download | mpfr-604c61384899bf29bcc1c00593dc0a61d5c2e611.tar.gz |
[acinclude.m4] added recognition of "IEEE double big endian" long double format
(tested on gcc40.fsffrance.org and gcc53, both PowerPC's)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6713 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 5a9258638..06a129ee2 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -441,6 +441,40 @@ BEGIN { if (got[1] != "062") continue if (got[0] != "020") continue + # start sequence, with 8-byte body + if (got[23] == "001" && \ + got[22] == "043" && \ + got[21] == "105" && \ + got[20] == "147" && \ + got[19] == "211" && \ + got[18] == "253" && \ + got[17] == "315" && \ + got[16] == "357") + { + saw = " (" got[15] \ + " " got[14] \ + " " got[13] \ + " " got[12] \ + " " got[11] \ + " " got[10] \ + " " got[9] \ + " " got[8] ")" + + if (got[15] == "301" && \ + got[14] == "235" && \ + got[13] == "157" && \ + got[12] == "064" && \ + got[11] == "124" && \ + got[10] == "000" && \ + got[9] == "000" && \ + got[8] == "000") + { + print "IEEE double, big endian" + found = 1 + exit + } + } + # start sequence, with 12-byte body if (got[27] == "001" && \ got[26] == "043" && \ |