- Timestamp:
-
03/31/11 22:26:28 (13 years ago)
- Author:
-
JoelSherrill
- Comment:
-
/* SIMD Support in RTEMS */
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v5
|
v6
|
|
10 | 10 | * The toolchain must offer a matching multilib variant (either for the CPU model selected by the BSP or for the explicit SIMD flag(s) - which would also have to be requested by the BSP's CPU_CFLAGS). |
11 | 11 | |
12 | | Note that it is a very bad idea to link code compiled with different SIMD settings (enabled vs. disabled) together. The same is true |
13 | | for hard- and soft-floating point code. While mixing such code might seem to 'just work' it actually may introduce subtle ABI |
14 | | incompatibilities that can lead to rare and mysterious run-time errors. |
| 12 | Note that it is a very bad idea to link code compiled with different SIMD settings (enabled vs. disabled) together. The same is true for hard- and soft-floating point code. While mixing such code might seem to 'just work' it actually may introduce subtle ABI incompatibilities that can lead to rare and mysterious run-time errors. |
15 | 13 | |
16 | | It should be noted that executing code that was built for a particular SIMD engine on hardware that doesn't actually have this engine will crash. |
17 | | If you e.g., build a pcx86 BSP with -march=pentium4 (which implies -msse and -msse2) then you cannot use this BSP on a machine that only has SSE |
18 | | (but not SSE2). |
| 14 | '''It should be noted that executing code that was built for a particular SIMD engine on hardware that doesn't actually have this engine will crash.If you e.g., build a pcx86 BSP with -march=pentium4 (which implies -msse and -msse2) then you cannot use this BSP on a machine that only has SSE (but not SSE2).''' |
19 | 15 | = AltiVec and PowerPC = |
20 | 16 | |