[rtems commit] bsps/amd64: increase CPU alignment to 16
Karel Gardas
karel at rtems.org
Sat Apr 29 18:22:56 UTC 2023
Module: rtems
Branch: master
Commit: 1590df5f9ac5f37330a72a04f9ef77672a294991
Changeset: http://git.rtems.org/rtems/commit/?id=1590df5f9ac5f37330a72a04f9ef77672a294991
Author: Karel Gardas <karel at functional.vision>
Date: Sun Apr 16 23:04:54 2023 +0200
bsps/amd64: increase CPU alignment to 16
AMD64 requires SSE support which operates on 128bit data values.
---
cpukit/score/cpu/x86_64/include/rtems/score/cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
index 2671c607a7..b26fb4c8ad 100644
--- a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
@@ -144,7 +144,7 @@ typedef struct {
#define CPU_PROVIDES_ISR_IS_IN_PROGRESS FALSE
#define CPU_STACK_MINIMUM_SIZE (1024*4)
#define CPU_SIZEOF_POINTER 8
-#define CPU_ALIGNMENT 8
+#define CPU_ALIGNMENT 16
#define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT
#define CPU_STACK_ALIGNMENT 16
#define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES
More information about the vc
mailing list