diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2013-04-02 00:28:31 +0200 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2013-04-02 00:28:31 +0200 |
commit | 514cf2ffab104404ab1994be1fa02f05293a05c3 (patch) | |
tree | aa9aab35fee4f318d5aa6c3daed2de5c4b4e97bd /mpn/sparc32 | |
parent | 12bba14cc4197470c03c5dcbd6004db68c4750a8 (diff) | |
download | gmp-514cf2ffab104404ab1994be1fa02f05293a05c3.tar.gz |
Move FAKE_T3 stuff to generic file.
Diffstat (limited to 'mpn/sparc32')
-rw-r--r-- | mpn/sparc32/sparc-defs.m4 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mpn/sparc32/sparc-defs.m4 b/mpn/sparc32/sparc-defs.m4 index 36d73018b..c8fa0f8f9 100644 --- a/mpn/sparc32/sparc-defs.m4 +++ b/mpn/sparc32/sparc-defs.m4 @@ -3,7 +3,7 @@ divert(-1) dnl m4 macros for SPARC assembler (32 and 64 bit). -dnl Copyright 2002, 2011 Free Software Foundation, Inc. +dnl Copyright 2002, 2011, 2013 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -36,4 +36,13 @@ m4_assert_defined(`HAVE_REGISTER') `.register `$1',`$2'')') +C Testing mechanism for running newer code on older processors +ifdef(`FAKE_T3',` + include_mpn(`sparc64/ultrasparct3/missing.m4') +',` + define(`addxccc', ``addxccc' $1, $2, $3') + define(`addxc', ``addxc' $1, $2, $3') + define(`umulxhi', ``umulxhi' $1, $2, $3') +') + divert |