diff options
author | Björn Gustavsson <[email protected]> | 2010-10-18 16:39:59 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-01-17 15:23:38 +0100 |
commit | e31af112f63b11622d6a3a49cb444d5613af2f1f (patch) | |
tree | 99972deacdd447774d5892bccc06389843885f48 /erts/configure.in | |
parent | ec325cc785916c6a4991fe2e03747a97b7e1ae75 (diff) | |
download | otp-e31af112f63b11622d6a3a49cb444d5613af2f1f.tar.gz otp-e31af112f63b11622d6a3a49cb444d5613af2f1f.tar.bz2 otp-e31af112f63b11622d6a3a49cb444d5613af2f1f.zip |
Pass the external word size to the beam_makeops script
Giving the beam_makeops script access to the external word
size (=the size of instruction words) will allow it to pack
more operands into a word for the 64 bits emulator.
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in index 6e983a07b0..627f734409 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -580,6 +580,11 @@ AC_SUBST(WFLAGS) AC_SUBST(CFLAG_RUNTIME_LIBRARY_PATH) AC_CHECK_SIZEOF(void *) # Needed for ARCH and smp checks below +if test "x$ac_cv_sizeof_void_p" = x8; then + AC_SUBST(EXTERNAL_WORD_SIZE, 64) +else + AC_SUBST(EXTERNAL_WORD_SIZE, 32) +fi dnl dnl Figure out operating system and cpu architecture |