Commit | Line | Data |
---|---|---|
28617675 SN |
1 | /* ARMv8.3 weaker release consistency load instructions. */ |
2 | ||
3 | /* <mnemonic> <Wt>, [<Xn|SP>{,#0}] */ | |
4 | .macro LR32 op | |
5 | \op w1, [x7] | |
6 | \op w1, [x7, #0] | |
7 | \op w1, [x7, 0] | |
8 | .endm | |
9 | ||
10 | /* <mnemonic> <Xt>, [<Xn|SP>{,#0}] */ | |
11 | .macro LR64 op | |
12 | \op x1, [x7] | |
13 | \op x1, [x7, #0] | |
14 | \op x1, [x7, 0] | |
15 | .endm | |
16 | ||
17 | func: | |
18 | .irp op, ldaprb, ldaprh, ldapr | |
19 | LR32 \op | |
20 | .endr | |
21 | ||
22 | LR64 ldapr |