diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-03-30 12:04:08 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-03-30 12:04:08 -0400 |
commit | 63b6bab5c3c42462d31f0fc65ae58444bbb59805 (patch) | |
tree | a350b9cf536755f2c6f7a7d0d04f5e8e49b9ff4f | |
parent | eb4eeb6f7313cbae93f7f996de283e9c28cb16ff (diff) | |
download | kutter-63b6bab5c3c42462d31f0fc65ae58444bbb59805.tar.gz kutter-63b6bab5c3c42462d31f0fc65ae58444bbb59805.tar.xz kutter-63b6bab5c3c42462d31f0fc65ae58444bbb59805.zip |
sam3x8e: Align the TC0_Handler timer irq handler
The code alignment of the TC0_Handler function seems to noticeably
impact performance benchmarks. Set the function alignment to 16 bytes
to improve testing consistency. An alignment of 16 doesn't
necessarily improve performance, but it seems to improve testing
consistency on code changes unrelated to timer dispatch.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/sam3x8e/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam3x8e/timer.c b/src/sam3x8e/timer.c index 8548400a..498e22cb 100644 --- a/src/sam3x8e/timer.c +++ b/src/sam3x8e/timer.c @@ -54,7 +54,7 @@ timer_shutdown(void) DECL_SHUTDOWN(timer_shutdown); // IRQ handler -void __visible +void __visible __aligned(16) // aligning helps stabilize perf benchmarks TC0_Handler(void) { irq_disable(); |