diff options
author | Björn Gustavsson <[email protected]> | 2011-09-13 10:03:45 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-09-13 10:03:45 +0200 |
commit | e63392eac334e253824b430bc4edbbbd94b65be8 (patch) | |
tree | 607d77ae610e9737507cd3a3a99a4f2e2a0b7544 /erts/emulator/beam/erl_process.h | |
parent | 51e05033c1c563966f22a7200574554e62257f5d (diff) | |
parent | 9dda912e8d10ca98ced3fc79cf89f2e95a8a2382 (diff) | |
download | otp-e63392eac334e253824b430bc4edbbbd94b65be8.tar.gz otp-e63392eac334e253824b430bc4edbbbd94b65be8.tar.bz2 otp-e63392eac334e253824b430bc4edbbbd94b65be8.zip |
Merge branch 'bjorn/erts/unify-register-allocation' into major
* bjorn/erts/unify-register-allocation:
BEAM: Unify allocation of X and float registers
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index 739aef3130..627f10b142 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -387,19 +387,15 @@ do { \ } while (0) struct ErtsSchedulerData_ { - -#ifdef ERTS_SMP /* * Keep X registers first (so we get as many low * numbered registers as possible in the same cache * line). */ -#if !HALFWORD_HEAP - Eterm save_reg[ERTS_X_REGS_ALLOCATED]; /* X registers */ -#else - Eterm *save_reg; -#endif - FloatDef freg[MAX_REG]; /* Floating point registers. */ + Eterm* x_reg_array; /* X registers */ + FloatDef* f_reg_array; /* Floating point registers. */ + +#ifdef ERTS_SMP ethr_tid tid; /* Thread id */ struct erl_bits_state erl_bits_state; /* erl_bits.c state */ void *match_pseudo_process; /* erl_db_util.c:db_prog_match() */ |