Commit | Line | Data |
---|---|---|
c67a084a NC |
1 | # Test the work around of the Jump instruction Issue of Loongson2F |
2 | .text | |
3 | .set noreorder | |
4 | ||
5 | j $30 # j with register | |
6 | nop | |
7 | ||
8 | jr $31 # jr | |
9 | nop | |
10 | ||
11 | jalr $30 # jalr | |
12 | nop | |
13 | ||
14 | .set noat | |
15 | jr $1 # jr with at register and .set annotation | |
16 | nop | |
17 | .set at | |
18 | ||
19 | j external_label # j with label | |
20 | nop | |
21 | ||
22 | # align section end to 16-byte boundary for easier testing on multiple targets | |
23 | .p2align 4 |