]>
Commit | Line | Data |
---|---|---|
68196d70 | 1 | .code |
e3ca10d7 JL |
2 | .align 4 |
3 | ; PA 2.0 format shift right instruction tests. | |
4 | ; | |
5 | ; We could/should test some of the corner cases for register and | |
6 | ; immediate fields. We should also check the assorted field | |
7 | ; selectors to make sure they're handled correctly. | |
8 | shrpw %r4,%r5,%sar,%r6 | |
9 | shrpw,= %r4,%r5,%sar,%r6 | |
10 | shrpw,< %r4,%r5,%sar,%r6 | |
11 | shrpw,od %r4,%r5,%sar,%r6 | |
12 | shrpw,tr %r4,%r5,%cr11,%r6 | |
13 | shrpw,<> %r4,%r5,%cr11,%r6 | |
14 | shrpw,>= %r4,%r5,%cr11,%r6 | |
15 | shrpw,ev %r4,%r5,%cr11,%r6 | |
16 | ||
17 | shrpw %r4,%r5,5,%r6 | |
18 | shrpw,= %r4,%r5,5,%r6 | |
19 | shrpw,< %r4,%r5,5,%r6 | |
20 | shrpw,od %r4,%r5,5,%r6 | |
21 | shrpw,tr %r4,%r5,5,%r6 | |
22 | shrpw,<> %r4,%r5,5,%r6 | |
23 | shrpw,>= %r4,%r5,5,%r6 | |
24 | shrpw,ev %r4,%r5,5,%r6 |