Skip to content

Commit c0dc2a4

Browse files
committed
Further simplification
1 parent 7b50c7a commit c0dc2a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler-rt/lib/builtins/aarch64/sme-abi.S

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,14 @@ DEFINE_COMPILERRT_FUNCTION(__arm_sme_save)
286286
// Store ZT0
287287
str zt0, [x18]
288288
add x18, x18, #64
289-
b 1f
290289

291290
1:
292291
// Set up lazy-save (x18 = pointer to buffer)
293292
rdsvl x17, #1
294293
str x18, [x0, #16]!
295294
strh w17, [x0, #8]
296-
stur wzr, [x0, #10]
297-
strh wzr, [x0, #14]
295+
strh wzr, [x0, #10]
296+
str wzr, [x0, #12]
298297
msr TPIDR2_EL0, x0
299298

300299
2:

0 commit comments

Comments
 (0)