[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/pprzlink] f5d2f4: This solution should pr
From: |
Gautier Hattenberger |
Subject: |
[paparazzi-commits] [paparazzi/pprzlink] f5d2f4: This solution should provide a solution for unalig... |
Date: |
Tue, 31 Mar 2020 06:59:35 -0700 |
Branch: refs/heads/unaligned_access_for_all
Home: https://github.com/paparazzi/pprzlink
Commit: f5d2f4a29bed273ab5cc5e97c485c7a63ada862e
https://github.com/paparazzi/pprzlink/commit/f5d2f4a29bed273ab5cc5e97c485c7a63ada862e
Author: Gautier Hattenberger <address@hidden>
Date: 2020-03-31 (Tue, 31 Mar 2020)
Changed paths:
M tools/generator/C/include_v2.0/pprzlink_utils.h
Log Message:
-----------
This solution should provide a solution for unaligned access
It should work for all architectures and all compilers, for values and
arrays.
If unaligned access is supported, it has no overhead, otherwise proper
assembly code (with underlying memcpy) is generated.
The big endian swap is removed as it is not the proper way to do it
anyway. If we actually need to support big endianness, it should be done
properly and for all types bigger than a single byte.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/pprzlink] f5d2f4: This solution should provide a solution for unalig...,
Gautier Hattenberger <=