aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common/crt.S
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/common/crt.S')
-rw-r--r--benchmarks/common/crt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/common/crt.S b/benchmarks/common/crt.S
index f97c589..018f929 100644
--- a/benchmarks/common/crt.S
+++ b/benchmarks/common/crt.S
@@ -127,11 +127,11 @@ _start:
# give each core 128KB of stack + TLS
#define STKSHIFT 17
- sll a2, a0, STKSHIFT
- add tp, tp, a2
add sp, a0, 1
sll sp, sp, STKSHIFT
add sp, sp, tp
+ sll a2, a0, STKSHIFT
+ add tp, tp, a2
j _init