Re: [lttng-dev] [PATCH v2] Fix: alignment problems on targets not supporting unaligned access.

2014-05-28 Thread David Goulet
Merged! Thanks David On 16 May (09:10:07), rongqing...@windriver.com wrote: From: Fredrik Markström fredrik.markst...@gmail.com Accessing floats, doubles and 64 bit int at unaligned addresses is not supported on all configurations of arm processors and if it is it's emulated and slow. This

[lttng-dev] [PATCH v2] Fix: alignment problems on targets not supporting unaligned access.

2014-05-15 Thread rongqing.li
From: Fredrik Markström fredrik.markst...@gmail.com Accessing floats, doubles and 64 bit int at unaligned addresses is not supported on all configurations of arm processors and if it is it's emulated and slow. This patch replaces direct assignments with memcpy. Signed-off-by: Fredrik Markström